Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) Bugfix of NullPointerException when sending Error Respond
theli0e48177ad850
diff --git a/source/de/anomic/http/httpd.java b/source/de/anomic/http/httpd.javaindex 95c9db869..03dfc912e 100644--- a/source/de/anomic/http/httpd.java+++ b/source/de/anomic/http/httpd.java@@ -1123,7 +1123,7 @@ public final class httpd implements serverHandler {httpHeader header = new httpHeader();header.put(httpHeader.DATE, httpc.dateString(httpc.nowDate()));header.put(httpHeader.CONTENT_TYPE, "text/html");- header.put(httpHeader.CONTENT_LENGTH, "" + o.size());+ header.put(httpHeader.CONTENT_LENGTH, "" + result.length);header.put(httpHeader.PRAGMA, "no-cache");sendRespondHeader(conProp,respond,httpVersion,httpStatusCode,httpStatusText,header);