diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2016-12-14 23:17:13 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-12-15 00:24:16 +0000 |
| commit | ffc836bcbbd8739865cda617d21d924e03844525 (patch) | |
| tree | 2dca9accd0fc1de91fcb5afe045441dbffad3f73 /src | |
| parent | 49e5bdfe79cf779224e97096b592c4d45fda1184 (diff) | |
| download | go-ffc836bcbbd8739865cda617d21d924e03844525.tar.xz | |
net/http/httptrace: clarify WroteRequest may be called multiple times
Updates #18305
Change-Id: I63b28d511df1a6c54e32c8bfc7e2264f94e38cd7
Reviewed-on: https://go-review.googlesource.com/34386
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/http/httptrace/trace.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/http/httptrace/trace.go b/src/net/http/httptrace/trace.go index 3b7417911f..ea7b38c8fc 100644 --- a/src/net/http/httptrace/trace.go +++ b/src/net/http/httptrace/trace.go @@ -146,7 +146,8 @@ type ClientTrace struct { Wait100Continue func() // WroteRequest is called with the result of writing the - // request and any body. + // request and any body. It may be called multiple times + // in the case of retried requests. WroteRequest func(WroteRequestInfo) } |
