From dbd3cf884986c88f5b3350709c0f51fa02330805 Mon Sep 17 00:00:00 2001 From: Keiichi Hirobe Date: Sun, 29 Aug 2021 02:38:38 +0900 Subject: [PATCH] net/http: fix comment of writeRequest Change-Id: I5ebfc6a89323cc086ea0e0b619370dc45da1f3a3 Reviewed-on: https://go-review.googlesource.com/c/go/+/345437 Reviewed-by: Damien Neil Trust: Damien Neil Trust: Ian Lance Taylor Run-TryBot: Damien Neil TryBot-Result: Go Bot --- src/net/http/transport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/http/transport.go b/src/net/http/transport.go index 05a1659136..f2d2f79280 100644 --- a/src/net/http/transport.go +++ b/src/net/http/transport.go @@ -2481,7 +2481,7 @@ type requestAndChan struct { callerGone <-chan struct{} // closed when roundTrip caller has returned } -// A writeRequest is sent by the readLoop's goroutine to the +// A writeRequest is sent by the caller's goroutine to the // writeLoop's goroutine to write a request while the read loop // concurrently waits on both the write response and the server's // reply. -- 2.50.0