]> git.kaiwu.me - nginx.git/commitdiff
QUIC error SERVER_BUSY renamed to CONNECTION_REFUSED in draft-29.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 23 Jun 2020 08:57:00 +0000 (11:57 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 23 Jun 2020 08:57:00 +0000 (11:57 +0300)
src/event/ngx_event_quic_transport.c
src/event/ngx_event_quic_transport.h

index 348580ae8d9c84aeca361a62d95e721dfacf89e0..950b2ad3a578184651942df51e3c219f95e02f9a 100644 (file)
@@ -91,7 +91,7 @@ static ngx_int_t ngx_quic_parse_transport_param(u_char *p, u_char *end,
 static char *ngx_quic_errors[] = {
     "NO_ERROR",
     "INTERNAL_ERROR",
-    "SERVER_BUSY",
+    "CONNECTION_REFUSED",
     "FLOW_CONTROL_ERROR",
     "STREAM_LIMIT_ERROR",
     "STREAM_STATE_ERROR",
index cfa35ab78be3b819cca88d717b99407438153b99..d85fd34bb850120fa2e2d0d658637752a726290f 100644 (file)
@@ -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