nghttpx: Fix bug that bytes are doubly counted for TLS connections
This commit is contained in:
parent
136aae725f
commit
ded576f423
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue