mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-18 03:30:43 +00:00
haproxy public development tree
7a145d6823
The H1 multiplexer is able to perform synchronous send. When a large body is transfer, if nothing is received and if no error or shutdown occurs, it is possible to not go down at the H1 connection level to do I/O for a long time. When this happens, we must still take care to refresh the H1 connection timeout. Otherwise it is possible to hit the connection timeout during the transfer while it should not expire. This bug exists because only h1_process() refresh the H1 connection timeout. To fix the bug, h1_snd_buf() must also refresh this timeout. To make things more readable, a dedicated function has been introduced and called to refresh the timeout. This bug exists on all HTX versions. But it is harder to hit it on 2.1 and below because when a H1 mux is initialized, we actively try to read data instead of subscribing for receiving. So there is at least one call to h1_process(). This patch should fix the issue #790. It must be backported as far as 2.0. |
||
---|---|---|
.github | ||
contrib | ||
doc | ||
examples | ||
include | ||
reg-tests | ||
scripts | ||
src | ||
tests | ||
.cirrus.yml | ||
.gitignore | ||
.travis.yml | ||
BRANCHES | ||
CHANGELOG | ||
CONTRIBUTING | ||
INSTALL | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
README | ||
ROADMAP | ||
SUBVERS | ||
VERDATE | ||
VERSION |
The HAProxy documentation has been split into a number of different files for ease of use. Please refer to the following files depending on what you're looking for : - INSTALL for instructions on how to build and install HAProxy - BRANCHES to understand the project's life cycle and what version to use - LICENSE for the project's license - CONTRIBUTING for the process to follow to submit contributions The more detailed documentation is located into the doc/ directory : - doc/intro.txt for a quick introduction on HAProxy - doc/configuration.txt for the configuration's reference manual - doc/lua.txt for the Lua's reference manual - doc/SPOE.txt for how to use the SPOE engine - doc/network-namespaces.txt for how to use network namespaces under Linux - doc/management.txt for the management guide - doc/regression-testing.txt for how to use the regression testing suite - doc/peers.txt for the peers protocol reference - doc/coding-style.txt for how to adopt HAProxy's coding style - doc/internals for developer-specific documentation (not all up to date)