Introduced connection error APPLICATION_ERROR from draft-28.

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

View File

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

View File

@ -87,7 +87,7 @@
#define NGX_QUIC_ERR_CONNECTION_ID_LIMIT_ERROR 0x09
#define NGX_QUIC_ERR_PROTOCOL_VIOLATION 0x0A
#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
/* 0xE is not defined */
/* 0xF is not defined */