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/11/12 18:15:00 UTC

[jira] [Comment Edited] (SSHD-1011) Add support for channel count limit

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

Lyor Goldstein edited comment on SSHD-1011 at 11/12/20, 6:14 PM:
-----------------------------------------------------------------

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]) and then throw an exception when the limit is exceeded. I will make this issue a future feature in our backlog


was (Author: lgoldstein):
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

> Add support for channel count limit
> -----------------------------------
>
>                 Key: SSHD-1011
>                 URL: https://issues.apache.org/jira/browse/SSHD-1011
>             Project: MINA SSHD
>          Issue Type: New Feature
>            Reporter: Sandeep
>            Priority: Minor
>
> 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