Skip to content

caddyconfig: cancel HTTP loader requests with context - #7918

Merged
steadytao merged 2 commits into
caddyserver:masterfrom
cuishuang:http-loader-context-cancellation
Aug 10, 2026
Merged

steadytao merged 2 commits into
caddyserver:masterfrom
cuishuang:http-loader-context-cancellation

Conversation

@cuishuang

Copy link
Copy Markdown
Contributor

Assistance Disclosure

I use OpenCode to add the test case and verify the change.

Fixes #7917

@steadytao steadytao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the clean fix.

@steadytao steadytao added this to the v2.11.5 milestone Aug 10, 2026
@steadytao steadytao added the bug 🐞 Something isn't working label Aug 10, 2026
@steadytao

Copy link
Copy Markdown
Member

I hate cla-assistant sometimes 🥲

-Thanks for the PR.

@steadytao
steadytao merged commit 7d26d34 into caddyserver:master Aug 10, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🐞 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTPLoader requests are not canceled when their caddy.Context is canceled

2 participants