diff options
Diffstat (limited to 'plugin/protocol/http/src/http_convert.cpp')
| -rw-r--r-- | plugin/protocol/http/src/http_convert.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/protocol/http/src/http_convert.cpp b/plugin/protocol/http/src/http_convert.cpp index 89874ae..8cc57b6 100644 --- a/plugin/protocol/http/src/http_convert.cpp +++ b/plugin/protocol/http/src/http_convert.cpp @@ -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; |
