Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -162,9 +162,9 @@ def data_dependency():
http_archive(
name = "seastar",
build_file = "//bazel/thirdparty:seastar.BUILD",
sha256 = "616e419ed198b33a0907ab555e62bbba115e2aaebb72eda9a661f6a70b5a2a59",
strip_prefix = "seastar-f7a712e9b3bace919f50f52c4b5b3ff0079900fa",
url = "https://github.com/redpanda-data/seastar/archive/f7a712e9b3bace919f50f52c4b5b3ff0079900fa.tar.gz",
sha256 = "43068252bf6b1e952390ef00d8884de64599bdd07807793540ebdeb8e70ecba8",
strip_prefix = "seastar-1fea24e9863e9e5a88681bea3fbc7b8b76705856",
url = "https://github.com/redpanda-data/seastar/archive/1fea24e9863e9e5a88681bea3fbc7b8b76705856.tar.gz",
)

http_archive(
Expand Down
5 changes: 3 additions & 2 deletions bazel/thirdparty/seastar.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ cc_library(
"src/core/cgroup.hh",
"src/core/condition-variable.cc",
"src/core/cpu_profiler.cc",
"src/core/disk_params.cc",
"src/core/dpdk_rte.cc",
"src/core/exception_hacks.cc",
"src/core/execution_stage.cc",
Expand Down Expand Up @@ -323,6 +324,7 @@ cc_library(
"include/seastar/core/condition-variable.hh",
"include/seastar/core/coroutine.hh",
"include/seastar/core/deleter.hh",
"include/seastar/core/disk_params.hh",
"include/seastar/core/distributed.hh",
"include/seastar/core/do_with.hh",
"include/seastar/core/dpdk_rte.hh",
Expand Down Expand Up @@ -506,7 +508,6 @@ cc_library(
"include/seastar/util/backtrace.hh",
"include/seastar/util/bool_class.hh",
"include/seastar/util/closeable.hh",
"include/seastar/util/concepts.hh",
"include/seastar/util/conversions.hh",
"include/seastar/util/critical_alloc_section.hh",
"include/seastar/util/defer.hh",
Expand Down Expand Up @@ -563,7 +564,7 @@ cc_library(
"SEASTAR_API_LEVEL=$(API_LEVEL)",
"SEASTAR_HAS_MEMBARRIER",
"SEASTAR_SCHEDULING_GROUPS_COUNT=$(SCHEDULING_GROUPS)",
"SEASTAR_WITH_TLS_OSSL",
"SEASTAR_USE_OPENSSL",
"SEASTAR_DEPRECATED_OSTREAM_FORMATTERS",
] + select({
":use_task_backtrace": ["SEASTAR_TASK_BACKTRACE"],
Expand Down
4 changes: 4 additions & 0 deletions src/v/pandaproxy/error.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ struct reply_error_category final : std::error_category {
return "HTTP 305 Use Proxy";
case reply_error_code::temporary_redirect:
return "HTTP 307 Temporary Redirect";
case reply_error_code::permanent_redirect:
return "HTTP 308 Permanent Redirect";
case reply_error_code::bad_request:
return "HTTP 400 Bad Request";
case reply_error_code::unauthorized:
Expand Down Expand Up @@ -404,6 +406,8 @@ std::error_condition make_error_condition(ss::http::reply::status_type st) {
return rec::use_proxy;
case sec::temporary_redirect:
return rec::temporary_redirect;
case sec::permanent_redirect:
return rec::permanent_redirect;
case sec::bad_request:
return rec::kafka_bad_request;
case sec::unauthorized:
Expand Down
1 change: 1 addition & 0 deletions src/v/pandaproxy/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ enum class reply_error_code : uint16_t {
not_modified = 304,
use_proxy = 305,
temporary_redirect = 307,
permanent_redirect = 308,
bad_request = 400,
unauthorized = 401,
payment_required = 402,
Expand Down