of this is zlib's business.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475403
13f79535-47bb-0310-9956-
ffa450edef68
"Zlib: %d bytes of garbage at the end of "
"compressed stream.", ctx->stream.avail_in);
}
+ /*
+ * There is nothing worth consuming for zlib left, because it is
+ * either garbage data or the data has been copied to the
+ * validation buffer (processing validation data is no business for
+ * zlib). So set ctx->stream.avail_in to zero to indicate this to
+ * the following while loop.
+ */
+ ctx->stream.avail_in = 0;
}
zRC = Z_OK;