Skip to content

network tls: alternative to using socket BIOs in SslSocket #12899

@florincoras

Description

@florincoras

TLS sockets are currently using BIOs that rely on access to a socket file descriptor, namely:

BIO* bio = BIO_new_socket(callbacks_->ioHandle().fdDoNotUse(), 0);

To avoid direct use of the fd and to ensure that SslSockets can work with any type of IoHandles, probably mem BIOs should be used instead. I am willing to do the work but does anybody know if this comes with any significant downsides? Are there any better alternatives?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions