[jboss-jira] [JBoss JIRA] Created: (JGRP-866) Socket.setSoLinger(): change from seconds to milliseconds

Bela Ban (JIRA) jira-events at lists.jboss.org
Fri Nov 21 04:40:36 EST 2008


Socket.setSoLinger(): change from seconds to milliseconds
---------------------------------------------------------

                 Key: JGRP-866
                 URL: https://jira.jboss.org/jira/browse/JGRP-866
             Project: JGroups
          Issue Type: Bug
            Reporter: Bela Ban
            Assignee: Bela Ban
             Fix For: 2.4.5


We mistakenly assumed that the argument to setSoLinger() was millisconds, but it is seconds. So in some cases we have a value of 500, which is 500 seconds, so close to useless.

Change this to use seconds, e.g. a value of 2.

Better: back port the 2.6 solution where we make socket close, read and connect timeouts configurable.

-- 
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

        



More information about the jboss-jira mailing list