We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
would-block
stream-error
wasmtime/crates/wasi/src/tcp.rs
Lines 719 to 723 in 6767488
Returning 0 for std::io::ErrorKind::WouldBlock causes downstream to interpret it as a closed stream, see: yoshuawuyts/wstd#25 (comment). https://github.com/yoshuawuyts/wstd/blob/5ce367add5e7bcb569b6487453cb9ba94468dc99/src/io/copy.rs#L12
0
std::io::ErrorKind::WouldBlock
This is also found in:
wasmtime/crates/test-programs/src/bin/preview2_tcp_streams.rs
Lines 17 to 22 in 6767488
Given that the wit files already include many would-block errors, would it make sense to extend stream-error to include a would-block?
wit
The text was updated successfully, but these errors were encountered:
No branches or pull requests
wasmtime/crates/wasi/src/tcp.rs
Lines 719 to 723 in 6767488
Returning
0
forstd::io::ErrorKind::WouldBlock
causes downstream to interpret it as a closed stream, see:yoshuawuyts/wstd#25 (comment).
https://github.com/yoshuawuyts/wstd/blob/5ce367add5e7bcb569b6487453cb9ba94468dc99/src/io/copy.rs#L12
This is also found in:
wasmtime/crates/test-programs/src/bin/preview2_tcp_streams.rs
Lines 17 to 22 in 6767488
Given that the
wit
files already include manywould-block
errors, would it make sense to extendstream-error
to include awould-block
?The text was updated successfully, but these errors were encountered: