~singpolyma/biboumi

18b6006e30c26a2fb6196e3b16420de74a654a73 — louiz’ 2 years ago b49594e
Follow-up of the previous on: also catch that on recv events

fix #3460
1 files changed, 1 insertions(+), 1 deletions(-)

M src/network/tcp_socket_handler.cpp
M src/network/tcp_socket_handler.cpp => src/network/tcp_socket_handler.cpp +1 -1
@@ 261,7 261,7 @@ void TCPSocketHandler::tls_recv()
      const bool was_active = this->tls->is_active();
      try {
        this->tls->received_data(recv_buf, static_cast<size_t>(size));
      } catch (const Botan::TLS::TLS_Exception& e) {
      } catch (const Botan::Exception& e) {
        // May happen if the server sends malformed TLS data (buggy server,
        // or more probably we are just connected to a server that sends
        // plain-text)