comparison src/core/nginx.c @ 537:c9ad0d9c7d59 release-0.1.43

nginx-0.1.43-RELEASE import *) Feature: the listen(2) backlog in the "listen" directive can be changed using the -HUP signal. *) Feature: the geo2nginx.pl script was added to contrib. *) Change: the FastCGI parameters with the empty values now are passed to a server. *) Bugfix: the segmentation fault occurred or the worker process may got caught in an endless loop if the proxied or FastCGI server sent the "Cache-Control" header line and the "expires" directive was used; in the proxied mode the the bug had appeared in 0.1.29.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 30 Aug 2005 10:55:07 +0000
parents 2019117e6b38
children 371c1cee100d
comparison
equal deleted inserted replaced
536:2ae4b98c5bcb 537:c9ad0d9c7d59
286 for (p = inherited, v = p; *p; p++) { 286 for (p = inherited, v = p; *p; p++) {
287 if (*p == ':' || *p == ';') { 287 if (*p == ':' || *p == ';') {
288 s = ngx_atoi(v, p - v); 288 s = ngx_atoi(v, p - v);
289 if (s == NGX_ERROR) { 289 if (s == NGX_ERROR) {
290 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, 290 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0,
291 "invalid socket number \"%s\" in " 291 "invalid socket number \"%s\" in " NGINX_VAR
292 NGINX_VAR " environment variable, " 292 " environment variable, ignoring the rest"
293 "ignoring the rest of the variable", v); 293 " of the variable", v);
294 break; 294 break;
295 } 295 }
296 296
297 v = p + 1; 297 v = p + 1;
298 298