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)
pull/1/head
reger 11 years ago
parent eea504c117
commit 2226189743

@ -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)

Loading…
Cancel
Save