snufkinsnorka commented on issue #25: URL: https://github.com/apache/mina/pull/25#issuecomment-618267134
You are right, this is exactly our goal. It's just that the new NioAcceptor we implemented is a pretty simple extension over the existing NioSocketAcceptor (which I'm changing here to support inheritance), and it's a shame to duplicate all of the code. A bit more context: we have long-running tcp connections, which we don't want to disconnect. When we deploy new code to our servers we start it with a new class loader, and pass the sockets from the old code to the new one. What we did is fork Mina (with the changes I'm suggesting here), so we can extend NioSocketAcceptor to support this functionality. This is working well for us, but we'd like to get rid of this fork. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
