From 781a4489b07aa5371fc7998e1a18aecb56548828 Mon Sep 17 00:00:00 2001 From: Derek Phan Date: Thu, 15 Nov 2018 18:42:36 -0800 Subject: [PATCH] Set a timeout in the HTTP client used by the agent --- agent/agent.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/agent.go b/agent/agent.go index cbe3a26..344be48 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -221,6 +221,7 @@ func runAdapter() error { if err != nil { return err } + client.Timeout = 60 * time.Second hostProxy, err := hostProxy(ctx, *host, *shimPath, *shimWebsockets) if err != nil {