projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3b96dd
)
don't add 2 to the post size, that was a previous mistake because there
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 7 Feb 2002 09:32:40 +0000
(09:32 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 7 Feb 2002 09:32:40 +0000
(09:32 +0000)
was an extra CRLF added to the post data
lib/http.c
patch
|
blob
|
history
diff --git
a/lib/http.c
b/lib/http.c
index
9ceeb0f
..
07a202b
100644
(file)
--- 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