mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Receipt of CONNECTION_CLOSE in 0-RTT is permitted in draft-28.
This commit is contained in:
parent
d047ecee95
commit
ac73dffb57
@ -1069,8 +1069,13 @@ ngx_quic_frame_allowed(ngx_quic_header_t *pkt, ngx_uint_t frame_type)
|
||||
/* RETIRE_CONNECTION_ID */ 0x3,
|
||||
/* PATH_CHALLENGE */ 0x3,
|
||||
/* PATH_RESPONSE */ 0x3,
|
||||
#if (NGX_QUIC_DRAFT_VERSION >= 28)
|
||||
/* CONNECTION_CLOSE */ 0xF,
|
||||
/* CONNECTION_CLOSE2 */ 0x3,
|
||||
#else
|
||||
/* CONNECTION_CLOSE */ 0xD,
|
||||
/* CONNECTION_CLOSE2 */ 0x1,
|
||||
#endif
|
||||
/* HANDSHAKE_DONE */ 0x0, /* only sent by server */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user