SSL/TLS with Thread-Safe Socket Implementation
BoltUser opened this issue · 3 comments
BoltUser commented
Hi,
can i use the pthreads Socket implementation with SSL/TLS ?
VARGA-Peter commented
May be a stupid question: Why not check it out with a MCVE and then you know? At least so I test different scenarios and then I get a code base for further development?
BoltUser commented
Because i don't know how i can implement it, it's easy to implement with stream_socket_client but with pthreads socket i don't know if is possible, you know if is possible and can you help me about this?
sirsnyder commented
Check out https://github.com/krakjoe/pthreads/tree/openssl_streams and see https://github.com/krakjoe/pthreads/blob/openssl_streams/examples/stub.php for further api details. But be careful, the branch is highly experimental! Any feedback or bug report is welcome!