diff options
| author | Vladimir Homutov <vl@nginx.com> | 2020-06-15 16:59:53 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2020-06-15 16:59:53 +0300 |
| commit | 6c2712f7818cda54f3954b04f677b057fe49be2e (patch) | |
| tree | 7a6ff84930b9fb36658b477c3bdc689669c70ede /src | |
| parent | 966a8679716b55625602be5cda024cace3a63041 (diff) | |
| download | nginx-6c2712f7818cda54f3954b04f677b057fe49be2e.tar.gz nginx-6c2712f7818cda54f3954b04f677b057fe49be2e.tar.bz2 | |
QUIC: Fixed connection cleanup.
A posted event need to be deleted during the connection close.
Diffstat (limited to 'src')
| -rw-r--r-- | src/event/ngx_event_quic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index d84ea88a7..9253549ca 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -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"); |
