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

IoSession.readBufferSize becomes different from Socket.receiveBufferSize when receiveBufferSize is configured too small.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.0.1
    • 1.0.2
    • Transport
    • None

    Description

      Calling SocketSessionConfig.setReceiveBufferSize() with very small value (e.g. 512) will cause the specified buffer size to be adjusted to the minimum value supported by operating system (e.g. 1024). IoSession.readBufferSize doesn't check the actual receiveBufferSize value after setting the buffer size, so there's undesired difference between receiveBufferSize and readBufferSize.

      Attachments

        Activity

          People

            trustin Trustin Lee
            trustin Trustin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: