• M
    Permit stronger flushes after Z_BLOCK flushes. · f1ebdd6a
    Mark Adler 提交于
    The incorporation of the Z_BLOCK flush did not update the rejection
    of lower ranked flushes immediately after higher ranked flushes with
    no more input data.  This prevented an empty Z_SYNC_FLUSH right after
    a Z_BLOCK flush, which would be desired to bring the deflate stream
    to a byte boundary conditionally on whether or not it was already at
    a byte boundary.  This patch re-ranks Z_BLOCK above Z_NO_FLUSH but
    below Z_PARTIAL_FLUSH, allowing stronger empty flushes to follow a
    Z_BLOCK flush.
    f1ebdd6a
deflate.c 68.3 KB