comparison src/http/ngx_http_core_module.c @ 692:6db6e93f55ee NGINX_1_3_9

nginx 1.3.9 *) Feature: support for chunked transfer encoding while reading client request body. *) Feature: the $request_time and $msec variables can now be used not only in the "log_format" directive. *) Bugfix: cache manager and cache loader processes might not be able to start if more than 512 listen sockets were used. *) Bugfix: in the ngx_http_dav_module.
author Igor Sysoev <http://sysoev.ru>
date Tue, 27 Nov 2012 00:00:00 +0400
parents 2e8a942c8872
children 88a1b4797f2e
comparison
equal deleted inserted replaced
691:acfd484db0ca 692:6db6e93f55ee
846 case NGX_HTTP_CONNECTION_KEEP_ALIVE: 846 case NGX_HTTP_CONNECTION_KEEP_ALIVE:
847 r->keepalive = 1; 847 r->keepalive = 1;
848 break; 848 break;
849 } 849 }
850 850
851 r->lingering_close = (r->headers_in.content_length_n > 0); 851 r->lingering_close = (r->headers_in.content_length_n > 0
852 || r->headers_in.chunked);
852 r->phase_handler = 0; 853 r->phase_handler = 0;
853 854
854 } else { 855 } else {
855 cmcf = ngx_http_get_module_main_conf(r, ngx_http_core_module); 856 cmcf = ngx_http_get_module_main_conf(r, ngx_http_core_module);
856 r->phase_handler = cmcf->phase_engine.server_rewrite_index; 857 r->phase_handler = cmcf->phase_engine.server_rewrite_index;