haproxy/doc
Willy Tarreau f27b5ea8dc [MEDIUM] new option "independant-streams" to stop updating read timeout on writes
By default, when data is sent over a socket, both the write timeout and the
read timeout for that socket are refreshed, because we consider that there is
activity on that socket, and we have no other means of guessing if we should
receive data or not.

While this default behaviour is desirable for almost all applications, there
exists a situation where it is desirable to disable it, and only refresh the
read timeout if there are incoming data. This happens on sessions with large
timeouts and low amounts of exchanged data such as telnet session. If the
server suddenly disappears, the output data accumulates in the system's
socket buffers, both timeouts are correctly refreshed, and there is no way
to know the server does not receive them, so we don't timeout. However, when
the underlying protocol always echoes sent data, it would be enough by itself
to detect the issue using the read timeout. Note that this problem does not
happen with more verbose protocols because data won't accumulate long in the
socket buffers.

When this option is set on the frontend, it will disable read timeout updates
on data sent to the client. There probably is little use of this case. When
the option is set on the backend, it will disable read timeout updates on
data sent to the server. Doing so will typically break large HTTP posts from
slow lines, so use it with caution.
2009-10-03 22:01:18 +02:00
..
design-thoughts [DOC] added some docs about http headers storage and acls 2007-04-01 09:44:10 +02:00
internals [BUG] stream_interface: SI_ST_CLO must have buffers SHUT 2009-09-20 08:34:41 +02:00
acl.fig [DOC] add diagrams of queuing and future ACL design 2009-02-22 16:46:38 +01:00
architecture.txt [MINOR] add X-Original-To: header 2009-05-01 16:22:33 +02:00
configuration.txt [MEDIUM] new option "independant-streams" to stop updating read timeout on writes 2009-10-03 22:01:18 +02:00
gpl.txt [LICENSE] licensing clarifications 2006-06-15 21:48:13 +02:00
haproxy-en.txt [RELEASE] Released version 1.3.15 2008-04-19 21:25:12 +02:00
haproxy-fr.txt [DOC] add a bit of documentation about timers 2007-12-02 22:27:38 +01:00
haproxy.1 [DOC] added a small man page 2007-09-09 22:40:07 +02:00
lgpl.txt [LICENSE] licensing clarifications 2006-06-15 21:48:13 +02:00
queuing.fig [DOC] add diagrams of queuing and future ACL design 2009-02-22 16:46:38 +01:00