pthreads icon indicating copy to clipboard operation
pthreads copied to clipboard

SSL/TLS with Thread-Safe Socket Implementation

Open BoltUser opened this issue 7 years ago • 3 comments

Hi, can i use the pthreads Socket implementation with SSL/TLS ?

BoltUser avatar Oct 03 '18 23:10 BoltUser

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?

VARGA-Peter avatar Oct 04 '18 09:10 VARGA-Peter

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?

BoltUser avatar Oct 04 '18 10:10 BoltUser

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!

pthreads_openssl_streams

sirsnyder avatar Jan 22 '19 01:01 sirsnyder