Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic_transport.h @ 8743:168cc2a0f0b6 quic
QUIC: added error codes and messages from latest drafts.
The AEAD_LIMIT_REACHED was addeded in draft-31.
The NO_VIABLE_PATH was added in draft-33.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 05 Apr 2021 11:31:03 +0300 |
parents | 9ed95726b99b |
children | c8bda5e1e662 |
comparison
equal
deleted
inserted
replaced
8742:47a43b011dec | 8743:168cc2a0f0b6 |
---|---|
96 #define NGX_QUIC_ERR_PROTOCOL_VIOLATION 0x0A | 96 #define NGX_QUIC_ERR_PROTOCOL_VIOLATION 0x0A |
97 #define NGX_QUIC_ERR_INVALID_TOKEN 0x0B | 97 #define NGX_QUIC_ERR_INVALID_TOKEN 0x0B |
98 #define NGX_QUIC_ERR_APPLICATION_ERROR 0x0C | 98 #define NGX_QUIC_ERR_APPLICATION_ERROR 0x0C |
99 #define NGX_QUIC_ERR_CRYPTO_BUFFER_EXCEEDED 0x0D | 99 #define NGX_QUIC_ERR_CRYPTO_BUFFER_EXCEEDED 0x0D |
100 #define NGX_QUIC_ERR_KEY_UPDATE_ERROR 0x0E | 100 #define NGX_QUIC_ERR_KEY_UPDATE_ERROR 0x0E |
101 | 101 #define NGX_QUIC_ERR_AEAD_LIMIT_REACHED 0x0F |
102 #define NGX_QUIC_ERR_LAST 0x0F | 102 #define NGX_QUIC_ERR_NO_VIABLE_PATH 0x10 |
103 | |
104 #define NGX_QUIC_ERR_LAST 0x11 | |
103 #define NGX_QUIC_ERR_CRYPTO_ERROR 0x100 | 105 #define NGX_QUIC_ERR_CRYPTO_ERROR 0x100 |
104 | 106 |
105 #define NGX_QUIC_ERR_CRYPTO(e) (NGX_QUIC_ERR_CRYPTO_ERROR + (e)) | 107 #define NGX_QUIC_ERR_CRYPTO(e) (NGX_QUIC_ERR_CRYPTO_ERROR + (e)) |
106 | 108 |
107 | 109 |