You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm still using WebSocket++ 0.7.0 with wolfSSL instead of OpenSSL. For TLS client connections I noticed that the TCP socket doesn't get closed when the close handshake fails. Means the server doesn't close the underlying TCP connection which causes the handle_close_handshake_timeout to be executed. However only SSL_shutdown is called what causes a TLS close notify message, but the TCP connection stays alive.
Is it expected that SSL_shutdown closes the underyling connection?
I could solve this by registering a termination handler and there calling: connection->get_raw_socket().cancel();
Is this okay or will it break something?
Thanks,
Max
The text was updated successfully, but these errors were encountered:
cleancoderob
added a commit
to SolinkCorp/socket.io-client-cpp
that referenced
this issue
Apr 3, 2023
Hello,
I'm still using WebSocket++ 0.7.0 with wolfSSL instead of OpenSSL. For TLS client connections I noticed that the TCP socket doesn't get closed when the close handshake fails. Means the server doesn't close the underlying TCP connection which causes the handle_close_handshake_timeout to be executed. However only SSL_shutdown is called what causes a TLS close notify message, but the TCP connection stays alive.
Is it expected that SSL_shutdown closes the underyling connection?
I could solve this by registering a termination handler and there calling:
connection->get_raw_socket().cancel();
Is this okay or will it break something?
Thanks,
Max
The text was updated successfully, but these errors were encountered: