comparison src/event/ngx_event_quic_transport.c @ 8425:3e38dad3a163 quic

Receipt of CONNECTION_CLOSE in 0-RTT is permitted in draft-28.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 05 Jun 2020 13:20:02 +0300
parents c70446e3d771
children 6ea2f1daedb5
comparison
equal deleted inserted replaced
8424:c70446e3d771 8425:3e38dad3a163
1067 /* STREAMS_BLOCKED2 */ 0x3, 1067 /* STREAMS_BLOCKED2 */ 0x3,
1068 /* NEW_CONNECTION_ID */ 0x3, 1068 /* NEW_CONNECTION_ID */ 0x3,
1069 /* RETIRE_CONNECTION_ID */ 0x3, 1069 /* RETIRE_CONNECTION_ID */ 0x3,
1070 /* PATH_CHALLENGE */ 0x3, 1070 /* PATH_CHALLENGE */ 0x3,
1071 /* PATH_RESPONSE */ 0x3, 1071 /* PATH_RESPONSE */ 0x3,
1072 #if (NGX_QUIC_DRAFT_VERSION >= 28)
1073 /* CONNECTION_CLOSE */ 0xF,
1074 /* CONNECTION_CLOSE2 */ 0x3,
1075 #else
1072 /* CONNECTION_CLOSE */ 0xD, 1076 /* CONNECTION_CLOSE */ 0xD,
1073 /* CONNECTION_CLOSE2 */ 0x1, 1077 /* CONNECTION_CLOSE2 */ 0x1,
1078 #endif
1074 /* HANDSHAKE_DONE */ 0x0, /* only sent by server */ 1079 /* HANDSHAKE_DONE */ 0x0, /* only sent by server */
1075 }; 1080 };
1076 1081
1077 if (ngx_quic_long_pkt(pkt->flags)) { 1082 if (ngx_quic_long_pkt(pkt->flags)) {
1078 1083