[jboss-jira] [JBoss JIRA] (JBREM-1318) Zero is a valid value so SoLinger
Ron Sigal (JIRA)
jira-events at lists.jboss.org
Fri Nov 15 23:25:06 EST 2013
[ https://issues.jboss.org/browse/JBREM-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ron Sigal closed JBREM-1318.
----------------------------
> Zero is a valid value so SoLinger
> ---------------------------------
>
> Key: JBREM-1318
> URL: https://issues.jboss.org/browse/JBREM-1318
> Project: JBoss Remoting
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: general
> Affects Versions: 2.5.4.SP4
> Reporter: Doug Grove
> Priority: Minor
> Fix For: 2.5.4.SP5
>
>
> MicroSocketClientInvoker checks to see that SoLinger is greater than zero:
> if (soLingerSet &&
> soLingerDuration > 0) s.setSoLinger(soLinger, soLingerDuration);
> Zero is a valid value for SoLinger.
> The code should be changed to greater than or equal to zero.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list