Skip to content

Commit

Permalink
net: GNUTLS_E_DECRYPTION_FAILED is_reconnect_error
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit d4d7a4b)

Conflicts:
  tests/rptest/tests/rpk_registry_test.py - test doesn't exist
  • Loading branch information
BenPope committed Nov 10, 2023
1 parent 629d622 commit e4d7f7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/v/net/connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ bool is_reconnect_error(const std::system_error& e) {
case GNUTLS_E_UNSUPPORTED_VERSION_PACKET:
case GNUTLS_E_NO_CIPHER_SUITES:
case GNUTLS_E_PREMATURE_TERMINATION:
case GNUTLS_E_DECRYPTION_FAILED:
return true;
default:
return false;
Expand Down

0 comments on commit e4d7f7f

Please sign in to comment.