From: Brad Fitzpatrick Date: Wed, 27 Jun 2018 16:50:39 +0000 (+0000) Subject: net/http/httptrace: add clarification never added to CL 67430 X-Git-Tag: go1.11beta2~275 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=87b7b667e566403c2ccc5801b94aadae471f5738;p=gostls13.git net/http/httptrace: add clarification never added to CL 67430 Updates #19761 Change-Id: Iac3bd4c40002f8e348452b50bff54dee3210d447 Reviewed-on: https://go-review.googlesource.com/121236 Reviewed-by: Ian Lance Taylor --- diff --git a/src/net/http/httptrace/trace.go b/src/net/http/httptrace/trace.go index 1787889881..3a627412b3 100644 --- a/src/net/http/httptrace/trace.go +++ b/src/net/http/httptrace/trace.go @@ -143,7 +143,8 @@ type ClientTrace struct { TLSHandshakeDone func(tls.ConnectionState, error) // WroteHeaderField is called after the Transport has written - // each request header. + // each request header. At the time of this call the values + // might be buffered and not yet written to the network. WroteHeaderField func(key string, value []string) // WroteHeaders is called after the Transport has written