The WebSocket support via TLS cannot get past the handshake #1223
-
I followed the example and created a WebSocketServer like so:
The library was compiled with OpenSSL on Ubuntu24.04. I verified that the
I debugged into the library and it seems like it's coming out of
I see that Any thoughts/direction is appreciated, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You must store |
Beta Was this translation helpful? Give feedback.
You must store
client
somewhere if you want to serve it, otherwise there are no moreshared_ptr
at the end of the callback, so the object is destroyed, the connection closed, and that's why the TLS handshake then aborts.