]> git.kaiwu.me - nginx.git/commit
Use "client_header_timeout" for all requests in a connection.
authorValentin Bartenev <vbart@nginx.com>
Thu, 7 Mar 2013 17:41:40 +0000 (17:41 +0000)
committerValentin Bartenev <vbart@nginx.com>
Thu, 7 Mar 2013 17:41:40 +0000 (17:41 +0000)
commit3e5aaee82878a3ddb0caa5af6375ea4c25e7bb13
tree9b069f9858d0cce7752442d634fd56d0639e0815
parenta46a3ab68dfe8cb0432c7062fa6019c995ebbc6a
Use "client_header_timeout" for all requests in a connection.

Previously, only the first request in a connection used timeout
value from the "client_header_timeout" directive while reading
header.  All subsequent requests used "keepalive_timeout" for
that.

It happened because timeout of the read event was set to the
value of "keepalive_timeout" in ngx_http_set_keepalive(), but
was not removed when the next request arrived.
src/http/ngx_http_request.c