summaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-20 10:58:12 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-21 13:19:58 +0100
commitc977a6d0dc2b124168af0746915564a371427ee0 (patch)
treebfb40023d9da4febc0ea7e6a240594e3c7744a49 /lib/http.c
parent0a5827571f97feded67d6abc837c332224917f75 (diff)
downloadcurl-c977a6d0dc2b124168af0746915564a371427ee0.tar.gz
chunk/encoding: remove conn->data references
... by anchoring more functions on Curl_easy instead of connectdata Closes #6498
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/http.c b/lib/http.c
index b0bca64c4..055103430 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1566,7 +1566,7 @@ CURLcode Curl_http_done(struct Curl_easy *data,
data->state.authhost.multipass = FALSE;
data->state.authproxy.multipass = FALSE;
- Curl_unencode_cleanup(conn);
+ Curl_unencode_cleanup(data);
/* set the proper values (possibly modified on POST) */
conn->seek_func = data->set.seek_func; /* restore */
@@ -3427,7 +3427,7 @@ CURLcode Curl_http_header(struct Curl_easy *data, struct connectdata *conn,
* of chunks, and a chunk-data set to zero signals the
* end-of-chunks. */
- result = Curl_build_unencoding_stack(conn, headp + 18, TRUE);
+ result = Curl_build_unencoding_stack(data, headp + 18, TRUE);
if(result)
return result;
}
@@ -3440,7 +3440,7 @@ CURLcode Curl_http_header(struct Curl_easy *data, struct connectdata *conn,
* 2616). zlib cannot handle compress. However, errors are
* handled further down when the response body is processed
*/
- result = Curl_build_unencoding_stack(conn, headp + 17, FALSE);
+ result = Curl_build_unencoding_stack(data, headp + 17, FALSE);
if(result)
return result;
}