mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:23:33 +03:00
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
This commit is contained in:
parent
ac830139da
commit
f0f053fed0
5 changed files with 39 additions and 24 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue