* get http request: clear hold buffer before starting to read in HTTP request.
[citadel.git] / webcit / webcit.c
index b98374e26863a74a86e8ce8cecbfbbe23733023c..bbf986c3de7c4d27b40ee1462c8d349fc794e92a 100644 (file)
@@ -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);