]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: protocol: remove the ->drain() function
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Oct 2020 14:05:00 +0000 (16:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 Oct 2020 19:47:04 +0000 (21:47 +0200)
commite53e7ec9d9c2444954112891c2816c88a7897ebe
tree5274158697683743c9586611e76ccd31af48ab2b
parent9e9919dd8bd99edd5eca675b81c99904af35fe6e
CLEANUP: protocol: remove the ->drain() function

No protocol defines it anymore. The last user used to be the monitor-net
stuff that got partially broken already when the tcp_drain() function
moved to conn_sock_drain() with commit e215bba95 ("MINOR: connection:
make conn_sock_drain() work for all socket families") in 1.9-dev2.

A part of this will surely move back later when non-socket connections
arrive with QUIC but better keep the API clean and implement what's
needed in time instead.
include/haproxy/protocol-t.h
src/connection.c