projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ad306
)
* add the mimeheader length to the number of bytes to read from the client; client_re...
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 23 Sep 2008 22:27:48 +0000
(22:27 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 23 Sep 2008 22:27:48 +0000
(22:27 +0000)
webcit/webcit.c
patch
|
blob
|
history
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index ed2eefc54bb4670794e31eb0a197948d4b8f32d8..78d5193329ed023b9fce8e0ec50be7a4de45078f 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-1470,7
+1470,7
@@
void session_loop(HashList *HTTPHeaders, StrBuf *ReqLine, StrBuf *request_method
body_start = StrLength(content);
/** Read the entire input data at once. */
- client_read(&WCC->http_sock, content, ReadBuf, ContentLength);
+ client_read(&WCC->http_sock, content, ReadBuf, ContentLength
+ body_start
);
if (!strncasecmp(ChrPtr(ContentType), "application/x-www-form-urlencoded", 33)) {
StrBufCutLeft(content, body_start);