Issue #1983 Warn on connection failures
Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
8cc9f9ddcf
commit
6ac4e770a6
|
@ -104,6 +104,9 @@ public class ALPNServerConnectionFactory extends NegotiatingServerConnectionFact
|
||||||
return connection;
|
return connection;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw new IllegalStateException("No ALPNProcessor for " + engine);
|
|
||||||
|
if (LOG.isDebugEnabled())
|
||||||
|
LOG.debug("No ALPNProcessor: {} {}",engine,endPoint);
|
||||||
|
throw new IllegalStateException("Connection rejected: No ALPN Processor for " + engine.getClass().getName() + " from " + processors);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -666,6 +666,7 @@ public class ManagedSelector extends ContainerLifeCycle implements Dumpable
|
||||||
protected void failed(Throwable failure)
|
protected void failed(Throwable failure)
|
||||||
{
|
{
|
||||||
closeNoExceptions(channel);
|
closeNoExceptions(channel);
|
||||||
|
LOG.warn(String.valueOf(failure));
|
||||||
LOG.debug(failure);
|
LOG.debug(failure);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue