changeset 8440:f9592e804834 quic

QUIC error SERVER_BUSY renamed to CONNECTION_REFUSED in draft-29.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 23 Jun 2020 11:57:00 +0300
parents cef417a24755
children db8fe75c9c7a
files src/event/ngx_event_quic_transport.c src/event/ngx_event_quic_transport.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/event/ngx_event_quic_transport.c
+++ b/src/event/ngx_event_quic_transport.c
@@ -91,7 +91,7 @@ static ngx_int_t ngx_quic_parse_transpor
 static char *ngx_quic_errors[] = {
     "NO_ERROR",
     "INTERNAL_ERROR",
-    "SERVER_BUSY",
+    "CONNECTION_REFUSED",
     "FLOW_CONTROL_ERROR",
     "STREAM_LIMIT_ERROR",
     "STREAM_STATE_ERROR",
--- a/src/event/ngx_event_quic_transport.h
+++ b/src/event/ngx_event_quic_transport.h
@@ -77,7 +77,7 @@
 /* 22.4.  QUIC Transport Error Codes Registry */
 #define NGX_QUIC_ERR_NO_ERROR                            0x00
 #define NGX_QUIC_ERR_INTERNAL_ERROR                      0x01
-#define NGX_QUIC_ERR_SERVER_BUSY                         0x02
+#define NGX_QUIC_ERR_CONNECTION_REFUSED                  0x02
 #define NGX_QUIC_ERR_FLOW_CONTROL_ERROR                  0x03
 #define NGX_QUIC_ERR_STREAM_LIMIT_ERROR                  0x04
 #define NGX_QUIC_ERR_STREAM_STATE_ERROR                  0x05