[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 2 23:54:01 EDT 2013


    [ https://issues.jboss.org/browse/JBREM-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829646#comment-12829646 ] 

Ron Sigal commented on JBREM-1318:
----------------------------------

Oh, I see.  Linking this issue to JBREM-1307.
                
> 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.SP3
>            Reporter: Doug Grove
>            Priority: Minor
>
> 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