commit | f30094e2f4a01ea1e31c4efcccc397c212309c7e | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Mon Mar 01 17:31:28 2021 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Mon Mar 01 17:31:28 2021 +0300 |
tree | 04b6bd0f49dcae1b36aadf561d55343465d79ad1 | |
parent | e7c72417b4a44a54a9ae77e930d5aa5f7b091ea7 [diff] |
HTTP/2: client_header_timeout before first request (ticket #2142). With this change, behaviour of HTTP/2 becomes even closer to HTTP/1.x, and client_header_timeout instead of keepalive_timeout is used before the first request is received. This fixes HTTP/2 connections being closed even before the first request if "keepalive_timeout 0;" was used in the configuration; the problem appeared in f790816a0e87 (1.19.7).