haproxy/contrib
Willy Tarreau 8e3c6ce75a MEDIUM: connection: get rid of data->init() which was not for data
The ->init() callback of the connection's data layer was only used to
complete the session's initialisation since sessions and streams were
split apart in 1.6. The problem is that it creates a big confusion in
the layers' roles as the session has to register a dummy data layer
when waiting for a handshake to complete, then hand it off to the
stream which will replace it.

The real need is to notify that the transport has finished initializing.
This should enable a better splitting between these layers.

This patch thus introduces a connection-specific callback called
xprt_done_cb() which informs about handshake successes or failures. With
this, data->init() can disappear, CO_FL_INIT_DATA as well, and we don't
need to register a dummy data->wake() callback to be notified of errors.
2017-08-30 07:04:04 +02:00
..
base64 [CONTRIB] add base64rev-gen.c that was used to generate the base64rev table. 2010-01-31 19:14:07 +01:00
debug MEDIUM: connection: get rid of data->init() which was not for data 2017-08-30 07:04:04 +02:00
halog BUILD: don't use type "uint" which is not portable 2014-05-28 23:05:07 +02:00
ip6range BUILD: contrib: fix ip6range build on Centos 7 2016-11-22 11:50:51 +01:00
iprange MINOR: contrib: make the iprange tool grep for addresses 2012-12-13 00:11:02 +01:00
mod_defender BUG/MINOR: contrib/mod_defender: build fix 2017-07-19 14:35:24 +02:00
modsecurity BUG/MINOR: contrib/modsecurity: BSD build fix 2017-07-19 14:34:31 +02:00
netsnmp-perl [CONTRIB] Update Cacti Tempates 2010-10-30 19:04:36 +02:00
plug_qdisc CONTRIB: plug qdiscs: Plug queuing disciplines mini HOWTO. 2017-06-14 16:22:34 +02:00
selinux [CONTRIB] selinux policy for haproxy 2009-03-21 10:15:00 +01:00
spoa_example REORG: spoe: move spoe_encode_varint / spoe_decode_varint from spoe to common 2017-04-27 11:50:41 +02:00
systemd MAJOR: systemd-wrapper: get rid of the wrapper 2017-06-02 10:56:32 +02:00
tcploop CONTRIB: tcploop: add action "X" to execute a command 2017-05-03 06:58:53 +02:00
trace MINOR: add a new function call tracer for debugging purposes 2012-05-26 00:12:37 +02:00