From 0edc21d2d20c5eaf3cb0d22ded2e4d8588769734 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Tue, 15 Mar 2022 21:08:03 -0400 Subject: Major update: SSL Key Logging, HTTP2 support This is a "How was this ever working?" update. 1. As it turns out, when you customize a Transport for an http.Client, the transport is 'naturally' an HTTP1 transport. To make it connect via HTTP2, you must use an http2.Transport from the golang.org/x/net/http2 package. 2. Add support for logging TLS per-session keys in order to aid debugging. --- go.mod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 5573865..6d9aea8 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,7 @@ module github.com/hawkinsw/goresponsiveness -go 1.17 \ No newline at end of file +go 1.17 + +require golang.org/x/net v0.0.0-20220225172249-27dd8689420f + +require golang.org/x/text v0.3.7 // indirect -- cgit v1.2.3