| commit | 123d099e1bd872b38247bbcf9856540b8420d18d | [log] [tgz] |
|---|---|---|
| author | Damien Neil <dneil@google.com> | Tue Nov 18 10:57:31 2025 -0800 |
| committer | Damien Neil <dneil@google.com> | Mon Nov 24 11:30:53 2025 -0800 |
| tree | 7af4062feef27a573d1b404230954f952e60b7ac | |
| parent | 346cc6157ee53301dea14e57a45c22368ab46e55 [diff] |
http2: support net/http.Transport.NewClientConn Permit net/http to create new HTTP/2 client connections. We do this by adding a NewClientConn method to the type the HTTP/2 client registers with net/http.Transport.RegisterProtocol, which creates a persistent connection from a net.Conn. No tests in this CL. Tests will be in net/http, and will cover both the HTTP/1 and HTTP/2 paths for NewClientConn. For golang/go#75772 Change-Id: Ib1a06b4d13fdd6008e5db9a090c6e9632029a2a4 Reviewed-on: https://go-review.googlesource.com/c/net/+/722200 Reviewed-by: Nicholas Husin <husin@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Nicholas Husin <nsh@golang.org>
This repository holds supplementary Go networking packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/net.
The main issue tracker for the net repository is located at https://go.dev/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.