[PATCH] QUIC: use client dcid rather than odcid to receive packets

Sergey Kandaurov pluknet at nginx.com
Wed Aug 30 09:17:10 UTC 2023


> On 30 Aug 2023, at 11:32, Roman Arutyunyan <arut at nginx.com> wrote:
> 
> Hi,
> 
> [..]
> I suggest the following commit log:
> 
> QUIC: use last client dcid to receive initial packets.
> 
> Previously, original dcid was used to receive initial client packets in case
> server initial response was lost.  However, last dcid should be used instead.
> These two are the same unless retry is used.  In case of retry, client resends
> initial packet with a new dcid, that is different from the original dcid.  If
> server response is lost, the client resends this packet again with the same
> dcid.  This is shown in RFC 9000, 7.3. Authenticating Connection IDs, Figure 8.
> 
> The issue manifested itself with creating multiple server sessions in response
> to each post-retry client initial packet, if server response is lost.
> 
> [..]

Good enough.

-- 
Sergey Kandaurov


More information about the nginx-devel mailing list