[jboss-jira] [JBoss JIRA] Commented: (JGRP-866) Socket.setSoLinger(): change from seconds to milliseconds
Jimmy Wilson (JIRA)
jira-events at lists.jboss.org
Tue Jan 13 02:26:04 EST 2009
[ https://jira.jboss.org/jira/browse/JGRP-866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12447505#action_12447505 ]
Jimmy Wilson commented on JGRP-866:
-----------------------------------
TCPGOSSIP now has sock_conn_timeout and sock_read_timeout attributes.
> Socket.setSoLinger(): change from seconds to milliseconds
> ---------------------------------------------------------
>
> Key: JGRP-866
> URL: https://jira.jboss.org/jira/browse/JGRP-866
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.4.4
> Reporter: Bela Ban
> Assignee: Jimmy Wilson
> 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