Skip to content

Document --max-connections, --max-header-size and HSTS changes (v3) - #21

Merged
joseluisq merged 4 commits into
masterfrom
docs/max-connections
Nov 8, 2026
Merged

joseluisq merged 4 commits into
masterfrom
docs/max-connections

Conversation

@joseluisq

@joseluisq joseluisq commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Documents the --max-connections option from static-web-server/static-web-server#799: a new "Maximum Connections" page (what the limit counts, how waiting connections behave, the connections held beyond the limit, idle keep-alive connections, and why the idle timeout should stay on), plus entries in the CLI, env, TOML and defaults references and the features table.

The page recommends 1024 as a starting value when SWS is exposed directly. The default stays 0 (no limit).

The idle timeout page now mentions the debug log of closed connections and points to the new limit in its limitations note.

vitepress build passes with no dead links.

It also documents the --max-header-size option and the security headers changes now on master:

  • A new "Maximum Request Header Size" page, plus entries in the CLI, env, TOML and defaults references. The default is 16384 bytes, and larger request headers get 431.
  • The security headers page and references now say that Strict-Transport-Security is only sent with --tls and has no preload. The page shows how to add HSTS behind a TLS-terminating proxy, or opt into preloading, with a custom header rule.

Add a "Maximum Connections" feature page for the new
`--max-connections` option: what the limit counts, how waiting
connections behave, the connections held beyond the limit, idle
keep-alive connections, and why the idle timeout should stay on.

List it in the CLI, env, TOML and defaults references and the features
table. The idle timeout page now mentions the debug log of closed
connections and points to the limit.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
static-web-server-docs 8eb5ab0 Commit Preview URL

Branch Preview URL
Nov 08 2026, 12:13 PM

@joseluisq joseluisq self-assigned this Nov 4, 2026
@joseluisq joseluisq added enhancement New feature or request v3 labels Nov 4, 2026
Add a "Maximum Request Header Size" page and the `--max-header-size`
entries in the CLI, env, TOML and defaults references.

Security headers no longer send `Strict-Transport-Security` over plain
HTTP, and its value has no `preload`. Update the security headers page
and the references, and show how to add HSTS behind a TLS-terminating
proxy or opt into preloading with a custom header rule.
@joseluisq joseluisq changed the title Document --max-connections option (v3) Document --max-connections, --max-header-size and HSTS changes (v3) Nov 8, 2026
@joseluisq
joseluisq marked this pull request as ready for review November 8, 2026 12:22
@joseluisq
joseluisq merged commit a2c75ec into master Nov 8, 2026
2 checks passed
@joseluisq
joseluisq deleted the docs/max-connections branch November 8, 2026 12:25
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.

1 participant