Skip to content

docs: document the --idle-timeout option (v3) - #15

Merged
joseluisq merged 2 commits into
static-web-server:masterfrom
spantaleev:idle-timeout
Oct 31, 2026
Merged

joseluisq merged 2 commits into
static-web-server:masterfrom
spantaleev:idle-timeout

Conversation

@spantaleev

Copy link
Copy Markdown
Contributor

Description

v3 docs for the --idle-timeout option (SERVER_IDLE_TIMEOUT, [general] idle-timeout), added in static-web-server/static-web-server@74665fc4 and released in v3.0.0-beta.2.

Possible follow-up: the env.md#server_* links on the v3 pages (e.g. #server_grace_period) don't match the generated anchors (#server-grace-period), so they open the page at the top. The new link here uses the working form. I can fix the others in a separate PR after this one.

markdownlint-cli2, prettier --check and vitepress build pass.

spantaleev and others added 2 commits October 19, 2026 14:51
Add an "Idle Connection Timeout" feature page for the `--idle-timeout`
option added in v3.0.0-beta.2: what gets closed, the HTTP/1 header
rule, the default and how to disable it, behaviour with downloads, TLS
and reverse proxies, and its limitations.

Also list it in the CLI, env, TOML and defaults references, the
features table, the HTTP/1 and HTTP/2 tips, and the migration guide,
since v2 never closed idle connections.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@joseluisq joseluisq added enhancement New feature or request v3 labels Oct 31, 2026

@joseluisq joseluisq left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Forgot to merge this.
Thanks!

@joseluisq
joseluisq merged commit 95f1c5d into static-web-server:master Oct 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants