docs: fix local test command in client idle timeout task #10731
<span aria-hidden="true">✅</span> Deploy Preview for cerulean-figolla-1f9435 ready!
Built without sensitive environment variables
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 750ce4e745025fc6db737ae2112c9b13ef2a1e81 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/6b0d1fb4746c2bad7a65df1e |
|<span aria-hidden="true">😎</span> Deploy Preview | https://deploy-preview-10731--cerulean-figolla-1f9435.netlify.app |
|<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />!QR Code<br /><br />_Use your smartphone camera to open QR code link._</details> |
---
<!-- cerulean-figolla-1f9435 Preview -->
_To edit notification comments on pull requests, go to your Netlify project configuration._
<!-- codex-pull-request-review-summary -->
<!-- codex-review-state:v1 {"code_review":{"commit_sha":"750ce4e745025fc6db737ae2112c9b13ef2a1e81","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->
<details>
<summary><strong>Codex Review Summary</strong>: ✅ Completed</summary>
This comment shows the latest Codex review activity on this pull request.
| Review | Status | Commit | Review trigger |
| --- | --- | --- | --- |
| 📝 Code Review | ✅ Completed <relative-time datetime="2026-11-30T07:05:11.652851Z">2026-11-30T07:05:11.652851Z</relative-time> | 750ce4e | New commits |
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
</details>
</details>
<sub><sub>!P2 Badge</sub></sub> Detach stdin so the idle disconnect is observable
With Ubuntu's OpenBSD netcat, an interactive nc continues waiting for stdin after the peer closes the connection, so both new probes remain silently running past 5s even when Envoy correctly applies the timeout. I reproduced this with TTY-backed stdin against a local server that closed an otherwise-idle socket; adding -d made the client exit on the same close. Detach stdin in both examples (nc -h documents -d as “Detach from stdin”), or provide another way to observe the disconnect, so readers can actually verify the documented timeout.
Useful? React with 👍 / 👎.
<!-- codex-code-review-finding:v1 -->
<!-- codex-review-receipt:v1 -->
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 28fef87e8b
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
</details>
Hi team, could you please review this when you have a moment?
In short: Fix local test command in client idle timeout task.
I think this will be really valuable. You may want to take a look. Thanks!
Hi team, could you please review this when you have a moment?
In short: Fix local test command in client idle timeout task.
I think this will be really valuable. You may want to take a look. Thanks!
Approved these changes.
zirain
MaxonT
The ClientTrafficPolicy task pages are easy to follow, which made the error in the Configure Client HTTP Idle Timeout section stand out, so this PR fixes that section.
Fixes #6168
The section told readers to run
openssl s_client -crlf -connect $GATEWAY_HOST:443. The quickstart Gateway (eg) only has an HTTP listener on port 80, so nothing listens on 443 and the connection is refused, as the reporter saw. The change:uses
nc $GATEWAY_HOST 80against the quickstart listener, andadds the port-forward alternative for clusters without an external load balancer, using the same
ENVOY_SERVICElookup and8888:80forward thatboilerplates/testing.mdalready uses.Only
site/content/en/latest/tasks/traffic/client-traffic-policy.mdchanges (docs, no API or behaviour change, no release note needed). I did not backport it to the versioned docs.Checks
Not run: a live cluster walkthrough of the new commands, the docs site build, and the repository CI on this head. The listener port was confirmed from
examples/kubernetes/quickstart.yaml(HTTP, port 80). The commit is signed off (DCO).