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

Doug Grove (JIRA) jira-events at lists.jboss.org
Fri Jan 18 18:17:21 EST 2013


Doug Grove created JBREM-1318:
---------------------------------

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