From 67b9f081d0510fe1132c61561a0d1405506c11c0 Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Sun, 23 Jan 2022 21:29:36 +0300 Subject: QUIC: avoid logging error in case of version negotiation. Previously, "early error" message was logged in this case. --- src/event/quic/ngx_event_quic_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit