diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-10-01 06:58:13 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-10-01 06:58:13 +0300 |
commit | 5647c1c66fe707da97f091f42ec0b91d720d5258 (patch) | |
tree | db1ddc00dd7b18752c320024273ed1a51fe6b3a2 /internal/httprange | |
parent | 347a66a33f32677f64534f986ccb69175640f9ea (diff) |
Remove unused events from ClientTrace
Diffstat (limited to 'internal/httprange')
-rw-r--r-- | internal/httprange/transport.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/httprange/transport.go b/internal/httprange/transport.go index 3d6140af..1432acf9 100644 --- a/internal/httprange/transport.go +++ b/internal/httprange/transport.go @@ -41,12 +41,9 @@ func newTracer(start time.Time) *httptrace.ClientTrace { "idle_time_ms": connInfo.IdleTime.Milliseconds(), }).Traceln("httptrace.ClientTrace.GotConn") }, - PutIdleConn: nil, GotFirstResponseByte: func() { httpTraceObserve("httptrace.ClientTrace.GotFirstResponseByte", start) }, - Got100Continue: nil, - Got1xxResponse: nil, DNSStart: func(d httptrace.DNSStartInfo) { httpTraceObserve("httptrace.ClientTrace.DNSStart", start) }, @@ -83,10 +80,6 @@ func newTracer(start time.Time) *httptrace.ClientTrace { "connection_resumed": connState.DidResume, }).WithError(err).Traceln("httptrace.ClientTrace.TLSHandshakeDone") }, - WroteHeaderField: nil, - WroteHeaders: nil, - Wait100Continue: nil, - WroteRequest: nil, } return trace |