aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_handler.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2020-11-02 17:38:11 +0000
committerSergey Kandaurov <pluknet@nginx.com>2020-11-02 17:38:11 +0000
commit609af6e31d5a74b4a59f2b769fe75b2ab736433e (patch)
tree8d115632f5f2092d8dff64872443f4362469a892 /src/stream/ngx_stream_handler.c
parent0aef8438f4d0c49351205f4e32fd9237b5494064 (diff)
downloadnginx-609af6e31d5a74b4a59f2b769fe75b2ab736433e.tar.gz
nginx-609af6e31d5a74b4a59f2b769fe75b2ab736433e.zip
QUIC: fixed address validation issues in a new connection.
The client address validation didn't complete with a valid token, which was broken after packet processing refactoring in d0d3fc0697a0. An invalid or expired token was treated as a connection error. Now we proceed as outlined in draft-ietf-quic-transport-32, section 8.1.3 "Address Validation for Future Connections" below, which is unlike validating the client address using Retry packets. When a server receives an Initial packet with an address validation token, it MUST attempt to validate the token, unless it has already completed address validation. If the token is invalid then the server SHOULD proceed as if the client did not have a validated address, including potentially sending a Retry. The connection is now closed in this case on internal errors only.
Diffstat (limited to 'src/stream/ngx_stream_handler.c')
0 files changed, 0 insertions, 0 deletions