Mercurial > hg > nginx
diff 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 |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c Wed Nov 21 01:06:53 2012 +0000 +++ b/src/http/ngx_http_core_module.c Wed Nov 21 01:08:11 2012 +0000 @@ -848,7 +848,8 @@ break; } - r->lingering_close = (r->headers_in.content_length_n > 0); + r->lingering_close = (r->headers_in.content_length_n > 0 + || r->headers_in.chunked); r->phase_handler = 0; } else {