<div dir="ltr">Is there way to cancel an outstanding WebSocketContainer.connectToServer(...) request ? A connection attempt to an offline server blocks a very long time (minutes), and debugging would indicate IoFuture<WebSocketChannel> seems unwilling to respect an interrupt/cancel from the main thread.<br>
<div><br>IoFuture<WebSocketChannel> session = WebSocketClient.connect(xnioWorker, ssl, bufferPool, OptionMap.EMPTY, path, WebSocketVersion.V13, clientNegotiation); //TODO: fix this<br> WebSocketChannel channel = session.get();<br>
</div></div>