Mercurial > hg > nginx
diff src/http/v2/ngx_http_v2.c @ 9255:208a4adb82ef
Request body: logging of timeouts.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 27 Apr 2024 18:19:27 +0300 |
parents | cb1e214efe41 |
children | c9550e77186c |
line wrap: on
line diff
--- a/src/http/v2/ngx_http_v2.c Sat Apr 27 18:19:07 2024 +0300 +++ b/src/http/v2/ngx_http_v2.c Sat Apr 27 18:19:27 2024 +0300 @@ -4285,6 +4285,9 @@ if (fc->read->timedout) { if (stream->recv_window) { + ngx_log_error(NGX_LOG_INFO, fc->log, NGX_ETIMEDOUT, + "client timed out"); + stream->skip_data = 1; fc->timedout = 1;