Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 4930:6f085bfcdb4d
Request body: chunked transfer encoding support.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 21 Nov 2012 01:08:11 +0000 |
parents | f57154322e0e |
children | 4251e72b8bb4 |
comparison
equal
deleted
inserted
replaced
4929:5a44d638cd27 | 4930:6f085bfcdb4d |
---|---|
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; |