projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* get http request: clear hold buffer before starting to read in HTTP request.
[citadel.git]
/
webcit
/
webcit.c
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index b98374e26863a74a86e8ce8cecbfbbe23733023c..bbf986c3de7c4d27b40ee1462c8d349fc794e92a 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-620,6
+620,7
@@
void session_loop(struct httprequest *req)
}
if (ContentLength > 0) {
+ fprintf(stderr, "Content length: %d\n", ContentLength);
content = malloc(ContentLength + 1);
read(WC->http_sock, content, ContentLength);