simo385 opened a new pull request #51: URL: https://github.com/apache/commons-net/pull/51
I changed the socket **DEFAULT_CONNECT_TIMEOUT** value, because, if the server doesn't reply and I don't set the connection timeout, the method _FTPClient.connect()_ hangs infinitely, blocking the whole JVM. This happens in the multi-threading environment. Even though there exist the method _setConnectTimeout()_ to set the timeout for Socket, I think a default value should be set-up in order to avoid production breakdown. Thanks to everybody. Simone ---------------------------------------------------------------- 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: [email protected]
