]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] tcp: add support for dynamic MSS setting
authorWilly Tarreau <w@1wt.eu>
Fri, 24 Dec 2010 14:26:39 +0000 (15:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 30 Dec 2010 08:50:23 +0000 (09:50 +0100)
commit48a7e72c5d19df8ebe260248796e01aade8bea44
treeace006e0e4b28834384e11d6a0473e6fac2bd45f
parentdf5b38fac1788e6a134095459170a618a1c23388
[MINOR] tcp: add support for dynamic MSS setting

By passing a negative value to the "mss" argument of "bind" lines, it
becomes possible to subtract this value to the MSS advertised by the
client, which results in segments smaller than advertised. The effect
is useful with some TCP stacks which ACK less often when segments are
not full, because they only ACK every other full segment as suggested
by RFC1122.

NOTE: currently this has no effect on Linux kernel 2.6, a kernel patch
is still required to change the MSS of established connections.
doc/configuration.txt
src/cfgparse.c
src/frontend.c
src/proto_tcp.c