net/http: fix debugRoundTrip log typo

This commit is contained in:
guangwu 2024-04-11 13:29:52 +08:00 committed by GitHub
parent b6778c5230
commit b2e84f1a8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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))