commit | 827fee7406feab23adf679303d3be7111eeaf568 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 11 15:26:55 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 11 16:25:11 2020 +0100 |
tree | ca4feaa343203609f0e48fc899d61a607104300b | |
parent | 3a9e56478e358be44fb5258cad4463bed97360fe [diff] |
MINOR: connection: remove sock-specific code from conn_sock_send() The send() loop present in this function and the error handling is already present in raw_sock_from_buf(). Let's rely on it instead and stop touching the FD from this place. The send flag was changed to use a more agnostic CO_SFL_*. The name was changed to "conn_ctrl_send()" to remind that it's meant to be used to send at the lowest level.