tcnksm / go-httpstat

Tracing golang HTTP request latency
MIT License
421 stars 72 forks source link

Use go1.8 TLS hooks #10

Closed tcnksm closed 7 years ago

tcnksm commented 7 years ago

From go1.8, httptrace adds TLSHandshakeStart and Done hook https://tip.golang.org/doc/go1.8#net_http_httptrace Use it for more precise measurement (currently it measures heuristically).

To support old version, use build tag.

bennneuh commented 7 years ago

Hi, Go1.8 is now available, do you have plan to merge this pull request ?

Thanks! :)

bennneuh commented 7 years ago

Up :)

bennneuh commented 7 years ago

Up Up :)

tcnksm commented 7 years ago

Sorry for late. Now it's ready !

bennneuh commented 7 years ago

Thank you very much! 👍