aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_request.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2023-02-23 16:16:56 +0400
committerSergey Kandaurov <pluknet@nginx.com>2023-02-23 16:16:56 +0400
commit5149620d6d41571306257f001fa5fd412168a866 (patch)
treee68db91d8d9665b6657d71d2320c7da5d594ef28 /src/http/v3/ngx_http_v3_request.c
parent1ccba18f00551c75df0365127ad4e146406fafec (diff)
downloadnginx-5149620d6d41571306257f001fa5fd412168a866.tar.gz
nginx-5149620d6d41571306257f001fa5fd412168a866.zip
QUIC: moved "handshake failed" reason to send_alert.
A QUIC handshake failure breaks down into several cases: - a handshake error which leads to a send_alert call - an error triggered by the add_handshake_data callback - internal errors (allocation etc) Previously, in the first case, only error code was set in the send_alert callback. Now the "handshake failed" reason phrase is set there as well. In the second case, both code and reason are set by add_handshake_data. In the last case, setting reason phrase is removed: returning NGX_ERROR now leads to closing the connection with just INTERNAL_ERROR. Reported by Jiuzhou Cui.
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
0 files changed, 0 insertions, 0 deletions