mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-16 22:51:49 +02:00
8dd348c90c5c6c5c7ea4a304a1e44692cd4a84ae
This partially reverts commit1113116b4a("MEDIUM: raw-sock: remove obsolete calls to fd_{cant,cond,done}_{send,recv}") so that we can mark the FD not ready as required since commit19bc201c9f("MEDIUM: connection: remove the intermediary polling state from the connection"). Indeed, with the removal of the latter we don't have any other reliable indication that the FD is blocked, which explains why there are so many EAGAIN in traces. It's worth noting that a short read or a short write are also reliable indicators of exhausted buffers and are even documented as such in the epoll man page in case of edge-triggered mode. That's why we also report the FD as blocked in such a case. With this change we completely got rid of EAGAIN in keep-alive tests, but they were expectedly transferred to epoll_ctl: $ ./h1load -n 100000 -t 4 -c 1000 -T 20 -F 127.0.0.1:8001/?s=1k/t=20 before: 266331 epoll_ctl 1 200000 sendto 1 200000 recvfrom 1 135757 recvfrom -1 8626 epoll_wait 1 after: 394865 epoll_ctl 1 200000 sendto 1 200000 recvfrom 1 10748 epoll_wait 1 1999 recvfrom -1
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
254 MiB
Languages
C
98%
Shell
0.9%
Makefile
0.5%
Lua
0.2%
Python
0.2%