diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2017-03-28 18:15:41 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2017-03-28 18:15:41 +0300 |
commit | a450865b5adc377f9fd9ca2bf082c34760de408f (patch) | |
tree | e63a9598fb093ba8f44b32b1e0123dadb51baed6 /src/http/modules/perl/ngx_http_perl_module.c | |
parent | ff33d9fa55afa10674b60d4b36af1410c6870015 (diff) | |
download | nginx-a450865b5adc377f9fd9ca2bf082c34760de408f.tar.gz nginx-a450865b5adc377f9fd9ca2bf082c34760de408f.zip |
Threads: fixed request hang with aio_write and subrequests.
If the subrequest is already finalized, the handler set with aio_write
may still be used by sendfile in threads when using range requests
(see also e4c1f5b32868, and the original note in 9fd738b85fad). Calling
already finalized subrequest's r->write_event_handler in practice
results in request hang in some cases.
Fix is to trigger connection event handler if the subrequest was already
finalized.
Diffstat (limited to 'src/http/modules/perl/ngx_http_perl_module.c')
0 files changed, 0 insertions, 0 deletions