adamrk opened PR #14547 from adamrk:abk/resolve-http-future-earlier-50 to bytecodealliance:release-50.0.0:
Backport of https://github.com/bytecodealliance/wasmtime/pull/14535 to wasmtime 50. Some tests in wstd are broken because of this so it would be nice to get a fix into 50.0.0 if it's not too much trouble.
Resolve the transmission future of sendnig an http request as soon as headers have been received for the response. The previous logic would wait to check that the connection was gracefully closed, but that could cause deadlocks or hangs if the client waits for that future to resolve before reading the response body.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
adamrk requested rvolosatovs for a review on PR #14547.
adamrk requested wasmtime-wasi-reviewers for a review on PR #14547.
adamrk requested pchickey for a review on PR #14547.
adamrk requested wasmtime-core-reviewers for a review on PR #14547.
adamrk updated PR #14547.
:cross_mark: adamrk closed without merge PR #14547.
Last updated: Oct 11 2026 at 04:10 UTC