From 6ea4ee94f96cda494c493fadd9d445d2fd202834 Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Tue, 9 Dec 2014 15:43:51 +0100 Subject: Curl_client_write() & al.: chop long data, convert data only once. --- lib/sendf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/sendf.h') diff --git a/lib/sendf.h b/lib/sendf.h index 23c720661..86f06cf9b 100644 --- a/lib/sendf.h +++ b/lib/sendf.h @@ -51,6 +51,8 @@ void Curl_failf(struct SessionHandle *, 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; -- cgit v1.2.1