The socket buffers don’t do anything with listening TCP sockets nor do
accepted sockets automatically inherit any settings therefore it isn’t
necessary.

On Wed, Apr 15, 2020 at 5:09 AM Marcin L (Jira) <j...@apache.org> wrote:

> Marcin L created DIRMINA-1123:
> ---------------------------------
>
>              Summary: Receive buffer size is never set for NIO acceptor
>                  Key: DIRMINA-1123
>                  URL: https://issues.apache.org/jira/browse/DIRMINA-1123
>              Project: MINA
>           Issue Type: Bug
>           Components: Transport
>     Affects Versions: 2.1.3, 2.0.22
>             Reporter: Marcin L
>
>
> 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.,
>
>
>
> --
> This message was sent by Atlassian Jira
> (v8.3.4#803005)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
> For additional commands, e-mail: dev-h...@mina.apache.org
>
>

Reply via email to