mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:43:33 +03:00
content_encoding: add zstd decoding support
include zstd curl patch for Makefile.m32 from vszakats and include Add CMake support for zstd from Peter Wu Helped-by: Viktor Szakats Helped-by: Peter Wu Closes #5453
This commit is contained in:
parent
c4026a9897
commit
e13357b14b
21 changed files with 813 additions and 16 deletions
|
|
@ -695,7 +695,8 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
|||
|
||||
case 'j': /* --compressed */
|
||||
if(toggle &&
|
||||
!(curlinfo->features & (CURL_VERSION_LIBZ | CURL_VERSION_BROTLI)))
|
||||
!(curlinfo->features & (CURL_VERSION_LIBZ |
|
||||
CURL_VERSION_BROTLI | CURL_VERSION_ZSTD)))
|
||||
return PARAM_LIBCURL_DOESNT_SUPPORT;
|
||||
config->encoding = toggle;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue