internetstaff opened a new pull request #70: URL: https://github.com/apache/commons-net/pull/70
This solves a problem we have with a well-known FTPS provider hanging on TLS handshake. Currently, if the implicit mode is used, the socket timeout isn't set until super._connectAction() works its way up the chain _after_ sslNegotation(). There is no way to avoid a potentially infinite hang in the handshake. This explicitly sets the timeout that would _eventually_ be set by SocketClient._connectAction_(). There may be a more logical or cleaner way of doing this, but I'm not that familiar with this code. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org