[jboss-jira] [JBoss JIRA] Created: (JGRP-745) FD_SOCK: add timeout to create socket to peer

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon Apr 28 03:58:13 EDT 2008


FD_SOCK: add timeout to create socket to peer
---------------------------------------------

                 Key: JGRP-745
                 URL: http://jira.jboss.com/jira/browse/JGRP-745
             Project: JGroups
          Issue Type: Task
            Reporter: Bela Ban
         Assigned To: Bela Ban
            Priority: Minor
             Fix For: 2.6.3, 2.7


In FD_SOCK.setupPingSocket(), a new socket is created to the peer:

ping_sock=new Socket(dest.getIpAddress(), dest.getPort());

If the IP packets are discarded at the IP level (e.g. by a firewall), the TCP connection will not get established, but will not fail either ! 
SOLUTION: use a socket timeout



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list