Quantcast

SSL client boost::asio::ssl::stream handshake hang up in reconnection

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SSL client boost::asio::ssl::stream handshake hang up in reconnection

Boost - Users mailing list
Hi,

When it was the first time to connect to server, the following code works fine.

s.lowest_layer().connect(*endpoint_iterator++, error);
s.handshake(boost::asio::ssl::stream_base::client, error);

When the server connection lost then resumed, the client try to run above code again, the s.lowest_layer().connect(*endpoint_iterator++, error); returned no error of success, but the s.handshake(boost::asio::ssl::stream_base::client, error); hang up. Appreciate any helps?

Thank you.

 - j

_______________________________________________
Boost-users mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Loading...