haproxy/doc/internals
Willy Tarreau 4f283fa604 MEDIUM: stream-int: introduce a new state SI_ST_RDY
The main reason for all the trouble we're facing with stream interface
error or timeout reports during the connection phase is that we currently
can't make the difference between a connection attempt and a validated
connection attempt. It is problematic because we tend to switch early
to SI_ST_EST but can't always do what we want in this state since it's
supposed to be set when we don't need to visit sess_establish() again.

This patch introduces a new state betwen SI_ST_CON and SI_ST_EST, which
is SI_ST_RDY. It indicates that we've verified that the connection is
ready. It's a transient state, like SI_ST_DIS, that cannot persist when
leaving process_stream(). For now it is not set, only verified in various
tests where SI_ST_CON was used or SI_ST_EST depending on the cases.

The stream-int state diagram was minimally updated to reflect the new
state, though it is largely obsolete and would need to be seriously
updated.
2019-06-06 16:36:19 +02:00
..
acl.txt
body-parsing.txt DOC: Fix typos in different subsections of the documentation 2018-11-18 22:23:15 +01:00
buffer-api.txt MINOR: buffers: add a new b_move() function 2018-12-24 11:45:00 +01:00
connect-status.txt
connection-header.txt DOC: Fix typos in different subsections of the documentation 2018-11-18 22:23:15 +01:00
connection-scale.txt
entities-v2.txt DOC: Fix typos in different subsections of the documentation 2018-11-18 22:23:15 +01:00
entities.fig
entities.pdf
entities.svg
entities.txt DOC: Fix typos in different subsections of the documentation 2018-11-18 22:23:15 +01:00
filters.txt [RELEASE] Released version 2.0-dev3 2019-05-15 16:51:48 +02:00
hashing.txt
header-parser-speed.txt
header-tree.txt
http-cookies.txt
http-docs.txt
http-parsing.txt
list.fig
lua_socket.fig
lua_socket.pdf
naming.txt
notes-layers.txt DOC: Fix typos in different subsections of the documentation 2018-11-18 22:23:15 +01:00
pattern.dia
pattern.pdf
polling-states.fig
repartition-be-fe-fi.txt
sequence.fig
stats-v2.txt
stream-sock-states.fig MEDIUM: stream-int: introduce a new state SI_ST_RDY 2019-06-06 16:36:19 +02:00