mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-18 11:47:03 +00:00
haproxy public development tree
Now the connect() step becomes an action. It's still implicit before any -c/-s but it allows the listener to close() before connect() happens, showing the polling status for this condition: $ dev/poll/poll -v -l clo -c pol #### BEGIN #### cmd #1 stp #1: do_clo(3): ret=0 cmd #2 stp #0: do_con(4): ret=-1 (Connection refused) cmd #2 stp #1: do_pol(4): ret=1 ev=0x14 (OUT HUP) #### END #### which differs from a case where the server closes the just accepted connection: $ dev/poll/poll -v -s clo -c pol #### BEGIN #### cmd #1 stp #0: do_con(4): ret=0 cmd #1 stp #0: do_acc(3): ret=5 cmd #1 stp #1: do_clo(5): ret=0 cmd #2 stp #1: do_pol(4): ret=1 ev=0x2005 (IN OUT RDHUP) #### END #### It's interesting to see OUT+HUP since HUP indicates that both directions were closed, hence nothing may be written now, thus OUT just wants the write handler to be notified. |
||
---|---|---|
.github | ||
addons | ||
admin | ||
dev | ||
doc | ||
examples | ||
include | ||
reg-tests | ||
scripts | ||
src | ||
tests | ||
.cirrus.yml | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
BRANCHES | ||
CHANGELOG | ||
CONTRIBUTING | ||
INSTALL | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
README | ||
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)