Skip to content

Conversation

@rvolosatovs
Copy link
Member

@rvolosatovs rvolosatovs commented Nov 3, 2025

Refs #11843 (comment)

  • Verify content-length of bodies originating from the host (even though Request::new assumes that it's already been validated, guest could construct a request using a host body it received from e.g. handle call)
  • Return ErrorCode, rather than anyhow::Error on conversion
  • Return the request options as part of conversion
  • Move BodyExt trait out of host implementation into body module

Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
@rvolosatovs rvolosatovs marked this pull request as ready for review November 3, 2025 17:10
@rvolosatovs rvolosatovs requested a review from a team as a code owner November 3, 2025 17:10
@alexcrichton alexcrichton added this pull request to the merge queue Nov 3, 2025
Merged via the queue into bytecodealliance:main with commit 4b7f3df Nov 3, 2025
45 checks passed
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.

2 participants