comparison src/event/ngx_event_quic_transport.h @ 8249:3f4b407fa0b8 quic

Added parsing of CONNECTION_CLOSE2 frame (0x1D). The difference is that error code refers to application namespace, i.e. quic error names cannot be used to convert it to string.
author Vladimir Homutov <vl@nginx.com>
date Fri, 20 Mar 2020 14:50:05 +0300
parents e9891e8ee975
children c217a907ce42
comparison
equal deleted inserted replaced
8248:abb7c1a4c9d5 8249:3f4b407fa0b8
45 #define NGX_QUIC_FT_NEW_CONNECTION_ID 0x18 45 #define NGX_QUIC_FT_NEW_CONNECTION_ID 0x18
46 #define NGX_QUIC_FT_RETIRE_CONNECTION_ID 0x19 46 #define NGX_QUIC_FT_RETIRE_CONNECTION_ID 0x19
47 #define NGX_QUIC_FT_PATH_CHALLENGE 0x1A 47 #define NGX_QUIC_FT_PATH_CHALLENGE 0x1A
48 #define NGX_QUIC_FT_PATH_RESPONSE 0x1B 48 #define NGX_QUIC_FT_PATH_RESPONSE 0x1B
49 #define NGX_QUIC_FT_CONNECTION_CLOSE 0x1C 49 #define NGX_QUIC_FT_CONNECTION_CLOSE 0x1C
50 #define NGX_QUIC_FT_CONNECTION_CLOSE2 0x1D // XXX 50 #define NGX_QUIC_FT_CONNECTION_CLOSE2 0x1D
51 #define NGX_QUIC_FT_HANDSHAKE_DONE 0x1E 51 #define NGX_QUIC_FT_HANDSHAKE_DONE 0x1E
52 52
53 /* 22.4. QUIC Transport Error Codes Registry */ 53 /* 22.4. QUIC Transport Error Codes Registry */
54 #define NGX_QUIC_ERR_NO_ERROR 0x00 54 #define NGX_QUIC_ERR_NO_ERROR 0x00
55 #define NGX_QUIC_ERR_INTERNAL_ERROR 0x01 55 #define NGX_QUIC_ERR_INTERNAL_ERROR 0x01