diff --git a/src/shrpx_memcached_connection.cc b/src/shrpx_memcached_connection.cc index db7e64ea..3f597b44 100644 --- a/src/shrpx_memcached_connection.cc +++ b/src/shrpx_memcached_connection.cc @@ -305,13 +305,6 @@ int MemcachedConnection::write_tls() { return 0; } - if (sendq_.empty()) { - conn_.wlimit.stopw(); - ev_timer_stop(conn_.loop, &conn_.wt); - - return 0; - } - conn_.last_read = ev_now(conn_.loop); std::array iov; @@ -379,13 +372,6 @@ int MemcachedConnection::write_clear() { return 0; } - if (sendq_.empty()) { - conn_.wlimit.stopw(); - ev_timer_stop(conn_.loop, &conn_.wt); - - return 0; - } - conn_.last_read = ev_now(conn_.loop); std::array iov;