[gzip] Add support for `gzip' encoded header (#9812).
This commit is contained in:
parent
78c02bc110
commit
6a92b1fadd
|
@ -1,3 +1,10 @@
|
||||||
|
2019-06-11 Moazin Khatti <moazinkhatri@gmail.com>
|
||||||
|
|
||||||
|
[gzip] Add support for `gzip' encoded header.
|
||||||
|
|
||||||
|
* src/gzip/ftgzip.c (FT_Gzip_Uncompress): Modify the the call to
|
||||||
|
`inflateInit2' to enable support for `gzip' encoded headers.
|
||||||
|
|
||||||
2019-06-10 Alexei Podtelezhnikov <apodtele@gmail.com>
|
2019-06-10 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||||
|
|
||||||
[type1,type42] Use `const' for string literals.
|
[type1,type42] Use `const' for string literals.
|
||||||
|
|
|
@ -746,7 +746,7 @@
|
||||||
stream.zfree = (free_func) ft_gzip_free;
|
stream.zfree = (free_func) ft_gzip_free;
|
||||||
stream.opaque = memory;
|
stream.opaque = memory;
|
||||||
|
|
||||||
err = inflateInit2( &stream, MAX_WBITS );
|
err = inflateInit2( &stream, MAX_WBITS|32 );
|
||||||
if ( err != Z_OK )
|
if ( err != Z_OK )
|
||||||
return FT_THROW( Invalid_Argument );
|
return FT_THROW( Invalid_Argument );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue