From e184c0808b980e81ee87791264a7fa030f52e962 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Wed, 11 May 2022 10:25:25 -0400 Subject: 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. --- traceable/traceable.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'traceable') 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() { -- cgit v1.2.3