mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
With the previous commit 03627245c ("BUG/MEDIUM: mux-h1: Trim excess server data at the end of a transaction"), we try to avoid to handle junk data coming from a server as a response. But it only works for data already received. Starting from the moment a server sends an invalid response, it is safer to close the connection too, because more data may come after and there is no good reason to handle them. So now, when a conn_stream is detached from a server connection, if there are some unexpected input data, we simply trim them and close the connection ASAP. We don't close it immediately only if there are still some outgoing data to deliver to the server. This patch must be backported to 2.0 and 1.9.
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)
Description
Languages
C
98.1%
Shell
0.8%
Makefile
0.5%
Lua
0.2%
Python
0.2%