commit | 427c846cc97d9b3994541a36b91a91c4e57112fe | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 11 16:19:12 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 11 16:26:00 2020 +0100 |
tree | b1776d93b905e223b65af3a040de9183911191e2 | |
parent | 586f71b43f05a36444367a9e7aca560b83307100 [diff] |
MINOR: protocol: add a ->drain() function at the connection control layer This is what we need to drain pending incoming data from an connection. The code was taken from conn_sock_drain() without the connection-specific stuff. It still takes a connection for now for API simplicity.