Skip to content

C# Fixes wasi http header bug and adds a test for it#1215

Merged
yowl merged 14 commits intobytecodealliance:mainfrom
Nor2-io:dev/timmy/wasi-http-header-bug
Apr 10, 2026
Merged

C# Fixes wasi http header bug and adds a test for it#1215
yowl merged 14 commits intobytecodealliance:mainfrom
Nor2-io:dev/timmy/wasi-http-header-bug

Conversation

@silesmo
Copy link
Copy Markdown
Member

@silesmo silesmo commented Mar 15, 2025

Fixes a bug where headers returned from a C# component wouldn't be properly set. Adds a test for it and some cleanup.

@silesmo silesmo requested review from jsturtevant and yowl March 15, 2025 14:44
Copy link
Copy Markdown
Collaborator

@jsturtevant jsturtevant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the fix here around the alignment? How was the issue presenting?

@ignatz
Copy link
Copy Markdown

ignatz commented Sep 18, 2025

I ran into this issue as well. Are there any plans to land this fix or similar? Thanks 🙏

Timmy Silesmo added 6 commits March 27, 2026 17:44
# Conflicts:
#	crates/csharp/src/function.rs
#	crates/csharp/src/interface.rs
#	crates/csharp/src/world_generator.rs
#	tests/runtime/lists.rs
#	tests/runtime/lists/test.wit
#	tests/runtime/lists/wasm.cs
Copy link
Copy Markdown
Collaborator

@yowl yowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a brief look through and looks like a good improvement! Thanks!

@silesmo
Copy link
Copy Markdown
Member Author

silesmo commented Apr 8, 2026

Had a brief look through and looks like a good improvement! Thanks!

Do you have the time to leave a review so I can merge it in?

@yowl
Copy link
Copy Markdown
Collaborator

yowl commented Apr 8, 2026

As I wasn't one of the original reviewers I was going to leave it for them, but I will review it with previous comments in mind,

Copy link
Copy Markdown
Collaborator

@yowl yowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@yowl
Copy link
Copy Markdown
Collaborator

yowl commented Apr 9, 2026

Looks good, thanks!

Just the small question on the use of int where nint might future proof us better for wasm64

@yowl yowl added this pull request to the merge queue Apr 10, 2026
Merged via the queue into bytecodealliance:main with commit 4992ae6 Apr 10, 2026
28 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.

5 participants