]> git.kaiwu.me - nginx.git/commitdiff
Introduced connection error APPLICATION_ERROR from draft-28.
authorSergey Kandaurov <pluknet@nginx.com>
Fri, 5 Jun 2020 10:20:03 +0000 (13:20 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Fri, 5 Jun 2020 10:20:03 +0000 (13:20 +0300)
src/event/ngx_event_quic_transport.c
src/event/ngx_event_quic_transport.h

index 712fbf5bcec95a767cc0f664f6cb919f32596403..348580ae8d9c84aeca361a62d95e721dfacf89e0 100644 (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",
index e703171777d2b9f45177ab6372ba7a5156fbec9b..cfa35ab78be3b819cca88d717b99407438153b99 100644 (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 */