Uploaded image for project: 'JBoss Remoting'
  1. JBoss Remoting
  2. JBREM-1318

Zero is a valid value so SoLinger

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.5.4.SP4
    • Fix Version/s: 2.5.4.SP5
    • Component/s: general
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dgrove_redhat.com Doug Grove (Inactive)
              Archiver:
              samahaja Sagar Mahajan

                Dates

                Created:
                Updated:
                Resolved:
                Archived: