]> git.kaiwu.me - nginx.git/commit
Do not set timers after the connection is closed.
authorVladimir Homutov <vl@nginx.com>
Sat, 4 Apr 2020 19:27:29 +0000 (22:27 +0300)
committerVladimir Homutov <vl@nginx.com>
Sat, 4 Apr 2020 19:27:29 +0000 (22:27 +0300)
commit5b41275219497a73d1ecf820d1f5b0a2c18850e3
tree75bb9f63c5d09503ccc9c3cd981640984cfdab48
parent3f3315aea64c1f5968fce127b6ee8cadc783d6d3
Do not set timers after the connection is closed.

The qc->closing flag is set when a connection close is initiated for the first
time.

No timers will be set if the flag is active.

TODO: this is a temporary solution to avoid running timer handlers after
connection (and it's pool) was destroyed.  It looks like currently we have
no clear policy of connection closing in regard to timers.
src/event/ngx_event_quic.c