Skip to content

Commit

Permalink
Merge pull request redpanda-data#24749 from michael-redpanda/new-tls-…
Browse files Browse the repository at this point in the history
…err-codes/core-8754

[CORE-8754] Handle new TLS error codes
  • Loading branch information
michael-redpanda authored Jan 9, 2025
2 parents 60a516f + 0803e0d commit 589701f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 4 additions & 4 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ def data_dependency():
http_archive(
name = "seastar",
build_file = "//bazel/thirdparty:seastar.BUILD",
sha256 = "e9260699d5e912bb2284f68e217c2833a1ffc69acc2523fc118803d0ed717719",
strip_prefix = "seastar-886d078e777a8f6e157c135af42021582045e45f",
url = "https://github.com/redpanda-data/seastar/archive/886d078e777a8f6e157c135af42021582045e45f.tar.gz",
sha256 = "b9b4d5cd5bba1fb41ebdf6175bb91357753bd06d0e9f023e8dc7bf9894b1be2a",
strip_prefix = "seastar-0fed8bea42680e63019bb36e747af5eb9ebf906e",
url = "https://github.com/redpanda-data/seastar/archive/0fed8bea42680e63019bb36e747af5eb9ebf906e.tar.gz",
patches = ["//bazel/thirdparty:seastar-fortify-source.patch"],
patch_args = ["-p1"],
)
Expand Down
5 changes: 4 additions & 1 deletion src/v/net/connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ bool is_reconnect_error(const std::system_error& e) {
ss::tls::ERROR_NO_CIPHER_SUITES,
ss::tls::ERROR_PREMATURE_TERMINATION,
ss::tls::ERROR_DECRYPTION_FAILED,
ss::tls::ERROR_MAC_VERIFY_FAILED};
ss::tls::ERROR_MAC_VERIFY_FAILED,
ss::tls::ERROR_WRONG_VERSION_NUMBER,
ss::tls::ERROR_HTTP_REQUEST,
ss::tls::ERROR_HTTPS_PROXY_REQUEST};

if (e.code().category() == ss::tls::error_category()) {
return absl::c_any_of(
Expand Down

0 comments on commit 589701f

Please sign in to comment.