Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_auth_request_module.c @ 6961:903fb1ddc07f
Moved handling of wev->delayed to the connection event handler.
With post_action or subrequests, it is possible that the timer set for
wev->delayed will expire while the active subrequest write event handler
is not ready to handle this. This results in request hangs as observed
with limit_rate / sendfile_max_chunk and post_action (ticket #776) or
subrequests (ticket #1228).
Moving the handling to the connection event handler fixes the hangs observed,
and also slightly simplifies the code.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 02 Apr 2017 14:32:29 +0300 |
parents | f01ab2dbcfdc |
children | d26db4f82d7d |
comparison
equal
deleted
inserted
replaced
6960:1c5e5e5b008d | 6961:903fb1ddc07f |
---|