nghttpx: Don't reset read timer on write in memcached connection
This commit is contained in:
parent
cbced219ec
commit
532f801fbd
|
@ -281,8 +281,6 @@ int MemcachedConnection::write_tls() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ev_timer_again(conn_.loop, &conn_.rt);
|
|
||||||
|
|
||||||
if (sendq_.empty()) {
|
if (sendq_.empty()) {
|
||||||
conn_.wlimit.stopw();
|
conn_.wlimit.stopw();
|
||||||
ev_timer_stop(conn_.loop, &conn_.wt);
|
ev_timer_stop(conn_.loop, &conn_.wt);
|
||||||
|
@ -355,8 +353,6 @@ int MemcachedConnection::write_clear() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ev_timer_again(conn_.loop, &conn_.rt);
|
|
||||||
|
|
||||||
if (sendq_.empty()) {
|
if (sendq_.empty()) {
|
||||||
conn_.wlimit.stopw();
|
conn_.wlimit.stopw();
|
||||||
ev_timer_stop(conn_.loop, &conn_.wt);
|
ev_timer_stop(conn_.loop, &conn_.wt);
|
||||||
|
|
Loading…
Reference in New Issue