]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h2: send a real SETTINGS frame based on the configuration
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Sep 2017 14:25:39 +0000 (16:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:16:18 +0000 (18:16 +0100)
commitbe5b715fb2c5ff92448f9481d18cfee000cef6c9
treee73bc21e6062beea8882188debe2b5048c2b52dc
parentbacdf5a49b9c9a5d1215556c8dd8e68cca86d6e4
MINOR: h2: send a real SETTINGS frame based on the configuration

An initial settings frame is emitted upon receipt of the connection
preface, which takes care of configured values. These settings are
only emitted when they differ from the protocol's default value :

  - header_table_size (defaults to 4096)
  - initial_window_size (defaults to 65535)
  - max_concurrent_streams (defaults to unlimited)
  - max_frame_size (defaults to 16384)

The max frame size is a copy of tune.bufsize. Clients will most often
reject values lower than 16384 and currently there's no trivial way to
check if H2 is going to be used at boot time.
src/mux_h2.c