diff options
author | 2018-10-11 15:27:27 -0400 | |
---|---|---|
committer | 2018-10-11 15:27:27 -0400 | |
commit | c8d5db17173318ff5efe3e0721bca3340251f738 (patch) | |
tree | ad870acecce5b60eb1f17d70d9f5ab97c07c75de /src/zlib | |
parent | 73c99f890a42479bc82e2c0ab132a97cbcf8434a (diff) |
Update TCP read estimates as soon as we read the whole buffer.
If we have a continous stream of bytes on the socket, we will
never grow the buffer, because we will never get EAGAIN, and
call finish. This is a serious performance issue, which can
be misued.
As soon as we have a full buffer, update the estimate.
Diffstat (limited to 'src/zlib')
0 files changed, 0 insertions, 0 deletions