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

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon Apr 28 04:18:09 EDT 2008


    [ http://jira.jboss.com/jira/browse/JGRP-745?page=comments#action_12410873 ] 
            
Bela Ban commented on JGRP-745:
-------------------------------

Added sock_conn_timeout (default=3000)

> 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.7, 2.6.3
>
>
> 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