diff --git a/src/raw_sock.c b/src/raw_sock.c index 338491c1b..06d5f4d9e 100644 --- a/src/raw_sock.c +++ b/src/raw_sock.c @@ -382,7 +382,7 @@ static size_t raw_sock_from_buf(struct connection *conn, void *xprt_ctx, const s if (ret < try) break; if (!count) - conn_xprt_stop_send(conn); + fd_stop_send(conn->handle.fd); } else if (ret == 0 || errno == EAGAIN || errno == ENOTCONN || errno == EINPROGRESS) { /* nothing written, we need to poll for write first */