diff options
author | Vladimir Homutov <vl@nginx.com> | 2020-04-04 22:27:29 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2020-04-04 22:27:29 +0300 |
commit | 5b41275219497a73d1ecf820d1f5b0a2c18850e3 (patch) | |
tree | 75bb9f63c5d09503ccc9c3cd981640984cfdab48 /src/http/ngx_http_request.c | |
parent | 3f3315aea64c1f5968fce127b6ee8cadc783d6d3 (diff) | |
download | nginx-5b41275219497a73d1ecf820d1f5b0a2c18850e3.tar.gz nginx-5b41275219497a73d1ecf820d1f5b0a2c18850e3.zip |
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.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions