adamrk opened PR #14147 from adamrk:middleware-pass-error to bytecodealliance:main:
{request, response}.newreturn a future which can be used to detect if there has been an error sending the request or response. Any middleware needs to pass that result on as an argument toconsume-bodyfor errors to be passed through that layer. This PR modifies the middleware example to do that and also adds a test to check that the error does propagate through.
adamrk requested pchickey for a review on PR #14147.
adamrk requested wasmtime-wasi-reviewers for a review on PR #14147.
adamrk requested wasmtime-core-reviewers for a review on PR #14147.
adamrk updated PR #14147.
:thumbs_up: pchickey submitted PR review.
:speech_balloon: pchickey created PR review comment:
// Forward completion or transmission error back to the caller.
adamrk updated PR #14147.
pchickey added PR #14147 wasi-http: Pass transmission errors through middleware to the merge queue.
:check: pchickey merged PR #14147.
pchickey removed PR #14147 wasi-http: Pass transmission errors through middleware from the merge queue.
Last updated: Aug 30 2026 at 09:07 UTC