New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http: wasi deadlock #65928
Comments
Did you run this example in the expected environment: |
And it reproduces constantly? |
Exactly the same problem in Windows. |
Kindly cc-ing @neelance |
I believe the wasip1 port does not support creating sockets, so you can't really have http servers with it. An excerpt from the WASI blog post:
|
In particular, the |
Go's Windows networking stack is pretty much completely separate from the fake |
Potentially fixable by #65333 See https://github.com/WebAssembly/WASI/tree/main/preview2#wasi-preview-2-contents And specifically |
Yes, i compiled It with this |
Closing this as sockets aren't supported for wasi |
yet* indeed; |
Go version
go version go1.21.7 linux/amd64
Output of
go env
in your module/workspace:What did you do?
I compiled simple web servers using
GOOS=wasip1 GOARCH=wasm
and try to run it.What did you see happen?
The program crash because it detects a deadclock
What did you expect to see?
To run correctly
The text was updated successfully, but these errors were encountered: