Wie man boost::beast system_error uninitialized behebt (SSL routines)
English
Deutsch
Problem:
Während der Ausführung Ihres boost::beast-HTTPS-Clients sehen Sie die folgende Fehlermeldung:
output.txt
terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>'
what(): uninitialized (SSL routines) [asio.ssl:167772436]Lösung
Sie haben vergessen, vor dem Schreiben der HTTP-Anfrage den Handshake durchzuführen:
boostbeast_handshake.cpp
stream.handshake(ssl::stream_base::client);If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow