Update HTTPFallback to handle tls handshake timeout
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -110,7 +110,7 @@ func TestPusherHTTPFallback(t *testing.T) {
|
||||
if client.Transport == nil {
|
||||
client.Transport = http.DefaultTransport
|
||||
}
|
||||
client.Transport = HTTPFallback{client.Transport}
|
||||
client.Transport = NewHTTPFallback(client.Transport)
|
||||
p.hosts[0].Client = client
|
||||
phost := p.hosts[0].Host
|
||||
p.hosts[0].Authorizer = NewDockerAuthorizer(WithAuthCreds(func(host string) (string, string, error) {
|
||||
|
||||
Reference in New Issue
Block a user