diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-10-01 15:40:05 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-10-02 07:46:05 +0200 |
commit | f0f053fed034bacf956a9f32ea65529b0b123247 (patch) | |
tree | bb3f25d59646cb85cd64728e4c95d3c6df436da4 /lib/http.h | |
parent | ac830139dadf4abd48232e3eb5ce0c8d06d19dcf (diff) |
chunked-encoding: stop hiding the CURLE_BAD_CONTENT_ENCODING error
Unknown content-encoding would get returned as CURLE_WRITE_ERROR if the
response is chunked-encoded.
Reported-by: Ilya Kosarev
Fixes #4310
Closes #4449
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/http.h b/lib/http.h index f0ddec759..a3a275702 100644 --- a/lib/http.h +++ b/lib/http.h @@ -83,11 +83,6 @@ CURLcode Curl_http(struct connectdata *conn, bool *done); CURLcode Curl_http_done(struct connectdata *, CURLcode, bool premature); CURLcode Curl_http_connect(struct connectdata *conn, bool *done); -/* The following functions are defined in http_chunks.c */ -void Curl_httpchunk_init(struct connectdata *conn); -CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap, - ssize_t length, ssize_t *wrote); - /* These functions are in http.c */ CURLcode Curl_http_input_auth(struct connectdata *conn, bool proxy, const char *auth); |