971a0a13bd
When NettyConnection.classSSLAndChannel is called from the EventLoop, waiting for the SSL handler to close will always take 10 seconds, because the sslCloseFuture is from a task that is scheduled with the same EventLoop. But since the EventLoop is a single threaded executor, it will only be executed after the current task is completed. Due to the single threaded nature of the EventLoop, all blocking calls should be avoided. Therefore, I removed both awaitUninterruptibly calls if the closing happens within an event loop tasks. As a side effect, the annoying server log timeout warnings will go away. |
||
---|---|---|
.. | ||
src | ||
pom.xml |