ports/www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c
Sergey A. Osokin 62388474da Update from 1.1.14 to 1.1.15.
<ChangeLog>

*) Feature: the "disable_symlinks" directive.

*) Feature: the "proxy_cookie_domain" and "proxy_cookie_path"
   directives.

*) Bugfix: nginx might log incorrect error "upstream prematurely closed
   connection" instead of correct "upstream sent too big header" one.
   Thanks to Feibo Li.

*) Bugfix: nginx could not be built with the ngx_http_perl_module if the
   --with-openssl option was used.

*) Bugfix: internal redirects to named locations were not limited.

*) Bugfix: calling $r->flush() multiple times might cause errors in the
   ngx_http_gzip_filter_module.

*) Bugfix: temporary files might be not removed if the "proxy_store"
   directive were used with SSI includes.

*) Bugfix: in some cases non-cacheable variables (such as the $args
   variable) returned old empty cached value.

*) Bugfix: a segmentation fault might occur in a worker process if too
   many SSI subrequests were issued simultaneously; the bug had appeared
   in 0.7.25.

</ChangeLog>
2012-02-15 16:07:45 +00:00

23 lines
983 B
C

--- ../masterzen-nginx-upload-progress-module-c7c663f/ngx_http_uploadprogress_module.c.orig 2012-02-15 19:50:03.000000000 +0400
+++ ../masterzen-nginx-upload-progress-module-c7c663f/ngx_http_uploadprogress_module.c 2012-02-15 19:53:58.000000000 +0400
@@ -1446,18 +1446,12 @@
lzcf->timeout = ngx_parse_time(&value[2], 1);
- if (lzcf->timeout == NGX_ERROR) {
+ if (lzcf->timeout == (time_t) NGX_ERROR) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"track_uploads \"%V\" timeout value invalid", &value[1]);
return NGX_CONF_ERROR;
}
- if (lzcf->timeout == NGX_PARSE_LARGE_TIME) {
- ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "track_uploads \"%V\" timeout value must be less than 68 years", &value[1]);
- return NGX_CONF_ERROR;
- }
-
clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module);
lzcf->handler = clcf->handler;
if ( lzcf->handler == NULL )