]> git.kaiwu.me - nginx.git/commitdiff
QUIC: avoid logging error in case of version negotiation.
authorVladimir Homutov <vl@nginx.com>
Sun, 23 Jan 2022 18:29:36 +0000 (21:29 +0300)
committerVladimir Homutov <vl@nginx.com>
Sun, 23 Jan 2022 18:29:36 +0000 (21:29 +0300)
Previously, "early error" message was logged in this case.

src/event/quic/ngx_event_quic_output.c

index d4b0791258595598f9ec65d53017fc801b86fd66..bf43f78838acf2025169e1d31e86ef511d0250f4 100644 (file)
@@ -813,7 +813,7 @@ ngx_quic_negotiate_version(ngx_connection_t *c, ngx_quic_header_t *inpkt)
 
     (void) ngx_quic_send(c, buf, len, c->sockaddr, c->socklen);
 
-    return NGX_ERROR;
+    return NGX_DONE;
 }