Skip to content

wasi-http: test the first-byte-timeout on the p2 and p3 paths - #14602

Queued
xia-chao wants to merge 3 commits into
bytecodealliance:mainfrom
xia-chao:fix/wasi-http-first-byte-timeout-test
Queued

xia-chao wants to merge 3 commits into
bytecodealliance:mainfrom
xia-chao:fix/wasi-http-first-byte-timeout-test

Conversation

@xia-chao

@xia-chao xia-chao commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

There were no tests for first-byte-timeout or between-bytes-timeout. This adds them.

The existing timeout test only asserts connect. A server that delays its headers makes the request fail with `ConnectionReadTimeout`.
@xia-chao
xia-chao requested review from a team as code owners October 7, 2026 10:55
@xia-chao
xia-chao requested review from alexcrichton and rvolosatovs and removed request for a team October 7, 2026 10:55
`between-bytes-timeout` was untested as well. The server sends one chunk and then stalls, so reading the next one has to fail.

@alexcrichton alexcrichton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alexcrichton
alexcrichton added this pull request to the merge queue Oct 7, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants