]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: make tune.recv_enough configurable
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Dec 2015 11:04:35 +0000 (12:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Dec 2015 11:05:45 +0000 (12:05 +0100)
commitb22fc30aaa6b39a95e190c3914af182a2aa6ecd2
treeaf8db625f0390ce029db2e189e02fd87d7c78a4f
parent30da7ad8094f1bb9968f0eac75ed4aa3d2d1d500
MINOR: config: make tune.recv_enough configurable

This setting used to be assigned to a variable tunable from a constant
and for an unknown reason never made its way into the config parser.

tune.recv_enough <number>
  Haproxy uses some hints to detect that a short read indicates the end of the
  socket buffers. One of them is that a read returns more than <recv_enough>
  bytes, which defaults to 10136 (7 segments of 1448 each). This default value
  may be changed by this setting to better deal with workloads involving lots
  of short messages such as telnet or SSH sessions.
doc/configuration.txt
src/cfgparse.c