Skip to content

Support for SSL Sockets/Server #16

@rfestag

Description

@rfestag

I tried using tcp_socket.rb as an example, but don't fully undesrtand how to add support for SSL sockets. Namely, it looks like tasks assume there is a fileno method, but OpenSSL::SSL::Server doesn't have that. The base TCPServer does though.

I've tried various combinations, but can't seem to get a fileno method that actually proxies down to whatever is supposed to have it. Calling fileno on an Async::TCPServer doesn't work, but when I try to proxy fileno from the internal IO, it seems to be trying to call it on the host parameter string.

Any thoughts on how to implement an SSLServer/SSLSocket for async?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions