在HttpParser中集成解压缩模块并编写对应的单元测试用例。
This commit is contained in:
@@ -66,7 +66,7 @@ struct hf_content_converter * hf_content_converter_create(enum hf_content_conv_w
|
||||
}
|
||||
else if (content_encode == HTTP_ACCEPT_ENCODING_DEFLATE)
|
||||
{
|
||||
ret = inflateInit(cv_object->z_stream_ptr);
|
||||
ret = inflateInit2(cv_object->z_stream_ptr, -MAX_WBITS);
|
||||
}
|
||||
|
||||
if (ret != Z_OK) goto __errout;
|
||||
|
||||
Reference in New Issue
Block a user