Introduced connection error APPLICATION_ERROR from draft-28.

This commit is contained in:
Sergey Kandaurov 2020-06-05 13:20:03 +03:00
parent ac73dffb57
commit facf59bd86
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ static char *ngx_quic_errors[] = {
"CONNECTION_ID_LIMIT_ERROR", "CONNECTION_ID_LIMIT_ERROR",
"PROTOCOL_VIOLATION", "PROTOCOL_VIOLATION",
"INVALID_TOKEN", "INVALID_TOKEN",
"unknown error 0xC", "APPLICATION_ERROR",
"CRYPTO_BUFFER_EXCEEDED", "CRYPTO_BUFFER_EXCEEDED",
"unknown error 0xE", "unknown error 0xE",
"unknown error 0xF", "unknown error 0xF",

View File

@ -87,7 +87,7 @@
#define NGX_QUIC_ERR_CONNECTION_ID_LIMIT_ERROR 0x09 #define NGX_QUIC_ERR_CONNECTION_ID_LIMIT_ERROR 0x09
#define NGX_QUIC_ERR_PROTOCOL_VIOLATION 0x0A #define NGX_QUIC_ERR_PROTOCOL_VIOLATION 0x0A
#define NGX_QUIC_ERR_INVALID_TOKEN 0x0B #define NGX_QUIC_ERR_INVALID_TOKEN 0x0B
/* 0xC is not defined */ #define NGX_QUIC_ERR_APPLICATION_ERROR 0x0C
#define NGX_QUIC_ERR_CRYPTO_BUFFER_EXCEEDED 0x0D #define NGX_QUIC_ERR_CRYPTO_BUFFER_EXCEEDED 0x0D
/* 0xE is not defined */ /* 0xE is not defined */
/* 0xF is not defined */ /* 0xF is not defined */