[
https://issues.apache.org/jira/browse/SSHD-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17539614#comment-17539614
]
Thomas Wolf commented on SSHD-1232:
-----------------------------------
{{System.inheritedChannel()}} is incompatible with our NIO2 back-end based on
AsychronousServerSockets. I don't know if it might be possible with the Apache
MINA back-end; it _should_ be possible with the Netty back-end. No code for
either to use the inherited channel exists currently; even with the Netty one
would have to write one's own acceptor (which mustn't bind the socket, only
register it, and which also mustn't unbind it on shutdown).
The only other alternative would be to provide a NIO (not NIO2) back-end that
polls and uses select(), similar to what Apache Tomcat has.
> Use of System.inheritedChannel
> ------------------------------
>
> Key: SSHD-1232
> URL: https://issues.apache.org/jira/browse/SSHD-1232
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 2.9.0
> Reporter: Jörg Weule
> Priority: Minor
>
> System.inheritedChannel should be a possible channel for sshServer.
> The cannel can be opened by systemd, waiting for a connection and then
> starting the service.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]