diff --git a/libgm/client.go b/libgm/client.go index ad1b7f3..e44039e 100644 --- a/libgm/client.go +++ b/libgm/client.go @@ -103,8 +103,10 @@ func NewClient(authData *AuthData, logger zerolog.Logger) *Client { AuthData: authData, Logger: logger, sessionHandler: sessionHandler, - http: &http.Client{Transport: transport, Timeout: 2 * time.Minute}, - lphttp: &http.Client{Transport: transport, Timeout: 30 * time.Minute}, + + httpTransport: transport, + http: &http.Client{Transport: transport, Timeout: 2 * time.Minute}, + lphttp: &http.Client{Transport: transport, Timeout: 30 * time.Minute}, pingShortCircuit: make(chan struct{}), }