Mercurial > hg > nginx
diff src/http/ngx_http_upstream.c @ 9255:208a4adb82ef
Request body: logging of timeouts.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 27 Apr 2024 18:19:27 +0300 |
parents | 41db21d1ca7c |
children | 5e7588d2d9cc |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Sat Apr 27 18:19:07 2024 +0300 +++ b/src/http/ngx_http_upstream.c Sat Apr 27 18:19:27 2024 +0300 @@ -2361,6 +2361,7 @@ if (c->read->timedout) { c->timedout = 1; + ngx_connection_error(c, NGX_ETIMEDOUT, "client timed out"); ngx_http_upstream_finalize_request(r, u, NGX_HTTP_REQUEST_TIME_OUT); return; }