aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_request.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2023-01-10 17:42:40 +0400
committerRoman Arutyunyan <arut@nginx.com>2023-01-10 17:42:40 +0400
commitd929470685239762330d61a4be0200edc2ad315f (patch)
treeb7d970f22c35c0928f582fba1e7d3390b00647f3 /src/http/v3/ngx_http_v3_request.c
parent77fc6b7fb97f41b900d36a3180cd06c60ae48e52 (diff)
downloadnginx-d929470685239762330d61a4be0200edc2ad315f.tar.gz
nginx-d929470685239762330d61a4be0200edc2ad315f.zip
QUIC: set stream error flag on reset.
Now, when RESET_STREAM is sent or received, or when streams are closed, stream connection error flag is set. Previously, only stream state was changed, which resulted in setting the error flag only after calling recv()/send()/send_chain(). However, there are cases when none of these functions is called, but it's still important to know if the stream is being closed. For example, when an HTTP/3 request stream is blocked on insert count, receiving RESET_STREAM should trigger stream closure, which was not the case. The change also fixes ngx_http_upstream_check_broken_connection() and ngx_http_test_reading() with QUIC streams.
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
0 files changed, 0 insertions, 0 deletions