tomaswolf commented on issue #339:
URL: https://github.com/apache/mina-sshd/issues/339#issuecomment-1483893893

   Not being able to re-start a closed client or server is basically due to 
many components in Apache MINA sshd having state machines that end in a 
"closed" terminal state. These state machines typically have no transition back 
to the initial state, and any attempt to implement such a transition would only 
complicate the code *a lot*. I'm not even sure it'd be always possible. It also 
does not fit with the lifecycle of SSH protocol objects such a sessions or 
channels. Once a channel is closed, it cannot be re-opened (but a new channel 
can be opened).
   
   Hence using a `ServerBuilder` or `ClientBuilder` and creating a new server 
or client instance is the way to go. I'll close this issue as "won't fix".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to