diff options
| author | tjp <tjp@ctrl-c.club> | 2024-01-13 11:29:17 -0700 |
|---|---|---|
| committer | tjp <tjp@ctrl-c.club> | 2024-01-13 11:29:17 -0700 |
| commit | 4d861a2c395c0926b066014b92999d4dda454b2b (patch) | |
| tree | 7bbf7d94cec2a5412a68b830c1e5223918d9bc82 /contrib | |
| parent | de1490808fa6e4d6749ff29d20cc1a589ec476d1 (diff) | |
dial timeouts for clients, and catch up on test fixes
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/tlsauth/auth_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
