In FtpImpl.java also setSoTimeout(_timeout); in initialize(boolean bConnect)
----------------------------------------------------------------------------
Key: JBESB-3177
URL:
https://jira.jboss.org/jira/browse/JBESB-3177
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Transports
Affects Versions: 4.7
Reporter: jarkko Lietolahti
Currently FtpImpl.java (and the others) only set DataTimeout on m_oConn. We're seeing
firewall issues where this is not enough and we need SoTimeout for the socket in order to
avoid infinite waiting during __getReply();
So also call m_oConn.setSoTimeout(_timeout);
Aka;
if (_timeout > 0)
{
m_oConn.setDataTimeout(_timeout);
// added by jarkko lietolahti, 9.2.2010 to address hanging replies from server
m_oConn.setSoTimeout(_timeout);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira