commit | f52042498d17ab595ea5f372e53eb5f8690bb795 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Fri Jun 14 20:56:07 2013 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Fri Jun 14 20:56:07 2013 +0400 |
tree | adf1dffd39a2355eba78b4f4fb6e6038f4847160 | |
parent | 1936a67647c71291fad0fdc022ac891f4c29e03c [diff] |
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.