xia-chao opened PR #14656 from xia-chao:fix/wasi-http-trailers-body-error to bytecodealliance:main:
The contract makes this future the place for "trailers received, or an error", but on a body error it reports "no trailers".
This PR sends the error into that future, and adds a test.
Here I choose to leave the real error to the read path; what goes to the future is a synthesizedError::HttpProtocolError, because that keeps the change surface smallest. But the real error could also be sent to the future as a whole, with the read path changed to return the category error.
xia-chao requested rvolosatovs for a review on PR #14656.
xia-chao requested wasmtime-wasi-reviewers for a review on PR #14656.
xia-chao requested wasmtime-core-reviewers for a review on PR #14656.
xia-chao requested dicej for a review on PR #14656.
:cross_mark: xia-chao closed without merge PR #14656.
xia-chao reopened PR #14656 from xia-chao:fix/wasi-http-trailers-body-error to bytecodealliance:main.
xia-chao updated PR #14656.
xia-chao updated PR #14656.
Last updated: Oct 11 2026 at 04:10 UTC