hyper: does not support disabling CURLOPT_HTTP_TRANSFER_DECODING

Simply because hyper doesn't have this ability. Mentioned in docs now.

Skip test 326 then

Closes #7889
This commit is contained in:
Daniel Stenberg 2021-10-22 08:44:14 +02:00
parent f852f908a9
commit 1732502cb0
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 10 additions and 2 deletions

View file

@ -2516,8 +2516,12 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
/*
* disable libcurl transfer encoding is used
*/
#ifndef USE_HYPER
data->set.http_te_skip = (0 == va_arg(param, long)) ? TRUE : FALSE;
break;
#else
return CURLE_NOT_BUILT_IN; /* hyper doesn't support */
#endif
case CURLOPT_HTTP_CONTENT_DECODING:
/*