-
Notifications
You must be signed in to change notification settings - Fork 63
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
Migrate current wasi-sockets TCP impl to worker thread #315
Comments
Currently, running let data = input.blocking_read(first_message.len() as u64).unwrap(); @guybedford any idea what could trigger a timeout on |
@manekinekko one common need we have when creating streams is to ensure that the |
@guybedford @manekinekko if you think I'm letting you get through the day without closing this, you're nuts. |
Thanks @guybedford I am gonna try that. |
@squillace we are working on it. We just need one more day :P |
so, the |
OMG! Now I am listening to Phil Collins all day long! |
@guybedford after investigation, it seems that this promise never resolve, which then make the call to block. Any clue how to debug this? jco/packages/preview2-shim/lib/io/worker-thread.js Lines 485 to 487 in 05b016b
|
I'm working on the TCP calls now, starting with connect streams. Should have a listen / accept flow working early next week, but there's a lot to do here. |
@manekinekko I managed to get basic initial listen and accept supported working in #330. Still a bunch of edge cases to work through, but if you're interested in the implementation approach you can find it there. |
TCP implementation now passing all tests as of #330! |
preview2_tcp_bind
preview2_tcp_sockopts
preview2_tcp_states
preview2_tcp_connect
preview2_tcp_sample_application
Closes #154
The text was updated successfully, but these errors were encountered: