mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 03:21:08 +00:00
QUIC: reset error and error_reason prior to processing packet.
This commit is contained in:
parent
c245c9ea20
commit
bb64f2017a
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue