Mercurial > hg > nginx-quic
comparison src/core/ngx_regex.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 | 6e1a48bcf915 |
children | e7f6991eca47 |
comparison
equal
deleted
inserted
replaced
5108:dcff052728ea | 5109:44bd04fbbb4f |
---|