comparison src/http/ngx_http_special_response.c @ 5109:44bd04fbbb4f

Fixed logging in ngx_http_wait_request_handler(). If c->recv() returns 0 there is no sense in using ngx_socket_errno for logging, its value meaningless. (The code in question was copied from ngx_http_keepalive_handler(), but ngx_socket_errno makes sense there as it's used as a part of ECONNRESET handling, and the c->recv() call is preceeded by the ngx_set_socket_errno(0) call.)
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 12 Mar 2013 13:38:04 +0000
parents 7bd1c839af3b
children 6b479db5b52b
comparison
equal deleted inserted replaced
5108:dcff052728ea 5109:44bd04fbbb4f