aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-10-18 15:22:33 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-10-18 15:22:33 +0300
commit6118ec73cfef53897d00cc81810ee661321f0057 (patch)
tree876ce7e6d0584327a043ba6a1910a345cc5759eb /src/http/ngx_http_request.c
parent1562200066d73a037ecfa4e15548cbcc239b354f (diff)
downloadnginx-6118ec73cfef53897d00cc81810ee661321f0057.tar.gz
nginx-6118ec73cfef53897d00cc81810ee661321f0057.zip
HTTP/3: adjusted QUIC connection finalization.
When an HTTP/3 function returns an error in context of a QUIC stream, it's this function's responsibility now to finalize the entire QUIC connection with the right code, if required. Previously, QUIC connection finalization could be done both outside and inside such functions. The new rule follows a similar rule for logging, leads to cleaner code, and allows to provide more details about the error. While here, a few error cases are no longer treated as fatal and QUIC connection is no longer finalized in these cases. A few other cases now lead to stream reset instead of connection finalization.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions