Stream: git-wasmtime

Topic: wasmtime / PR #6909 Update the tcp testcases to compile w...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 24 2023 at 22:41):

sunfishcode opened PR #6909 from sunfishcode:pch/backpressure_2 to bytecodealliance:pch/backpressure_2:

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Aug 24 2023 at 22:41):

sunfishcode requested pchickey for a review on PR #6909.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 24 2023 at 22:41):

sunfishcode requested wasmtime-core-reviewers for a review on PR #6909.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 25 2023 at 00:01):

elliottt merged PR #6909.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 25 2023 at 03:36):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 25 2023 at 03:36):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 25 2023 at 03:36):

pchickey created PR review comment:

streams::blocking-flush takes care of this entire nested case, because I figured it would be common.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 25 2023 at 03:36):

pchickey created PR review comment:

this is blocking-check-write for the common case. Also, no loop is needed because check_write is guaranteed to give Some() after the pollable is ready.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 25 2023 at 03:36):

pchickey created PR review comment:

Incorrect- that is not the number written, that is the number permitted to write next. Since you already called streams::check_write, you can call streams::write(output, slice_to_write) and be assured all of those bytes will be written. If they will not be written, write will trap.


Last updated: Nov 22 2024 at 17:03 UTC