Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-1123

Receive buffer size is never set for NIO acceptor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Staged
    • Affects Version/s: 2.0.22, 2.1.3
    • Fix Version/s: 2.1.4
    • Component/s: Transport
    • Labels:
      None

      Description

      Acceptor window size can't be increased beyond OS defaults.

      It seems the receive buffer size is properly set for org.apache.mina.transport.socket.nio.NioSocketConnector, but it is not set at all for org.apache.mina.transport.socket.nio.NioSocketAcceptor before socket is bound.

      org.apache.mina.core.polling.AbstractPollingIoAcceptor.Acceptor#registerHandles comment states that receive buffer size should be initialised, but then org.apache.mina.transport.socket.nio.NioSocketAcceptor#open does not do it.,

        Attachments

        1. case dumps.png
          30 kB
          Marcin L
        2. case3.pcap
          0.5 kB
          Marcin L
        3. case2.pcap
          0.5 kB
          Marcin L
        4. case1.pcap
          0.5 kB
          Marcin L

          Issue Links

            Activity

              People

              • Assignee:
                johnnyv Jonathan Valliere
                Reporter:
                the-thing Marcin L
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: