Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-488

SingleCoreIOReactor.connect methods timeout parameter do not have effect.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.0-alpha4
    • 5.0-beta1
    • HttpCore NIO
    • None

    Description

      In my opinion , timeout parameter in connect method means connectTimeout.
      In InternalConnectChannel.onIOEvent ,if (readyOps & SelectionKey.OP_CONNECT) != 0 then the socketChannel will connect to the server.However , at this time,
      Perhaps It is connection time out already.
      So i suggest check connecttimeout at InternalConnectChannel.onIOEvent methods
      When there is SelectionKey.OP_CONNECT event happend

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              silver9886 silver9886
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: