nghttpx: Fix bug that bytes are doubly counted for TLS connections

This commit is contained in:
Tatsuhiro Tsujikawa 2016-09-04 17:28:50 +09:00
parent 136aae725f
commit ded576f423
1 changed files with 0 additions and 4 deletions

View File

@ -625,8 +625,6 @@ ssize_t Connection::write_tls(const void *data, size_t len) {
}
}
wlimit.drain(rv);
update_tls_warmup_writelen(rv);
return rv;
@ -678,8 +676,6 @@ ssize_t Connection::read_tls(void *data, size_t len) {
}
}
rlimit.drain(rv);
return rv;
}