deps: bump domainfront to h2-capable build (#9)#40
Conversation
Picks up getlantern/domainfront#9, which makes the fronted round trip ALPN-aware: it now frames requests as HTTP/2 when the CDN edge negotiates h2 (CloudFront, Aliyun, ...) instead of speaking HTTP/1.1 over an h2 connection and failing with "malformed HTTP response". Also pulls the utls v1.8.2 bump that ships with it (already the version kindling resolves, so no utls change here). domainfront's public API (New/Config/Provider/Masquerade/ParseConfig/ WithConfigURL) is unchanged, so this is a transparent dependency update. Build, vet, and tests pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Changesdomainfront Dependency Bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates the github.com/getlantern/domainfront dependency to a newer pseudo-version that includes internal ALPN-aware HTTP/2 handling, intended to fix failures when a CDN edge negotiates h2 while the client previously attempted HTTP/1.1 framing.
Changes:
- Bump
github.com/getlantern/domainfronttov0.0.0-20260624004218-93591749d736. - Update
go.sumchecksums to match the newdomainfrontversion.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| go.mod | Updates the required github.com/getlantern/domainfront pseudo-version. |
| go.sum | Replaces old domainfront sum entries with sums for the bumped version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- domainfront -> v0.0.0-20260624004218-93591749d736 (getlantern/domainfront#9): makes the fronted round trip ALPN-aware, framing requests as HTTP/2 when the CDN edge negotiates h2 (CloudFront, Aliyun, ...) instead of speaking HTTP/1.1 over the h2 connection and failing with a malformed response. - kindling -> v0.0.0-20260624005117-737fcffe2860 (getlantern/kindling#40): the matching kindling bump, which also carries domainfront#9. domainfront's public API is unchanged, so this is a transparent dependency update. The kindling/* and config consumer packages build under both build tag sets and the kindling tests pass. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Propagates the HTTP/2 fronting fix down to the client: - radiance -> v0.0.0-20260624010426-955f5cbfe595 (getlantern/radiance#536) - domainfront -> v0.0.0-20260624004218-93591749d736 (getlantern/domainfront#9, indirect) - kindling -> v0.0.0-20260624005117-737fcffe2860 (getlantern/kindling#40, indirect) - lantern-box -> v0.0.95 (transitive; now required by radiance#536) domainfront#9 makes the fronted round trip ALPN-aware — it frames requests as HTTP/2 when the CDN edge negotiates h2 (CloudFront, Aliyun, ...) instead of speaking HTTP/1.1 over the h2 connection and failing with a malformed response. API-compatible. Ran go mod tidy and committed go.mod+go.sum together so gomobile resolves lantern-box v0.0.95 (not a stale pin). Verified: full Go build under the CI tag set (CGO_ENABLED=1, with_gvisor/ with_quic/with_wireguard/with_utls/with_grpc/with_conntrack), go vet, and lantern-core tests all pass. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Bumps
github.com/getlantern/domainfrontto the mergeddomainfront#9
(
v0.0.0-20260419161617-0bff0b2169f4→v0.0.0-20260624004218-93591749d736).Why
domainfront#9 makes the fronted round trip ALPN-aware: when the CDN edge
negotiates HTTP/2 (CloudFront, Aliyun, …), the request is now framed as HTTP/2
instead of speaking HTTP/1.1 over the h2 connection — which previously failed
with
malformed HTTP response "\x00\x00\x12\x04...". kindling fronts throughdomainfront, so this fixes h2 edges transparently.
It also carries domainfront's
utlsv1.7.1 → v1.8.2 bump, but that's a no-ophere: kindling already resolves utls to v1.8.2 (via dnstt), and its
go 1.25.0directive already satisfies v1.8.x's Go-1.24-native ML-KEM requirement.
Compatibility
domainfront's public API (
New,Config,Provider,Masquerade,ParseConfig,WithConfigURL) is unchanged — the h2 work was internal to itsround-trip path. So this is a transparent dependency update.
go.mod/go.sum change is limited to the domainfront version.
go build ./...,go vet ./..., andgo test .all pass.🤖 Generated with Claude Code
Summary by CodeRabbit