Skip to content

Commit 03cbf1f

Browse files
author
Brice Figureau
committed
Fix masterzen#21 - compilation failure with nginx 1.1.15
Nginx 1.1.15 removed the NGX_PARSE_LARGE_TIME error code. The code checking this error is not used anymore, so let's remove it. Signed-off-by: Brice Figureau <[email protected]>
1 parent 436ec80 commit 03cbf1f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ngx_http_uploadprogress_module.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,12 +1442,6 @@ ngx_http_track_uploads(ngx_conf_t * cf, ngx_command_t * cmd, void *conf)
14421442
return NGX_CONF_ERROR;
14431443
}
14441444

1445-
if (lzcf->timeout == NGX_PARSE_LARGE_TIME) {
1446-
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
1447-
"track_uploads \"%V\" timeout value must be less than 68 years", &value[1]);
1448-
return NGX_CONF_ERROR;
1449-
}
1450-
14511445
clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module);
14521446
lzcf->handler = clcf->handler;
14531447
if ( lzcf->handler == NULL )

0 commit comments

Comments
 (0)