Some servers announce a content-encoding on a message with an empty
payload, e.g. a chunked response with only the last chunk. No data are
passed to the decoder in this case, so it never reports the end of the
compressed stream: the end of the message was held forever, and since
truncated payloads are detected, it was reported as an error.
Now the filter remembers when payload data were received. When the end
of the payload is reached without any, there is nothing to decompress
and the decompression is considered as finished, so the empty message is
forwarded. The filter was introduced in 3.5-dev6, so no backport is
needed.