Skip to content

Commit

Permalink
http2: remove unused ClientConn.tconnClosed
Browse files Browse the repository at this point in the history
It was added in CL 429060 but was never used.

Change-Id: Ie1bcd44559006082afed319c0db677ff2ca957d7
Reviewed-on: https://go-review.googlesource.com/c/net/+/523935
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
tklauser authored and neild committed Aug 30, 2023
1 parent b82f062 commit 03d5e62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions http2/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,7 @@ func (t *Transport) initConnPool() {
// HTTP/2 server.
type ClientConn struct {
t *Transport
tconn net.Conn // usually *tls.Conn, except specialized impls
tconnClosed bool
tconn net.Conn // usually *tls.Conn, except specialized impls
tlsState *tls.ConnectionState // nil only for specialized impls
reused uint32 // whether conn is being reused; atomic
singleUse bool // whether being used for a single http.Request
Expand Down

0 comments on commit 03d5e62

Please sign in to comment.