From 4d861a2c395c0926b066014b92999d4dda454b2b Mon Sep 17 00:00:00 2001 From: tjp Date: Sat, 13 Jan 2024 11:29:17 -0700 Subject: dial timeouts for clients, and catch up on test fixes --- contrib/tlsauth/auth_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/tlsauth/auth_test.go') diff --git a/contrib/tlsauth/auth_test.go b/contrib/tlsauth/auth_test.go index df67159..862d9d8 100644 --- a/contrib/tlsauth/auth_test.go +++ b/contrib/tlsauth/auth_test.go @@ -98,7 +98,7 @@ func requestPath(t *testing.T, client gemini.Client, server sr.Server, path stri u, err := url.Parse("gemini://" + server.Address() + path) require.Nil(t, err) - response, err := client.RoundTrip(&sr.Request{URL: u}) + response, err := client.RoundTrip(context.Background(), &sr.Request{URL: u}) require.Nil(t, err) return response -- cgit v1.2.3