Mercurial > hg > nginx
diff src/http/ngx_http_request.c @ 5289:aadfadd5af2b
Fixed ngx_http_test_reading() to finalize request properly.
Previous code called ngx_http_finalize_request() with rc = 0. This is
ok if a response status was already set, but resulted in "000" being
logged if it wasn't. In particular this happened with limit_req
if a connection was prematurely closed during limit_req delay.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 14 Jun 2013 20:56:07 +0400 |
parents | ea2ba6dbe361 |
children | 62be77b0608f |
line wrap: on
line diff