diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-02-16 10:23:44 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-02-16 22:54:08 +0100 |
commit | 367689d8c91228139af735b51ae9ec4968e2df3d (patch) | |
tree | 9407af1fe9df11a12b35c5be72623c282b233ca9 /lib/sendf.h | |
parent | 5e17a5f6cf1d25a219626b0c14f72694d029688d (diff) | |
download | curl-367689d8c91228139af735b51ae9ec4968e2df3d.tar.gz |
header callback: don't chop headers into smaller pieces
Reported-by: Guido Berhoerster
Fixes #2314
Closes #2316
Diffstat (limited to 'lib/sendf.h')
-rw-r--r-- | lib/sendf.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sendf.h b/lib/sendf.h index fbe4f99c8..7c9134dec 100644 --- a/lib/sendf.h +++ b/lib/sendf.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -51,8 +51,6 @@ void Curl_failf(struct Curl_easy *, const char *fmt, ...); #define CLIENTWRITE_HEADER (1<<1) #define CLIENTWRITE_BOTH (CLIENTWRITE_BODY|CLIENTWRITE_HEADER) -CURLcode Curl_client_chop_write(struct connectdata *conn, int type, char *ptr, - size_t len) WARN_UNUSED_RESULT; CURLcode Curl_client_write(struct connectdata *conn, int type, char *ptr, size_t len) WARN_UNUSED_RESULT; |