-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Implement the tcp
interface of wasi-sockets.
#6837
Merged
sunfishcode
merged 16 commits into
bytecodealliance:main
from
sunfishcode:sunfishcode/sockets
Aug 23, 2023
Merged
Implement the tcp
interface of wasi-sockets.
#6837
sunfishcode
merged 16 commits into
bytecodealliance:main
from
sunfishcode:sunfishcode/sockets
Aug 23, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sunfishcode
force-pushed
the
sunfishcode/sockets
branch
6 times, most recently
from
August 16, 2023 15:47
01a3660
to
a1879d4
Compare
pchickey
approved these changes
Aug 16, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is excellent, I am very excited to see this land!
sunfishcode
force-pushed
the
sunfishcode/sockets
branch
from
August 17, 2023 23:52
fccfdb0
to
37b0521
Compare
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Aug 18, 2023
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Aug 18, 2023
github-merge-queue
bot
removed this pull request from the merge queue due to a conflict with the base branch
Aug 18, 2023
sunfishcode
force-pushed
the
sunfishcode/sockets
branch
from
August 18, 2023 04:06
cdb45d2
to
9d10440
Compare
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Aug 18, 2023
sunfishcode
force-pushed
the
sunfishcode/sockets
branch
7 times, most recently
from
August 19, 2023 05:43
f8bde95
to
8b049ef
Compare
Implement the `tcp`, `tcp-create-socket`, and `network` interfaces of wasi-sockets.
This requires an updated tokio for `Interest::ERROR`.
sunfishcode
force-pushed
the
sunfishcode/sockets
branch
from
August 22, 2023 15:02
8b049ef
to
ebe48ca
Compare
pchickey
approved these changes
Aug 22, 2023
eduardomourar
pushed a commit
to eduardomourar/wasmtime
that referenced
this pull request
Sep 6, 2023
* Implement the `tcp` interface of wasi-sockets. Implement the `tcp`, `tcp-create-socket`, and `network` interfaces of wasi-sockets. * Minor cleanups. * Update to the latest upstream wasi-sockets. * Address review feedback. * Handle zero-length reads and writes, and other cleanups. * Fix compilation on macOS. * Fix compilation on Windows. * Update all the copies of wasi-socket wit files. * Sync up more wit files. * Fix the errno code for non-blocking `connect` on Windows. prtest:full * Tolerate `NOTCONN` errors when cleaning up with `shutdown`. * Simplify the polling mechanism. This requires an updated tokio for `Interest::ERROR`. * Downgrade to tokio 1.29.1 for now. * Move `tcp_state` out of the `Arc`. * `accept` doesn't need a write lock. * Remove `tcp_state`'s `RwLock`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement the
tcp
,tcp-create-socket
, andnetwork
interfaces of wasi-sockets.The test doesn't pass yet, because I haven't figured out how to get it to build and run properly yet.