aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-02-16 10:23:44 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-02-16 22:54:08 +0100
commit367689d8c91228139af735b51ae9ec4968e2df3d (patch)
tree9407af1fe9df11a12b35c5be72623c282b233ca9 /lib/easy.c
parent5e17a5f6cf1d25a219626b0c14f72694d029688d (diff)
header callback: don't chop headers into smaller pieces
Reported-by: Guido Berhoerster Fixes #2314 Closes #2316
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 4ebec7cf5..64c647be2 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -1079,10 +1079,8 @@ CURLcode curl_easy_pause(struct Curl_easy *data, int action)
/* even if one function returns error, this loops through and frees all
buffers */
if(!result)
- result = Curl_client_chop_write(conn,
- writebuf[i].type,
- writebuf[i].buf,
- writebuf[i].len);
+ result = Curl_client_write(conn, writebuf[i].type, writebuf[i].buf,
+ writebuf[i].len);
free(writebuf[i].buf);
}