]> git.kaiwu.me - nginx.git/commit
QUIC: refactored packet creation.
authorVladimir Homutov <vl@nginx.com>
Thu, 7 Oct 2021 10:48:29 +0000 (13:48 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 7 Oct 2021 10:48:29 +0000 (13:48 +0300)
commit5f9c4e15a398bc10e23c7d366d181380135e2503
tree546ce66ba5e2111124cdeacdfcff10ca1a57af15
parent151985c931b4c96ca95e78b60f28d537e41352cc
QUIC: refactored packet creation.

The "min" and "max" arguments refer to UDP datagram size.  Generating payload
requires to account properly for header size, which is variable and depends on
payload size and packet number.
src/event/quic/ngx_event_quic_output.c
src/event/quic/ngx_event_quic_protection.c
src/event/quic/ngx_event_quic_transport.c
src/event/quic/ngx_event_quic_transport.h