]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: make conn_sock_drain() work for all socket families
authorWilly Tarreau <w@1wt.eu>
Fri, 24 Aug 2018 12:31:53 +0000 (14:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Aug 2018 12:45:46 +0000 (14:45 +0200)
commite215bba956e8c7c5fdd98cc15d5b645530a24825
tree13268bed089ce8cf555d6663d591e4d62801dd49
parentfe5d2ac65fd58a8320e8dc725219c1bce5839592
MINOR: connection: make conn_sock_drain() work for all socket families

This patch improves the previous fix by implementing the socket draining
code directly in conn_sock_drain() so that it always applies regardless
of the protocol's family. Thus it gets rid of tcp_drain().
include/proto/proto_tcp.h
src/connection.c
src/proto_tcp.c
src/proto_uxst.c