Skip to content

Commit

Permalink
net: Added EHOSTUNREACH to retry list
Browse files Browse the repository at this point in the history
Fixes: #16901

Signed-off-by: Michael Boquard <michael@redpanda.com>
  • Loading branch information
michael-redpanda committed Mar 5, 2024
1 parent a6c345a commit a111680
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/v/net/connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <seastar/core/future.hh>
#include <seastar/net/tls.hh>

#include <asm-generic/errno.h>
#include <gnutls/gnutls.h>

namespace net {
Expand Down Expand Up @@ -53,6 +54,7 @@ bool is_reconnect_error(const std::system_error& e) {
case ECONNABORTED:
case EAGAIN:
case EPIPE:
case EHOSTUNREACH:
return true;
default:
return false;
Expand Down

0 comments on commit a111680

Please sign in to comment.