diff src/http/ngx_http_upstream_round_robin.h @ 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 382c523d253a
children 88a302caca75
line wrap: on
line diff