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

Receive buffer size is never set for NIO acceptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 2.0.22, 2.1.3
    • 2.1.4, 2.0.24
    • Transport
    • 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

              Unassigned Unassigned
              the-thing Marcin L
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: