Browse Source

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>
tags/v0.8.4
Brice Figureau 14 years ago
parent
commit
03cbf1faf3
1 changed files with 0 additions and 6 deletions
  1. 0
    6
      ngx_http_uploadprogress_module.c

+ 0
- 6
ngx_http_uploadprogress_module.c View File

@@ -1442,12 +1442,6 @@ ngx_http_track_uploads(ngx_conf_t * cf, ngx_command_t * cmd, void *conf)
1442 1442
         return NGX_CONF_ERROR;
1443 1443
     }
1444 1444
 
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
-
1451 1445
     clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module);
1452 1446
     lzcf->handler = clcf->handler;
1453 1447
     if ( lzcf->handler == NULL )

Loading…
Cancel
Save