mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-01 15:01:01 +01:00
The H1 connection state will be handled is a dedicated field. To do so, h1_cs enum was added. The different states are more or less equivalent to H1C_F_ST_* flags: * H1_CS_IDLE <=> H1C_F_ST_IDLE * H1_CS_EMBRYONIC <=> H1C_F_ST_EMBRYONIC * H1_CS_UPGRADING <=> H1C_F_ST_ATTACHED && !H1C_F_ST_READY * H1_CS_RUNNING <=> H1C_F_ST_ATTACHED && H1C_F_ST_READY * H1_CS_CLOSING <=> H1C_F_ST_SHUTDOWN && (H1C_F_ST_ATTACHED || b_data(&h1c->ibuf)) * H1_CS_CLOSED <=> H1C_F_ST_SHUTDOWN && !H1C_F_ST_ATTACHED && !b_data(&h1c->ibuf) In addition, in this patch, the h1_is_alive() and h1_close() function are added. The first one will be used to know if a H1 connection is alive or not. The second one will be used to set the connection in CLOSING or CLOSED state, depending on the output buffer state and if there is still a H1 stream or not. For now, the H1 connection state is not used.
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%
Shell
0.9%
Makefile
0.5%
Lua
0.2%
Python
0.2%