Permalink
Browse files

Fix #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 <brice-puppet@daysofwonder.com>
  • Loading branch information...
masterzen committed Feb 15, 2012
1 parent 436ec80 commit 03cbf1faf3e7aec147f807bb771b8f3405bd761e
Showing with 0 additions and 6 deletions.
  1. +0 −6 ngx_http_uploadprogress_module.c
@@ -1442,12 +1442,6 @@ ngx_http_track_uploads(ngx_conf_t * cf, ngx_command_t * cmd, void *conf)
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 )

0 comments on commit 03cbf1f

Please sign in to comment.