Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-296

READ_TIMEOUT and WRITE_TIMEOUT options not set when opening new channel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.4.6.Final, 3.5.0.Final
    • 3.4.5.Final, 3.5.0.Beta6
    • nio-impl
    • None

    Description

      In WorkerThread#openTcpStreamConnection() and WorkerThread#acceptTcpStreamConnection(), when new NioSocketStreamConnection is created, READ_TIMEOUT and WRITE_TIMEOUT options should be set, if they are defined in optionMap parameter.

      https://github.com/xnio/xnio/blob/9dda953cd6eb9945159ec7400b4e709452eab894/nio-impl/src/main/java/org/xnio/nio/WorkerThread.java#L261

      I think this is a root cause for JBEAP-10038 and JBEAP-10259.

      Attachments

        Issue Links

          Activity

            People

              thofman Tomas Hofman
              thofman Tomas Hofman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: