]> git.kaiwu.me - nginx.git/commit
Preserve original DCID and unbreak parsing 0-RTT packets.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 12 May 2020 15:18:58 +0000 (18:18 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 12 May 2020 15:18:58 +0000 (18:18 +0300)
commita0cc9398eda37dd28e148ab5f598c278eb89b668
tree3537fd91117b0633cb32005ccb0db6a0d5c3fe09
parent7ab07b34092341bef7dc98f44189f43ab1f86c3f
Preserve original DCID and unbreak parsing 0-RTT packets.

As per QUIC transport, the first flight of 0-RTT packets obviously uses same
Destination and Source Connection ID values as the client's first Initial.

The fix is to match 0-RTT against original DCID after it has been switched.
src/event/ngx_event_quic.c