From b30845b58a23336f67dcd6ae5e0a22c058ae2cb9 Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Mon, 4 Oct 2021 12:46:39 -0700 Subject: [PATCH] http2: fix typo in doRequest doc comment Change-Id: I46dc54abeb978a2458bbc41b471a8d9b6613cb0d Reviewed-on: https://go-review.googlesource.com/c/net/+/353872 Trust: Damien Neil Trust: Brad Fitzpatrick Run-TryBot: Damien Neil Reviewed-by: Brad Fitzpatrick TryBot-Result: Go Bot --- http2/transport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http2/transport.go b/http2/transport.go index f36323ae..ee4531f5 100644 --- a/http2/transport.go +++ b/http2/transport.go @@ -1070,7 +1070,7 @@ func (cc *ClientConn) RoundTrip(req *http.Request) (*http.Response, error) { } } -// writeRequest runs for the duration of the request lifetime. +// doRequest runs for the duration of the request lifetime. // // It sends the request and performs post-request cleanup (closing Request.Body, etc.). func (cs *clientStream) doRequest() {