comparison 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
comparison
equal deleted inserted replaced
8798:077a1e403446 8799:e5509ff0dfd2
811 "quic vnego packet to send len:%uz %*xs", len, len, buf); 811 "quic vnego packet to send len:%uz %*xs", len, len, buf);
812 #endif 812 #endif
813 813
814 (void) ngx_quic_send(c, buf, len, c->sockaddr, c->socklen); 814 (void) ngx_quic_send(c, buf, len, c->sockaddr, c->socklen);
815 815
816 return NGX_ERROR; 816 return NGX_DONE;
817 } 817 }
818 818
819 819
820 ngx_int_t 820 ngx_int_t
821 ngx_quic_send_stateless_reset(ngx_connection_t *c, ngx_quic_conf_t *conf, 821 ngx_quic_send_stateless_reset(ngx_connection_t *c, ngx_quic_conf_t *conf,