Skip to content

Commit

Permalink
net/http: fix debugRoundTrip log typo
Browse files Browse the repository at this point in the history
Change-Id: I449fcb008fa4c1f51de0bef9f016907d8b99da67
GitHub-Last-Rev: b2e84f1
GitHub-Pull-Request: #66772
Reviewed-on: https://go-review.googlesource.com/c/go/+/578135
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
testwill authored and pull[bot] committed Jun 25, 2024
1 parent 10a68ed commit 0e5043f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/http/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -2692,7 +2692,7 @@ func (pc *persistConn) roundTrip(req *transportRequest) (resp *Response, err err
select {
case err := <-writeErrCh:
if debugRoundTrip {
req.logf("writeErrCh resv: %T/%#v", err, err)
req.logf("writeErrCh recv: %T/%#v", err, err)
}
if err != nil {
pc.close(fmt.Errorf("write error: %w", err))
Expand Down

0 comments on commit 0e5043f

Please sign in to comment.