From 532f801fbddde2f45f0152b6b09d8577258daf8b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 24 Jun 2016 00:11:29 +0900 Subject: [PATCH] nghttpx: Don't reset read timer on write in memcached connection --- src/shrpx_memcached_connection.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/shrpx_memcached_connection.cc b/src/shrpx_memcached_connection.cc index d19feb6d..98554076 100644 --- a/src/shrpx_memcached_connection.cc +++ b/src/shrpx_memcached_connection.cc @@ -281,8 +281,6 @@ int MemcachedConnection::write_tls() { return 0; } - ev_timer_again(conn_.loop, &conn_.rt); - if (sendq_.empty()) { conn_.wlimit.stopw(); ev_timer_stop(conn_.loop, &conn_.wt); @@ -355,8 +353,6 @@ int MemcachedConnection::write_clear() { return 0; } - ev_timer_again(conn_.loop, &conn_.rt); - if (sendq_.empty()) { conn_.wlimit.stopw(); ev_timer_stop(conn_.loop, &conn_.wt);