]> git.kaiwu.me - nginx.git/commit
Avoid retransmitting of packets with discarded keys.
authorVladimir Homutov <vl@nginx.com>
Mon, 18 May 2020 10:54:53 +0000 (13:54 +0300)
committerVladimir Homutov <vl@nginx.com>
Mon, 18 May 2020 10:54:53 +0000 (13:54 +0300)
commit04efd355aa02e40e5ec408a34bb31bec86649849
tree81fdb37b5ac56d3d2b654c200d38c17999fb02e5
parent0041c3f6b72d7e31beca74b0f17d8445e8aaf9e9
Avoid retransmitting of packets with discarded keys.

Sections 4.10.1 and 4.10.2 of quic transport describe discarding of initial
and handshake keys.  Since the keys are discarded, we no longer need
to retransmit packets and corresponding queues should be emptied.

This patch removes previously added workaround that did not require
acknowledgement for initial packets, resulting in avoiding retransmission,
which is wrong because a packet could be lost and we have to retransmit it.
src/event/ngx_event_quic.c