Skip to content

Commit 5542158

Browse files
committed
Remove gzip no header mode.
This should be an invalid wbits value, but was added as a workaround for the unconsumed_tail/unused_data issue. This is no longer necessary
1 parent 9527c5b commit 5542158

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/isal/isal_zlib.pyx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -746,9 +746,6 @@ cdef wbits_to_flag_and_hist_bits_inflate(int wbits,
746746
elif 40 <= wbits <= 47: # Accept gzip or zlib
747747
hist_bits[0] = wbits - 32
748748
crc_flag[0] = ISAL_GZIP if gzip else ISAL_ZLIB
749-
elif 72 <=wbits <= 79:
750-
hist_bits[0] = wbits - 64
751-
crc_flag[0] = ISAL_GZIP_NO_HDR_VER
752749
else:
753750
raise ValueError("Invalid wbits value")
754751

0 commit comments

Comments
 (0)