comparison src/core/ngx_conf_file.c @ 662:e5fa0a4a7d27 NGINX_1_1_15

nginx 1.1.15 *) 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.
author Igor Sysoev <http://sysoev.ru>
date Wed, 15 Feb 2012 00:00:00 +0400
parents d0f7a625f27c
children f41d4b305d22
comparison
equal deleted inserted replaced
661:b49c1751031c 662:e5fa0a4a7d27
1293 *msp = ngx_parse_time(&value[1], 0); 1293 *msp = ngx_parse_time(&value[1], 0);
1294 if (*msp == (ngx_msec_t) NGX_ERROR) { 1294 if (*msp == (ngx_msec_t) NGX_ERROR) {
1295 return "invalid value"; 1295 return "invalid value";
1296 } 1296 }
1297 1297
1298 if (*msp == (ngx_msec_t) NGX_PARSE_LARGE_TIME) {
1299 return "value must be less than 597 hours";
1300 }
1301
1302 if (cmd->post) { 1298 if (cmd->post) {
1303 post = cmd->post; 1299 post = cmd->post;
1304 return post->post_handler(cf, post, msp); 1300 return post->post_handler(cf, post, msp);
1305 } 1301 }
1306 1302
1324 } 1320 }
1325 1321
1326 value = cf->args->elts; 1322 value = cf->args->elts;
1327 1323
1328 *sp = ngx_parse_time(&value[1], 1); 1324 *sp = ngx_parse_time(&value[1], 1);
1329 if (*sp == NGX_ERROR) { 1325 if (*sp == (time_t) NGX_ERROR) {
1330 return "invalid value"; 1326 return "invalid value";
1331 }
1332
1333 if (*sp == NGX_PARSE_LARGE_TIME) {
1334 return "value must be less than 68 years";
1335 } 1327 }
1336 1328
1337 if (cmd->post) { 1329 if (cmd->post) {
1338 post = cmd->post; 1330 post = cmd->post;
1339 return post->post_handler(cf, post, sp); 1331 return post->post_handler(cf, post, sp);