Mercurial > hg > nginx
diff src/event/ngx_event_quic.c @ 8583:d564e8850975 quic
QUIC: reset error and error_reason prior to processing packet.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 09 Oct 2020 16:57:19 +0300 |
parents | ec04dbb77fb7 |
children | 02ee77f8d53d |
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c Wed Oct 07 14:51:05 2020 +0100 +++ b/src/event/ngx_event_quic.c Fri Oct 09 16:57:19 2020 +0300 @@ -1628,6 +1628,11 @@ pkt.flags = p[0]; pkt.raw->pos++; + if (c->quic) { + c->quic->error = 0; + c->quic->error_reason = 0; + } + rc = ngx_quic_process_packet(c, conf, &pkt); #if (NGX_DEBUG)