Open EkbalCode opened 1 week ago
This code execution not making handshake.
The handshake happens in the following line. What is the error message on failure?
// Perform the SSL handshake
stream_.async_handshake(
ssl::stream_base::client,
beast::bind_front_handler(
&session::on_handshake,
shared_from_this()));
so in turn I am getting 404 status code .
Do you mean an HTTP 404 error? This shouldn't be related to the handshake process because if the connection fails to perform the handshake correctly, it can't make any request at all.
I am using example/http/client/async-ssl/http_client_async_ssl.cpp
// The SSL context is required, and holds certificates ssl::context ctx{ssl::context::tlsv12_client};
This code execution not making handshake so in turn I am getting 404 status code .
Kindly help