aboutsummaryrefslogtreecommitdiff
path: root/src/conn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/conn.cpp')
-rw-r--r--src/conn.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conn.cpp b/src/conn.cpp
index 5b01745..15f90bc 100644
--- a/src/conn.cpp
+++ b/src/conn.cpp
@@ -136,6 +136,7 @@ void ConnPool::Conn::_recv_data(const conn_t &conn, int fd, int events) {
conn->recv_buffer.push(std::move(buff_seg));
}
//ev_read.add();
+ conn->ready_recv = false;
conn->cpool->on_read(conn);
}
@@ -223,6 +224,7 @@ void ConnPool::Conn::_recv_data_tls(const conn_t &conn, int fd, int events) {
buff_seg.resize(ret);
conn->recv_buffer.push(std::move(buff_seg));
}
+ conn->ready_recv = false;
conn->cpool->on_read(conn);
}