alexcrichton opened PR #11623 from alexcrichton:stream-tests to bytecodealliance:main:
This commit adds a test where a stream of data is being sent over TCP and the read side reads as much as it can and then cancels any read that shows up pending. It then waits for readiness via a 0-length read and retries again. The test is intended to assert that the number of consecutive zero-length reads reported is capped at some small number (e.g. this shouldn't infinite loop).
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton submitted PR review:
Blocked on https://github.com/bytecodealliance/wasmtime/issues/11611
alexcrichton created PR review comment:
This test should fail due to missing this line, but I haven't gotten that far.
alexcrichton updated PR #11623.
alexcrichton updated PR #11623.
alexcrichton has marked PR #11623 as ready for review.
alexcrichton requested pchickey for a review on PR #11623.
alexcrichton requested wasmtime-core-reviewers for a review on PR #11623.
alexcrichton requested wasmtime-default-reviewers for a review on PR #11623.
alexcrichton commented on PR #11623:
Ok after https://github.com/bytecodealliance/wasmtime/pull/11625 this is now ready to merge
alexcrichton assigned alexcrichton to PR #11623.
alexcrichton updated PR #11623 (assigned to alexcrichton).
rvolosatovs submitted PR review.
alexcrichton merged PR #11623.
Last updated: Dec 06 2025 at 06:05 UTC