summaryrefslogtreecommitdiff
path: root/traceable
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2022-05-11 10:25:25 -0400
committerWill Hawkins <[email protected]>2022-05-11 10:25:25 -0400
commite184c0808b980e81ee87791264a7fa030f52e962 (patch)
tree943b06c3ac0cc82238ecebd5a4c2e8ce4680adca /traceable
parenta754f1a93b45da3b2f51594ba1c2fc1b2eac0734 (diff)
Refactor RPM calculations
Refactor RPM calculations to make them more reusble. Enable (perhaps temporarily) probe calculations on the saturated connections. This change is to check whether this makes our RPM calculations match the ones generated by Apple's native client.
Diffstat (limited to 'traceable')
-rw-r--r--traceable/traceable.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/traceable/traceable.go b/traceable/traceable.go
index 6efc7f7..0d9da21 100644
--- a/traceable/traceable.go
+++ b/traceable/traceable.go
@@ -42,9 +42,6 @@ func GenerateHttpTimingTracer(
traceable.SetGetConnTime(time.Now())
},
GotConn: func(connInfo httptrace.GotConnInfo) {
- if connInfo.Reused {
- panic(!connInfo.Reused)
- }
traceable.SetGotConnTimeInfo(time.Now(), connInfo)
},
TLSHandshakeStart: func() {