]> Sergey Matveev's repositories - public-inbox.git/commitdiff
nntpdeflate: reduce overhead of idle clients
authorEric Wong <e@80x24.org>
Sun, 14 Jul 2019 02:56:36 +0000 (02:56 +0000)
committerEric Wong <e@80x24.org>
Sun, 14 Jul 2019 02:57:15 +0000 (02:57 +0000)
We don't need to keep an empty buffer around in the common case
when a client is sending us completely inflatable requests and
we're able to read them in one go.

This only seems to save about 2M with 10K NNTPS clients using
COMPRESS, so it's not a huge win, but better than nothing.


No differences found