mirror of
https://github.com/nginx/nginx.git
synced 2025-06-24 23:43:06 +08:00
QUIC: added push event afer the address was validated.
This allows to continue processing when the anti-amplification limit was hit.
This commit is contained in:
parent
ddd665ca66
commit
a1473ce8b0
@ -2162,7 +2162,11 @@ ngx_quic_process_packet(ngx_connection_t *c, ngx_quic_conf_t *conf,
|
|||||||
* that no more Initial packets need to be exchanged
|
* that no more Initial packets need to be exchanged
|
||||||
*/
|
*/
|
||||||
ngx_quic_discard_ctx(c, ssl_encryption_initial);
|
ngx_quic_discard_ctx(c, ssl_encryption_initial);
|
||||||
|
|
||||||
|
if (qc->validated == 0) {
|
||||||
qc->validated = 1;
|
qc->validated = 1;
|
||||||
|
ngx_post_event(&c->quic->push, &ngx_posted_events);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pkt->received = ngx_current_msec;
|
pkt->received = ngx_current_msec;
|
||||||
|
Loading…
Reference in New Issue
Block a user