Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-866

Socket.setSoLinger(): change from seconds to milliseconds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4.5
    • 2.4.4
    • None

      We mistakenly assumed that the argument to setSoLinger() was millisconds, but it is seconds. So in some cases we have a value of 500, which is 500 seconds, so close to useless.

      Change this to use seconds, e.g. a value of 2.

      Better: back port the 2.6 solution where we make socket close, read and connect timeouts configurable.

              rhn-support-jawilson Jimmy Wilson
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: