Skip to content

http/routes: replace deprecated done() with set_content_type() - #279

Merged
travisdowns merged 1 commit into
redpanda-data:v26.2.xfrom
travisdowns:td-fix-deprecated-done-http
May 22, 2026
Merged

travisdowns merged 1 commit into
redpanda-data:v26.2.xfrom
travisdowns:td-fix-deprecated-done-http

Conversation

@travisdowns

Copy link
Copy Markdown
Member

Replace the deprecated reply::done(content_type) call with the equivalent set_content_type() call it forwarded to, fixing the compiler deprecation warning.

@travisdowns
travisdowns changed the base branch from master to v26.2.x May 19, 2026 15:10
@StephanDollberg

Copy link
Copy Markdown
Member

Is this just a local fix?

@travisdowns

travisdowns commented May 19, 2026 •

Copy link
Copy Markdown
Member Author

Is this just a local fix?

It happens to land in code we are carrying only on our fork, yes. There is an an open PR to upstream that older code, but not yet merged.

So it can be dropped in 26.3.x if PR merges or fixed-up into our fork commit otherwise.

edit: the OG change just landed upstream: scylladb@3be4d96

so this would drop out next rebase

@travisdowns
travisdowns merged commit 9de2b0b into redpanda-data:v26.2.x May 22, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants