nghttpx: Don't reset read timer on write in memcached connection

This commit is contained in:
Tatsuhiro Tsujikawa 2016-06-24 00:11:29 +09:00
parent cbced219ec
commit 532f801fbd
1 changed files with 0 additions and 4 deletions

View File

@ -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);