aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/salticidae/conn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/conn.h b/include/salticidae/conn.h
index ea5ccf2..a60cd8f 100644
--- a/include/salticidae/conn.h
+++ b/include/salticidae/conn.h
@@ -204,7 +204,7 @@ class ConnPool {
.get_queue()
.reg_handler(this->ec, [conn, client_fd]
(MPSCWriteBuffer::queue_t &) {
- if (conn->ready_send && conn->self_ref)
+ if (conn->ready_send)
{
conn->ev_socket.del();
conn->ev_socket.add(Event::READ | Event::WRITE);