From 2226189743b597c7ccccf5dfeccae84c7b35ec43 Mon Sep 17 00:00:00 2001 From: reger Date: Sun, 13 Oct 2013 07:24:33 +0200 Subject: [PATCH] disable domainhandler due to error - domainhandler causes closed response output stream in following handlers on addresses resolved to local peer (like in hello protocoll preventing peer to switch to senior peer) --- source/net/yacy/http/Jetty8HttpServerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/net/yacy/http/Jetty8HttpServerImpl.java b/source/net/yacy/http/Jetty8HttpServerImpl.java index 16131e239..81b60a722 100644 --- a/source/net/yacy/http/Jetty8HttpServerImpl.java +++ b/source/net/yacy/http/Jetty8HttpServerImpl.java @@ -98,7 +98,8 @@ public class Jetty8HttpServerImpl implements YaCyHttpServer { // define list of YaCy specific general handlers HandlerList handlers = new HandlerList(); handlers.setHandlers(new Handler[] - {domainHandler, new ProxyCacheHandler(), new ProxyHandler() + //TODO: domainHandler causes a closed response.outputstream if resolved to local address + {/*domainHandler,*/ new ProxyCacheHandler(), new ProxyHandler() /*, resource_handler, new DefaultHandler() */}); // context handler for dispatcher and security (hint: dispatcher requires a context)