Use unsigned int for secdownload.timeout (fixes #1966)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2548 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
parent
28e198d5a5
commit
90151cdc2e
3
NEWS
3
NEWS
|
@ -5,7 +5,8 @@ NEWS
|
|||
|
||||
- 1.4.24 -
|
||||
* Add T_CONFIG_INT for bigger integers from the config (needed for #1966)
|
||||
* Use unsigned int (and T_CONFIG_INT) for max_request_size.
|
||||
* Use unsigned int (and T_CONFIG_INT) for max_request_size
|
||||
* Use unsigned int for secdownload.timeout (fixes #1966)
|
||||
|
||||
- 1.4.23 - 2009-06-19
|
||||
* Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)
|
||||
|
|
|
@ -37,7 +37,7 @@ typedef struct {
|
|||
buffer *secret;
|
||||
buffer *uri_prefix;
|
||||
|
||||
unsigned short timeout;
|
||||
unsigned int timeout;
|
||||
} plugin_config;
|
||||
|
||||
typedef struct {
|
||||
|
@ -99,7 +99,7 @@ SETDEFAULTS_FUNC(mod_secdownload_set_defaults) {
|
|||
{ "secdownload.secret", NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION }, /* 0 */
|
||||
{ "secdownload.document-root", NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION }, /* 1 */
|
||||
{ "secdownload.uri-prefix", NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION }, /* 2 */
|
||||
{ "secdownload.timeout", NULL, T_CONFIG_SHORT, T_CONFIG_SCOPE_CONNECTION }, /* 3 */
|
||||
{ "secdownload.timeout", NULL, T_CONFIG_INT, T_CONFIG_SCOPE_CONNECTION }, /* 3 */
|
||||
{ NULL, NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue