mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-25 04:17:42 +00:00
haproxy public development tree
There are two issues with the way tunnel mode is detected on the response path. First, when a response with an unknown content length is handled, the request is also switched in tunnel mode. It is obviously wrong. Because it was done on the server side only (so not during the request parsing), it is no noticeable effects. The second issue is about the way protocol upgrades are handled. The request is switched in tunnel mode from the time the 101 response is processed. So an unfinished request may be switched in tunnel mode too early. It is not a common use, but a protocol upgrade on a POST is allowed. Thus, parsing of the payload may be hijacked. It is especially bad for chunked payloads. Now, conditions to switch the request in tunnel mode reflect what should be done. Especially for the second issue. We wait the end of the request to switch it in tunnel mode. This patch must be backported to 2.0 and 1.9. Note that these versions are only affected by the second issue but the patch cannot be easily splitted. |
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
contrib | ||
doc | ||
ebtree | ||
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)