Hello everyone, I'm having issues trying to set an idle timeout on https connections on an asynchronous HTTPS server. This is what I'm doing:
IOReactorConfig ioReactorConfig = IOReactorConfig.custom() .setIoThreadCount(4) .setSoTimeout(5000, TimeUnit.MILLISECONDS) .setTcpNoDelay(false) .setSoReuseAddress(true) .setBacklogSize(0) .build(); And passing that ioReactorConfig to DefaultListeningIOReactor, and an IOSessionListener to be notified of timed out connections. So the thing is, for plain http connections, that timeout works (my listener is called after 5 seconds, when the other end stops sending data), but on https connections, it does not work, and I need connections to be closed. Am I doing something wrong? Is there any other way of closing idle connections? Thanks and regards, Isaac Disclaimer The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.