changeset 8973: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 077a1e403446
children c389200e10a2
files src/event/quic/ngx_event_quic_output.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 }