mirror of
https://github.com/nginx/nginx.git
synced 2025-06-22 05:40:48 +08:00
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.
This commit is contained in:
parent
2fd50ca589
commit
a6c52268eb
@ -157,6 +157,8 @@ static char *ngx_quic_errors[] = {
|
|||||||
"APPLICATION_ERROR",
|
"APPLICATION_ERROR",
|
||||||
"CRYPTO_BUFFER_EXCEEDED",
|
"CRYPTO_BUFFER_EXCEEDED",
|
||||||
"KEY_UPDATE_ERROR",
|
"KEY_UPDATE_ERROR",
|
||||||
|
"AEAD_LIMIT_REACHED",
|
||||||
|
"NO_VIABLE_PATH",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -98,8 +98,10 @@
|
|||||||
#define NGX_QUIC_ERR_APPLICATION_ERROR 0x0C
|
#define NGX_QUIC_ERR_APPLICATION_ERROR 0x0C
|
||||||
#define NGX_QUIC_ERR_CRYPTO_BUFFER_EXCEEDED 0x0D
|
#define NGX_QUIC_ERR_CRYPTO_BUFFER_EXCEEDED 0x0D
|
||||||
#define NGX_QUIC_ERR_KEY_UPDATE_ERROR 0x0E
|
#define NGX_QUIC_ERR_KEY_UPDATE_ERROR 0x0E
|
||||||
|
#define NGX_QUIC_ERR_AEAD_LIMIT_REACHED 0x0F
|
||||||
|
#define NGX_QUIC_ERR_NO_VIABLE_PATH 0x10
|
||||||
|
|
||||||
#define NGX_QUIC_ERR_LAST 0x0F
|
#define NGX_QUIC_ERR_LAST 0x11
|
||||||
#define NGX_QUIC_ERR_CRYPTO_ERROR 0x100
|
#define NGX_QUIC_ERR_CRYPTO_ERROR 0x100
|
||||||
|
|
||||||
#define NGX_QUIC_ERR_CRYPTO(e) (NGX_QUIC_ERR_CRYPTO_ERROR + (e))
|
#define NGX_QUIC_ERR_CRYPTO(e) (NGX_QUIC_ERR_CRYPTO_ERROR + (e))
|
||||||
|
Loading…
Reference in New Issue
Block a user