From: Vladimir Homutov Date: Sun, 23 Jan 2022 18:29:36 +0000 (+0300) Subject: QUIC: avoid logging error in case of version negotiation. X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=67b9f081d0510fe1132c61561a0d1405506c11c0;p=nginx.git QUIC: avoid logging error in case of version negotiation. Previously, "early error" message was logged in this case. --- diff --git a/src/event/quic/ngx_event_quic_output.c b/src/event/quic/ngx_event_quic_output.c index d4b079125..bf43f7883 100644 --- 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_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; }