haproxy/contrib
Willy Tarreau bbae3f0170 MEDIUM: connection: remove useless flag CO_FL_DATA_WR_SH
After careful inspection, this flag is set at exactly two places :
  - once in the health-check receive callback after receipt of a
    response
  - once in the stream interface's shutw() code where CF_SHUTW is
    always set on chn->flags

The flag was checked in the checks before deciding to send data, but
when it is set, the wake() callback immediately closes the connection
so the CO_FL_SOCK_WR_SH flag is also set.

The flag was also checked in si_conn_send(), but checking the channel's
flag instead is enough and even reveals that one check involving it
could never match.

So it's time to remove this flag and replace its check with a check of
CF_SHUTW in the stream interface. This way each layer is responsible
for its shutdown, this will ease insertion of the mux layer.
2017-08-30 10:05:49 +02:00
..
base64
debug MEDIUM: connection: remove useless flag CO_FL_DATA_WR_SH 2017-08-30 10:05:49 +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
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
plug_qdisc CONTRIB: plug qdiscs: Plug queuing disciplines mini HOWTO. 2017-06-14 16:22:34 +02:00
selinux
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