[net] internal/http3: add initial gzip support to transport

0 views
Skip to first unread message

Nicholas Husin (Gerrit)

unread,
Jun 8, 2026, 5:06:04 PM (17 hours ago) Jun 8
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Nicholas Husin, Damien Neil, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

Nicholas Husin submitted the change

Change information

Commit message:
internal/http3: add gzip support to transport

HTTP/3 now behaves similarly to HTTP/1 and HTTP/2 in terms of gzip
support. Implementation of gzip reader and its pool are taken from
net/http.

For golang/go#70914
Change-Id: I829c0b9472e4c698b0f1a4012d8659b46a6a6964
Reviewed-by: Nicholas Husin <hu...@google.com>
Reviewed-by: Damien Neil <dn...@google.com>
Files:
  • M internal/http3/body.go
  • A internal/http3/gzip.go
  • M internal/http3/roundtrip.go
  • M internal/http3/roundtrip_test.go
  • M internal/http3/transport.go
  • M internal/http3/transport_test.go
Change size: L
Delta: 6 files changed, 393 insertions(+), 3 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: net
Gerrit-Branch: master
Gerrit-Change-Id: I829c0b9472e4c698b0f1a4012d8659b46a6a6964
Gerrit-Change-Number: 785120
Gerrit-PatchSet: 7
Gerrit-Owner: Nicholas Husin <n...@golang.org>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Nicholas Husin <hu...@google.com>
Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages