aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/zlib
diff options
context:
space:
mode:
authorGravatar Soheil Hassas Yeganeh <soheil@google.com>2018-10-11 15:27:27 -0400
committerGravatar Soheil Hassas Yeganeh <soheil@google.com>2018-10-11 15:27:27 -0400
commitc8d5db17173318ff5efe3e0721bca3340251f738 (patch)
treead870acecce5b60eb1f17d70d9f5ab97c07c75de /src/zlib
parent73c99f890a42479bc82e2c0ab132a97cbcf8434a (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