You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2007/01/31 03:57:33 UTC

[jira] Closed: (DIRMINA-345) IoSession.readBufferSize becomes different from Socket.receiveBufferSize when receiveBufferSize is configured too small.

     [ https://issues.apache.org/jira/browse/DIRMINA-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee closed DIRMINA-345.
-------------------------------

    Resolution: Fixed

Done.

> IoSession.readBufferSize becomes different from Socket.receiveBufferSize when receiveBufferSize is configured too small.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-345
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-345
>             Project: MINA
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Trustin Lee
>         Assigned To: Trustin Lee
>             Fix For: 1.0.2
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.