Repository navigation
Upstream Go: go1.26.5
utls: v1.8.2
go.mod directive: go 1.26.0
Supported Go versions: 1.26.0 – 1.26.5
⚠️ go get @latestresolves to v1.27.0, not this release. A mis-numberedv1.27.0tag (upstream is still go1.26.x) already exists and outranksv1.26.2in semver, so the module proxy serves it as@latest. v1.26.2 is the recommended build — it is a strict superset of v1.27.0. To use it, pin explicitly:go get github.com/dteh/dhttp@v1.26.2
Changes since v1.26.1
- Upgrade to go1.26.5. Upstream's
net/httpsource is byte-identical between go1.26.3 and go1.26.5 (this release's changes were confined tointernal/goroot, an atomic assembly file, and GC scan), so the module source is unchanged apart from the fix below. - Fix a broken
go build -race ./.... Two//go:linknamedirectives in the vendoredinternal/racepackage (ReadObjectPC,WriteObjectPC) referred to function declarations that were already commented out in the fork, which the compiler rejects. The orphaned directives are now commented out too. This bug predated the upgrade.
Also included (debuted in v1.27.0)
- Configurable HTTP/2 client fingerprint via
Transport.HTTP2Settings— control the ordered SETTINGS list and the initial connection-level WINDOW_UPDATE (the "Akamai" H2 fingerprint) to match a specific browser, e.g. Chrome:Together with&http.HTTP2Settings{ Settings: []http.HTTP2Setting{{1, 65536}, {2, 0}, {4, 6291456}, {6, 262144}}, ConnectionFlow: 15663105, }
ClientHelloSettings(JA3/JA4) andPHeaderOrderKey(pseudo-header order), this covers the fields Cloudflare/Akamai fingerprint on. When nil, Go's default settings are sent (unchanged behavior). - Patch-regeneration fix: the v1.27.0 HTTP2Settings feature had been committed by editing the generated files directly without updating
patches/0001-dhttp-combined.patch, so ascripts/build.shrun would have silently reverted it. The change is now folded into the combined patch, and the tree reproduces byte-for-byte.
Fingerprint
utls is unchanged at v1.8.2, so the JA3/Peetprint fingerprint is identical to v1.26.1 / v1.27.0.