diff src/event/quic/ngx_event_quic_output.c @ 8799:e5509ff0dfd2 quic

QUIC: avoid logging error in case of version negotiation. Previously, "early error" message was logged in this case.
author Vladimir Homutov <vl@nginx.com>
date Sun, 23 Jan 2022 21:29:36 +0300
parents 1e2f4e9c8195
children 4646a981111f
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_output.c
+++ b/src/event/quic/ngx_event_quic_output.c
@@ -813,7 +813,7 @@ ngx_quic_negotiate_version(ngx_connectio
 
     (void) ngx_quic_send(c, buf, len, c->sockaddr, c->socklen);
 
-    return NGX_ERROR;
+    return NGX_DONE;
 }