]> git.kaiwu.me - nginx.git/commit
Stream: fixed logging UDP upstream timeout.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 12 Sep 2017 10:44:04 +0000 (13:44 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 12 Sep 2017 10:44:04 +0000 (13:44 +0300)
commitc36a3c0cba7082f4b4933e90eef986e49e3eea98
tree869a7a798131713e0327e37ad2f38b6d84c23486
parentb900cc28fcbb4cf5a32ab62f80b59292e1c85b4b
Stream: fixed logging UDP upstream timeout.

Previously, when the first UDP response packet was not received from the
proxied server within proxy_timeout, no error message was logged before
switching to the next upstream.  Additionally, when one of succeeding response
packets was not received within the timeout, the timeout error had low severity
because it was logged as a client connection error as opposed to upstream
connection error.
src/stream/ngx_stream_proxy_module.c