mirror of
https://github.com/nginx/nginx.git
synced 2024-12-05 06:19:01 +08:00
QUIC: Fixed connection cleanup.
A posted event need to be deleted during the connection close.
This commit is contained in:
parent
966a867971
commit
6c2712f781
@ -1321,6 +1321,10 @@ ngx_quic_close_quic(ngx_connection_t *c, ngx_int_t rc)
|
||||
ngx_del_timer(&qc->retransmit);
|
||||
}
|
||||
|
||||
if (qc->push.posted) {
|
||||
ngx_delete_posted_event(&qc->push);
|
||||
}
|
||||
|
||||
ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
||||
"quic part of connection is terminated");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user