Closed tcnksm closed 8 years ago
httptrace's DNSStart, DNSDone and ConnectStart is enabled when using net.DialContext(it comes from go1.7). So if client uses normal net.Dial then it shows non-zero time (9223372036854). This PR prevents it.
DNSStart
DNSDone
ConnectStart
net.DialContext
net.Dial
9223372036854
Fixed https://github.com/tcnksm/go-httpstat/issues/4
httptrace's
DNSStart
,DNSDone
andConnectStart
is enabled when usingnet.DialContext
(it comes from go1.7). So if client uses normalnet.Dial
then it shows non-zero time (9223372036854
). This PR prevents it.Fixed https://github.com/tcnksm/go-httpstat/issues/4