alexcrichton opened PR #14829 from alexcrichton:timeout-moer to bytecodealliance:main:
This commit refactors the default implementation of sending an HTTP request with
wasi:httpto apply theconnect_timeoutspecified only one time to the entire setup of creating the connection, dealing with TLS, and then establishing the initial HTTP connection. The refactoring here moves all this logic into a singleasyncblock to time out, as opposed to timing out individual operations.<!--
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 review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton removed the review request for wasmtime-wasi-reviewers from PR #14829.
alexcrichton requested rvolosatovs for a review on PR #14829.
alexcrichton requested wasmtime-wasi-reviewers for a review on PR #14829.
:thumbs_up: pchickey submitted PR review.
pchickey added PR #14829 Apply the HTTP connect_timeout once, not multiple times to the merge queue.
:check: pchickey merged PR #14829.
pchickey removed PR #14829 Apply the HTTP connect_timeout once, not multiple times from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC