comparison src/event/ngx_event_quic.c @ 8434:ea4899591798 quic

QUIC: Fixed connection cleanup. A posted event need to be deleted during the connection close.
author Vladimir Homutov <vl@nginx.com>
date Mon, 15 Jun 2020 16:59:53 +0300
parents 7672ec1e6227
children 5bc9229ec4cf
comparison
equal deleted inserted replaced
8433:7672ec1e6227 8434:ea4899591798
1319 1319
1320 if (qc->retransmit.timer_set) { 1320 if (qc->retransmit.timer_set) {
1321 ngx_del_timer(&qc->retransmit); 1321 ngx_del_timer(&qc->retransmit);
1322 } 1322 }
1323 1323
1324 if (qc->push.posted) {
1325 ngx_delete_posted_event(&qc->push);
1326 }
1327
1324 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0, 1328 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0,
1325 "quic part of connection is terminated"); 1329 "quic part of connection is terminated");
1326 1330
1327 /* may be tested from SSL callback during SSL shutdown */ 1331 /* may be tested from SSL callback during SSL shutdown */
1328 c->quic = NULL; 1332 c->quic = NULL;