Actions
Bug #26897
closedssh/session needs explicit support for Puma
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Description
The ssh/session API hijakcs the request socket and upgrades it to a different protocol that runs a interactive ssh session.
With webrick, the request socket is either a normal IO socket, or a OpenSSL::SSLSocket, depending on whether the connection uses TLS or not. A OpenSSL::SSLSocket can not be directly used with the Net:SSH event loop, so there is some glue to make it stick.
With Puma, we get a Puma::MiniSSL::Socket, which requires its own glue.
Actions