Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

* fix for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=1415

f1oriba76995d2c4b
diff --git a/source/de/anomic/http/httpdFileHandler.java b/source/de/anomic/http/httpdFileHandler.java
index 78240b13e..92723e514 100644
--- a/source/de/anomic/http/httpdFileHandler.java
+++ b/source/de/anomic/http/httpdFileHandler.java
@@ -332,7 +332,7 @@ public final class httpdFileHandler {
int argc = 0;
if (argsString == null) {
// no args here, maybe a POST with multipart extension
- int length = 0;
+ int length = requestHeader.getContentLength();
//System.out.println("HEADER: " + requestHeader.toString()); // DEBUG
if (method.equals(httpHeader.METHOD_POST)) {