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

Lyor Goldstein commented on SSHD-1165:
--------------------------------------

* {{MAX_PACKET_SIZE, WINDOW_SIZE}} are related to the SSH [channel data window 
mechanism|https://www.ietf.org/rfc/rfc4254.html#section-5.2]
* {{SOCKET_SNDBUF, SOCKET_RCVBUF, SOCKET_LINGER}} are related to the underlying 
TCP/IP socket configuration - see {{NetworkChannel#setOption}} method

I would not recommend tinkering with these options until having read thoroughly 
how they affect the network connection

> Correct way to set the tuning parameters in a SSHDServer
> --------------------------------------------------------
>
>                 Key: SSHD-1165
>                 URL: https://issues.apache.org/jira/browse/SSHD-1165
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Susmit Sarkar
>            Priority: Blocker
>
> Hi Lyor,
> Is it the correct way to set the tuning parameters to a SSHDSever:
> private SshServer sshdServer;
> sshdServer.getProperties().put(FactoryManager.MAX_PACKET_SIZE, 65536);
> similarly for WINDOW_SIZE, SOCKET_SNDBUF, SOCKET_RCVBUF, SOCKET_LINGER
> Thanks



--
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