Mercurial > hg > nginx-quic
diff src/os/unix/ngx_atomic.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 | 4c36e15651f7 |
children | 2cd019520210 |