mirror of
https://github.com/nginx/nginx.git
synced 2026-05-13 09:36:42 +00:00
QUIC: adjusted minimum packet size to send Stateless Reset.
Now to be valid, it also assumes the Connection ID we require from a client.
This commit is contained in:
parent
edb4d2ffa7
commit
2c7252dcad
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
|||
* packets. With the set of AEAD functions defined in [QUIC-TLS],
|
||||
* short header packets that are smaller than 21 bytes are never valid.
|
||||
*/
|
||||
#define NGX_QUIC_MIN_PKT_LEN 21
|
||||
#define NGX_QUIC_MIN_PKT_LEN 41 /* 21 + 20 (server cid length) */
|
||||
|
||||
#define NGX_QUIC_MIN_SR_PACKET 43 /* 5 rand + 16 srt + 22 padding */
|
||||
#define NGX_QUIC_MAX_SR_PACKET 1200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue