comparison src/core/nginx.c @ 242:ff906029dd40 NGINX_0_4_6

nginx 0.4.6 *) Bugfix: nginx did not run on 64-bit platforms except amd64, sparc64, and ppc64. *) Bugfix: nginx sent the chunked response for HTTP/1.1 request, if its length was set by text string in the $r->headers_out("Content-Length", ...) method. *) Bugfix: after redirecting error by an "error_page" directive any ngx_http_rewrite_module directive returned this error code; bug appeared in 0.4.4.
author Igor Sysoev <http://sysoev.ru>
date Fri, 06 Oct 2006 00:00:00 +0400
parents 3689cd4e3228
children fbf2b2f66c9f
comparison
equal deleted inserted replaced
241:c3cf292cce38 242:ff906029dd40
350 350
351 ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, 351 ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0,
352 "using inherited sockets from \"%s\"", inherited); 352 "using inherited sockets from \"%s\"", inherited);
353 353
354 if (ngx_array_init(&cycle->listening, cycle->pool, 10, 354 if (ngx_array_init(&cycle->listening, cycle->pool, 10,
355 sizeof(ngx_listening_t)) == NGX_ERROR) 355 sizeof(ngx_listening_t))
356 == NGX_ERROR)
356 { 357 {
357 return NGX_ERROR; 358 return NGX_ERROR;
358 } 359 }
359 360
360 for (p = inherited, v = p; *p; p++) { 361 for (p = inherited, v = p; *p; p++) {