Skip to content

v1.27.0 — superseded by v1.26.2

Choose a tag to compare

@dteh dteh released this 22 Jul 22:14
· 2 commits to master since this release

⚠️ Superseded by v1.26.2. Use that instead.

This tag was mis-numbered: dhttp's version scheme mirrors the upstream Go minor (v1.<go-minor>.<patch>), and upstream here is still go1.26.x, so this should have been a v1.26.x release. It is retained only because the Go module proxy serves published tags immutably.

v1.26.2 is a strict superset of this release — it contains the same Transport.HTTP2Settings HTTP/2 fingerprint feature, plus the go1.26.5 upgrade, a go build -race fix, and a fix for the patch-regeneration pipeline (this tag's feature had been committed to the generated files without updating the patch, so a rebuild would have reverted it).

Because v1.27.0 outranks v1.26.2 in semver, go get @latest will still resolve here. Pin the recommended build explicitly:

go get github.com/dteh/dhttp@v1.26.2

Original: configurable HTTP/2 client fingerprint

Adds Transport.HTTP2Settings so callers can control the HTTP/2 ("Akamai") fingerprint the client emits on a new connection — the ordered SETTINGS list and the initial connection-level WINDOW_UPDATE — to match a specific browser. Previously only the TLS ClientHello (ClientHelloSettings) and header order were tunable, so a uTLS-parroted client still sent Go's default H2 SETTINGS.

&http.HTTP2Settings{
    Settings:       []http.HTTP2Setting{{1, 65536}, {2, 0}, {4, 6291456}, {6, 262144}},
    ConnectionFlow: 15663105,
}

When nil, Go's defaults are sent (unchanged behavior).

Upstream Go: go1.26.3 · utls: v1.8.2