Skip to content

Commit

Permalink
http2: add a log print for debugging
Browse files Browse the repository at this point in the history
Updates tailscale/corp#12296

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
bradfitz committed Jun 26, 2023
1 parent 874c5ea commit 2b899ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http2/transport.go
Original file line number Diff line number Diff line change
@@ -1286,6 +1286,7 @@ func (cc *ClientConn) RoundTrip(req *http.Request) (*http.Response, error) {

if f := cs.cc.t.CountError; f != nil {
f("abort_set_do_not_reuse")
log.Printf("ts-http2: set do not reuse: %T, %v", err, err)
}
}
cs.cc.mu.Unlock()

0 comments on commit 2b899ee

Please sign in to comment.