We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4065b commit ef7e37eCopy full SHA for ef7e37e
Release/libs/websocketpp/websocketpp/transport/asio/security/tls.hpp
@@ -312,7 +312,7 @@ class connection : public lib::enable_shared_from_this<connection> {
312
return make_error_code(transport::error::tls_short_read);
313
#else
314
if (ERR_GET_REASON(ec.value()) == boost::asio::ssl::error::stream_truncated) {
315
- return make_error_code(boost::asio::ssl::error::stream_truncated);
+ return make_error_code(static_cast<std::errc>(boost::asio::ssl::error::stream_truncated));
316
#endif
317
} else {
318
// We know it is a TLS related error, but otherwise don't know
0 commit comments