mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-13 11:39:06 +02:00
624979cf3bc3b30a8d0e2d959863345d9b8d2145
When a "replace-header" action is used, we loop on all headers in the message to change value of all headers matching a name. The new value is placed in a trash. However, there is a race here because if the message must be defragmented, another trash is used. If several defragmentation are performed because several headers must be updated at same time, the first trash, used to store the new value, may be crushed. Indeed, there are only 2 pre-allocated trash used in rotation. and the trash to store the new value is never renewed. As consequece, random data may be inserted into the header value. Here, to fix the issue, we must take care to refresh the trash buffer when we evaluated a new header. This way, a trash used for the new value, and eventually another way for the htx defragmentation. But that's all. Thanks to Christian Ruppert for his detailed report. This patch must be to all stable versions. On the 2.0, the patch must be applied on src/proto_htx.c and the function is named htx_transform_header_str().
…
…
…
…
…
…
…
…
…
…
…
…
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
haproxy public development tree. Unstable code.
cachecachingddos-mitigationfastcgihaproxyhigh-availabilityhigh-performancehttphttp2httpsipv6load-balancerproxyproxy-protocolreverse-proxytls13
Readme
252 MiB
Languages
C
98%
Shell
0.9%
Makefile
0.5%
Lua
0.2%
Python
0.2%