You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2020/06/05 18:30:00 UTC

[jira] [Commented] (SSHD-1011) Do we have ChannelLimit as property in server

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

Lyor Goldstein commented on SSHD-1011:
--------------------------------------

We do not currently have such a feature. However, I believe you can achieve this by registering a {{ChannelListener}} and keeping track of the {{channelOpenSuccess}} calls per session (using a [session attribute|https://github.com/apache/mina-sshd/blob/master/docs/event-listeners.md#sessionlistener]) an then throw an exception when the limit is exceeded. I will make this issue a future feature in our backlog

> Do we have ChannelLimit as property in server
> ---------------------------------------------
>
>                 Key: SSHD-1011
>                 URL: https://issues.apache.org/jira/browse/SSHD-1011
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Sandeep
>            Priority: Major
>
> We have requirement where we need to set the maximum number of channels that are allowed open at any one time.
> You can see this property in mavericks named "setChannelLimit" and am unable to find it in SSHD.
> ref link is here: [http://maverick-legacy-client-javadocs.s3-website-eu-west-1.amazonaws.com/com/maverick/ssh/SshContext.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org