Skip to content

The WebSocket support via TLS cannot get past the handshake #1223

Answered by paullouisageneau
mpietras asked this question in Q&A
Discussion options

You must be logged in to vote

You must store client somewhere if you want to serve it, otherwise there are no more shared_ptr at the end of the callback, so the object is destroyed, the connection closed, and that's why the TLS handshake then aborts.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mpietras
Comment options

Answer selected by mpietras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants