[jboss-remoting-issues] [JBoss JIRA] (JBREM-1318) Zero is a valid value so SoLinger

Ron Sigal (JIRA) jira-events at lists.jboss.org
Sat Nov 9 19:33:05 EST 2013


     [ https://issues.jboss.org/browse/JBREM-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ron Sigal updated JBREM-1318:
-----------------------------

        Fix Version/s: 2.5.4.SP5
    Affects Version/s: 2.5.4.SP4
                           (was: 2.5.4.SP3)

    
> 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-remoting-issues mailing list