tomaswolf commented on issue #426: URL: https://github.com/apache/mina-sshd/issues/426#issuecomment-1922265669
The basic problem here is a mixture of asynchronous mechanisms (futures, and listeners) and then a listener making a synchronous `executeRemoteCommand` call. The immediate cause for blocking is that internally a lock is held, which prevents any more incoming messages for that session being handled until that listener is done. "Fixing" this in a transparent and scalable way inside the library looks very difficult. A quick work-around for your case would be to make that listener use a different thread for everything after `logger.info("Authed: $authed")`. -- 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: dev-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org