adamrk opened PR #15042 from adamrk:abk/hyper-error-to-guest to bytecodealliance:main:
Ensure that an error encountered when sending a request or response body is delivered to the associated
transmitfuture when the body is coming from another host body which has been forwarded.Previously a guest which forwards a request or response would have no way to see if the request/response body was delivered without error. For example, if the original sender passed a body with incorrect content length or if it dropped the connection before completion, the guest would still receive
Ok(())on the transmission future.<!--
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 #15042.
adamrk removed the review request for wasmtime-wasi-reviewers from PR #15042.
adamrk requested wasmtime-wasi-reviewers for a review on PR #15042.
adamrk removed the review request for wasmtime-core-reviewers from PR #15042.
adamrk requested cfallin for a review on PR #15042.
adamrk requested wasmtime-core-reviewers for a review on PR #15042.
adamrk updated PR #15042.
adamrk edited PR #15042:
Ensure that an error encountered when sending a request or response body is delivered to the associated
transmitfuture when the body is coming from another host body which has been forwarded.Previously a guest which forwards a request or response would have no way to see if the request/response body was delivered without error. For example, if the original sender passed a body with incorrect content length or if it dropped the connection before completion, the guest would still receive
Ok(())on the transmission future.Depends on https://github.com/bytecodealliance/wasmtime/pull/15041 for testing.
<!--
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 updated PR #15042.
adamrk updated PR #15042.
Last updated: Oct 31 2026 at 23:03 UTC