]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix comment of writeRequest
authorKeiichi Hirobe <chalenge.akane@gmail.com>
Sat, 28 Aug 2021 17:38:38 +0000 (02:38 +0900)
committerIan Lance Taylor <iant@golang.org>
Fri, 5 Nov 2021 20:59:43 +0000 (20:59 +0000)
Change-Id: I5ebfc6a89323cc086ea0e0b619370dc45da1f3a3
Reviewed-on: https://go-review.googlesource.com/c/go/+/345437
Reviewed-by: Damien Neil <dneil@google.com>
Trust: Damien Neil <dneil@google.com>
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Go Bot <gobot@golang.org>

src/net/http/transport.go

index 05a16591369f777a91836813bcddc951966511c8..f2d2f7928049ded2acc3b6fe76d47f5781d10707 100644 (file)
@@ -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.