We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 378437a commit 1dd0711Copy full SHA for 1dd0711
websocketpp/transport/asio/security/tls.hpp
@@ -355,13 +355,9 @@ class connection : public lib::enable_shared_from_this<connection> {
355
template <typename ErrorCodeType>
356
lib::error_code translate_ec(ErrorCodeType ec) {
357
if (ec.category() == lib::asio::error::get_ssl_category()) {
358
- if (ERR_GET_REASON(ec.value()) == SSL_R_SHORT_READ) {
359
- return make_error_code(transport::error::tls_short_read);
360
- } else {
361
// We know it is a TLS related error, but otherwise don't know
362
// more. Pass through as TLS generic.
363
return make_error_code(transport::error::tls_error);
364
- }
365
} else {
366
// We don't know any more information about this error so pass
367
// through
0 commit comments