[ 
https://issues.apache.org/jira/browse/DIRMINA-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17084821#comment-17084821
 ] 

Marcin L edited comment on DIRMINA-1123 at 4/16/20, 12:25 PM:
--------------------------------------------------------------

Thanks for the patch. It does work on Linux.

Linux CongoJack 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux

13:11:46.044102 IP localhost.39518 > localhost.12345: Flags [S], seq 138388208, 
win 65535, options [mss 65495,sackOK,TS val 845656780 ecr 0,nop,wscale 2], 
length 0
 13:11:46.044114 IP localhost.12345 > localhost.39518: Flags [S.], seq 
2264454457, ack 138388209, win 65535, options [mss 65495,sackOK,TS val 
845656780 ecr 845656780,nop,wscale 1], length 0


was (Author: the-thing):
Thanks for the patch. It does work on Linux.

Linux CongoJack 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux

13:11:46.044102 IP localhost.39518 > localhost.12345: Flags [S], seq 138388208, 
win 65535, options [mss 65495,sackOK,TS val 845656780 ecr 0,nop,*wscale 2*], 
length 0
13:11:46.044114 IP localhost.12345 > localhost.39518: Flags [S.], seq 
2264454457, ack 138388209, win 65535, options [mss 65495,sackOK,TS val 
845656780 ecr 845656780,nop,*wscale 1*], length 0

> 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
>            Assignee: Jonathan Valliere
>            Priority: Minor
>             Fix For: 2.1.4
>
>         Attachments: case dumps.png, case1.pcap, case2.pcap, case3.pcap
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to