Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2020-10-01 06:58:13 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-10-01 06:58:13 +0300
commit5647c1c66fe707da97f091f42ec0b91d720d5258 (patch)
treedb1ddc00dd7b18752c320024273ed1a51fe6b3a2
parent347a66a33f32677f64534f986ccb69175640f9ea (diff)
Remove unused events from ClientTrace
-rw-r--r--internal/httprange/transport.go7
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