SshForwardedChannelHandler.decideForwardedChannel

SshForwardAcceptResult decideForwardedChannel( scope const SshForwardedChannelInfo info, SshChannel channel)

Decides whether to accept an incoming forwarded TCP/IP channel.

The channel buffers peer data from the moment the decision is requested, but accepts no writes or requests before the decision is ACCEPT.

Parameters

infoBound and originator endpoints of the connection.
channelThe channel to accept or refuse.

Returns

The decision; PENDING defers to a later pump.