Repository navigation
v1.25.0 — Go 1.25.10 + utls v1.8.2
Upstream Go: go1.25.10
utls: v1.8.2
go.mod directive: go 1.25.0
Supported Go versions: 1.25.0 – 1.25.10
First dhttp release on Go 1.25.x
Tracks upstream Go 1.25.10. The biggest internal restructure: Go 1.25 promoted synctest from internal/ to public testing/synctest and refactored a chunk of h2_bundle.go's encodeHeaders / validateHeaders into a new net/http/internal/httpcommon package.
dhttp impact
- Vendored
net/http/internal/httpcommon(newINTERNAL_DEPSentry). - Moved the HeaderOrder + PHeaderOrder hooks from the old
h2_bundle.goencodeHeadersintohttpcommon.EncodeHeaders(the new home). HTTP/2 pseudo-header ordering, request-header ordering, and the multi-codecAccept-Encodingdefault (gzip, deflate, br, zstd) all work as before. - Removed orphan
http2encodeHeaders/http2validateHeaders/http2errNilRequestURLfromh2_bundle.go; the new path routes throughhttpcommon.EncodeHeaders. validateHeadersinhttpcommonskips the magic ordering keys so they don't trip the header-field-name validator.- New upstream files
csrf.go/csrf_test.go(CrossOriginProtection) vendor through unmodified.
Changes since v1.24.1
- Bumped upstream tracking
go1.24.13→go1.25.10 go.moddirectivego 1.24.0→go 1.25.0- utls unchanged (
v1.8.2) - Header-ordering hooks relocated to the new httpcommon package
- Includes the Content-Length fix from v1.24.1