Skip to content

wasi-http: Close connections on Store drop - #14633

Open
adamrk wants to merge 5 commits into
bytecodealliance:mainfrom
adamrk:abk/http-tokio-task-ownership
Open

adamrk wants to merge 5 commits into
bytecodealliance:mainfrom
adamrk:abk/http-tokio-task-ownership

Conversation

@adamrk

@adamrk adamrk commented Oct 9, 2026

Copy link
Copy Markdown
Member

Cancel tokio tasked spawned by wasi-http after the corresponding Store is dropped (with a 10 second configurable grace period). Otherwise tokio would keep handling these connections indefinitely in the background with no way to stop them and reclaim the resources.

@adamrk
adamrk requested a review from a team as a code owner October 9, 2026 18:36
@adamrk
adamrk requested review from rvolosatovs and removed request for a team October 9, 2026 18:36

This branch has not been deployed

No deployments
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.

1 participant