mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
Shmulik Regev fixed an issue with multi-pass authentication and compressed
content when libcurl didn't honor the internal ignorebody flag.
This commit is contained in:
parent
10beb36b1c
commit
29e446e508
3 changed files with 10 additions and 3 deletions
|
|
@ -1158,12 +1158,14 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||
|
||||
case DEFLATE:
|
||||
/* Assume CLIENTWRITE_BODY; headers are not encoded. */
|
||||
result = Curl_unencode_deflate_write(data, k, nread);
|
||||
if(!k->ignorebody)
|
||||
result = Curl_unencode_deflate_write(data, k, nread);
|
||||
break;
|
||||
|
||||
case GZIP:
|
||||
/* Assume CLIENTWRITE_BODY; headers are not encoded. */
|
||||
result = Curl_unencode_gzip_write(data, k, nread);
|
||||
if(!k->ignorebody)
|
||||
result = Curl_unencode_gzip_write(data, k, nread);
|
||||
break;
|
||||
|
||||
case COMPRESS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue