aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-02-07 09:32:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-02-07 09:32:40 +0000
commitc40b4f6c3977497bc4b2d248554f13ea82354b76 (patch)
treebed1e0b707c6705ae0ea47f1280af464bbcbac89 /lib
parentd3b96dd3942cc3758025687184437af7bd87d18c (diff)
don't add 2 to the post size, that was a previous mistake because there
was an extra CRLF added to the post data
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 9ceeb0fbf..07a202b96 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -831,7 +831,7 @@ CURLcode Curl_http(struct connectdata *conn)
data->set.in = (FILE *)&http->form;
add_bufferf(req_buffer,
- "Content-Length: %d\r\n", http->postsize-2);
+ "Content-Length: %d\r\n", http->postsize);
if(!checkheaders(data, "Expect:")) {
/* if not disabled explicitly we add a Expect: 100-continue