mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-09 01:20:40 -04:00
HAProxy - Load balancer
This change make the payload filtering uniform between TCP and HTTP filters. Now, in TCP, like in HTTP, there is only one callback responsible to forward data. Thus, old callbacks, tcp_data() and tcp_forward_data(), are replaced by a single callback function, tcp_payload(). This new callback gets the offset in the payload to (re)start the filtering and the maximum amount of data it can forward. It is the filter's responsibility to be compatible with HTX streams. If not, it must not set the flag FLT_CFG_FL_HTX. Because of this change, nxt and fwd offsets are no longer needed. Thus they are removed from the filter structure with their update functions, flt_change_next_size() and flt_change_forward_size(). Moreover, the trace filter has been updated accordingly. This patch breaks the compatibility with the old API. Thus it should probably not be backported. But, AFAIK, there is no TCP filter, thus the breakage is very limited. |
||
|---|---|---|
| .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)