Mercurial > hg > nginx-quic
changeset 1423:75e908236701
cancel keep-alive and lingering close on EOF
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 27 Aug 2007 15:40:19 +0000 |
parents | 65dd057f71c7 |
children | 937fbbf611cd |
files | src/http/ngx_http_request.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -1712,6 +1712,11 @@ ngx_http_finalize_request(ngx_http_reque return; } + if (r->connection->read->eof) { + ngx_http_close_request(r, 0); + return; + } + clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); if (!ngx_terminate