These are two other areas where this fd_stop_recv()/fd_stop_send() makes no
sense anymore. Both happen by definition while the FD is *not* subscribed,
since nowadays it's subscribed after failing recv()/send(), in which case
we cannot close.
{
c->flags |= CO_FL_SOCK_RD_SH;
if (conn_ctrl_ready(c)) {
- fd_stop_recv(c->handle.fd);
/* we don't risk keeping ports unusable if we found the
* zero from the other side.
*/
{
c->flags |= CO_FL_SOCK_WR_SH;
if (conn_ctrl_ready(c)) {
- fd_stop_send(c->handle.fd);
/* don't perform a clean shutdown if we're going to reset or
* if the shutr was already received.
*/