]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] add support for TCP MSS adjustment for listeners
authorWilly Tarreau <w@1wt.eu>
Sun, 14 Jun 2009 16:48:19 +0000 (18:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 14 Jun 2009 16:48:19 +0000 (18:48 +0200)
commitbe1b91842a9dcb8fe2148700cdefa6cac1aaf3b9
treefcb00b1ee215a741774d65159330b8f98a3bf506
parent32087312e3a4ad483440d371b0b1769db23946d3
[MEDIUM] add support for TCP MSS adjustment for listeners

Sometimes it can be useful to limit the advertised TCP MSS on
incoming connections, for instance when requests come through
a VPN or when the system is running with jumbo frames enabled.

Passing the "mss <value>" arguments to a "bind" line will set
the value. This works under Linux >= 2.6.28, and maybe a few
earlier ones, though due to an old kernel bug most of earlier
versions will probably ignore it. It is also possible that some
other OSes will support this.
doc/configuration.txt
include/types/protocols.h
src/cfgparse.c
src/proto_tcp.c