summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/event/ngx_event_quic.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c
index ccaeccd1e..2e6d4b570 100644
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -1628,6 +1628,11 @@ ngx_quic_input(ngx_connection_t *c, ngx_buf_t *b, ngx_quic_conf_t *conf)
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)