[ https://issues.apache.org/jira/browse/DIRMINA-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17084077#comment-17084077 ]
Jonathan Valliere commented on DIRMINA-1123: -------------------------------------------- AprSocketAcceptor#open and NioSocketAcceptor#open configure the server socket. The server socket can have the receive and send buffers configured but they do absolutely nothing because no data is ever send on them. Only client sockets can use those buffer configurations. Its possible APR wants those options configured on the server socket so it can automatically pass them to any accepted client sockets but other transports do not do this. Its also possible that the APR code setting the buffers is wholly unnecessary. You are confusing the difference between the server-socket (which only job is to listen for incoming requests to establish connections) and a server-side socket which was created by the server-socket when a remote device established a connection. > 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.0.22, 2.1.3 > Reporter: Marcin L > Priority: Minor > > 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