aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-02-11 21:52:24 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-02-11 21:52:24 +0300
commit94567a8f849c02c70ee7f51307fa0372c94c925b (patch)
treeff6b99f8ff831355f0a7d6cc3109d3da5e6ba1af /src/http/ngx_http_request.h
parent49ab3312448495f0ee8e00143a29624dde46ef5c (diff)
downloadnginx-94567a8f849c02c70ee7f51307fa0372c94c925b.tar.gz
nginx-94567a8f849c02c70ee7f51307fa0372c94c925b.zip
HTTP/2: keepalive_timeout now armed once between requests.
Previously, PINGs and other frames extended possible keepalive time, making it possible to keep an open HTTP/2 connection for a long time. Now the connection is always closed as long as keepalive_timeout expires, similarly to how it happens in HTTP/1.x. Note that as a part of this change, incomplete frames are no longer trigger a separate timeout, so http2_recv_timeout (replaced by client_header_timeout in previous patches) is essentially cancelled. The client_header_timeout is, however, used for SSL handshake and while reading HEADERS frames.
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions