]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CONTRIB: tcploop: implement a disconnect operation 'D'
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Oct 2020 06:09:48 +0000 (08:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 14 Oct 2020 06:46:23 +0000 (08:46 +0200)
commit2e065cbbf64a31ed7704c9a37e280b36a031f216
tree148110d6a434a5075a435af06aa20e26dc415c8a
parent258b351704055c03f3358b8b44d74ddf784c881c
CONTRIB: tcploop: implement a disconnect operation 'D'

This performs a connect(AF_UNSPEC) over an existing connection. This is
mainly for compatibility testing. At this step it only seems to work on
linux for TCP sockets (both listening and established), while SO_LINGER
successfully resets established connections on freebsd and aix.
contrib/tcploop/tcploop.c