bugfix: 修改brotli压缩等级
This commit is contained in:
@@ -249,6 +249,8 @@ struct hf_content_compress * hf_content_compress_create(unsigned int content_enc
|
||||
{
|
||||
cv_object->brenc_state = BrotliEncoderCreateInstance(NULL, NULL, NULL);
|
||||
if (unlikely(cv_object->brenc_state == NULL)) goto __errout;
|
||||
|
||||
BrotliEncoderSetParameter(cv_object->brenc_state, BROTLI_PARAM_QUALITY, 3);
|
||||
}
|
||||
|
||||
return cv_object;
|
||||
|
||||
Reference in New Issue
Block a user