Mercurial > hg > nginx
comparison auto/feature @ 5876:973fded4f461
Gzip, gunzip: flush busy buffers if any.
Previous code resulted in transfer stalls when client happened
to read all the data in buffers at once, while all gzip buffers
were exhausted (but ctx->nomem wasn't set). Make sure to call
next body filter at least once per call if there are busy buffers.
Additionally, handling of calls with NULL chain was changed to follow
the same logic, i.e., next body filter is only called with NULL chain
if there are busy buffers. This is expected to fix "output chain is empty"
alerts as reported by some users after c52a761a2029 (1.5.7).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 15 Oct 2014 22:57:23 +0400 |
parents | 434548349838 |
children | e3faa5fb7772 |
comparison
equal
deleted
inserted
replaced
5875:d91b98232e4c | 5876:973fded4f461 |
---|