]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: config: ensure that tune.bufsize is at least 16384 when using HTTP/2
authorWilly Tarreau <w@1wt.eu>
Fri, 24 Nov 2017 10:28:00 +0000 (11:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Nov 2017 10:28:00 +0000 (11:28 +0100)
commit45a66ccc5510beb635bf381a2982a2af62bab963
tree6cfa244e2f99bd9e6986a8cd8e2e3212110e89d3
parent599391a7c24732ba5e5b36083bb937fdbf182115
MEDIUM: config: ensure that tune.bufsize is at least 16384 when using HTTP/2

HTTP/2 mandates the support of 16384 bytes frames by default, so we need
a large enough buffer to process them. Till now if tune.bufsize was too
small, H2 connections were simply rejected during their establishment,
making it quite hard to troubleshoot the issue.

Now we detect when HTTP/2 is enabled on an HTTP frontend and emit an
error if tune.bufsize is not large enough, with the appropriate
recommendation.
doc/configuration.txt
src/cfgparse.c