diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-10-23 11:31:39 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-10-29 12:08:36 +0100 |
| commit | e85070a3fb601e1872d121ce3c1c9d39f8f41036 (patch) | |
| tree | 96d57bf647f2cdc3408ad5c3163ca91ed571cb63 /client/client.go | |
| parent | 0076386bca8b1e49673f50323cd147ac080cfc2f (diff) | |
All: Refactor to latest ProxyGuard
Diffstat (limited to 'client/client.go')
| -rw-r--r-- | client/client.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/client/client.go b/client/client.go index e5a39c0..e8fc02c 100644 --- a/client/client.go +++ b/client/client.go @@ -49,9 +49,6 @@ type Client struct { // cfg is the config cfg *config.Config - // proxy is proxyguard - proxy Proxy - mu sync.Mutex discoMan *discovery.Manager @@ -557,11 +554,6 @@ func (c *Client) retrieveTokens(sid string, t srvtypes.Type) (*eduoauth.Token, e // Cleanup cleans up the VPN connection by sending a /disconnect func (c *Client) Cleanup(ck *cookie.Cookie) error { defer c.TrySave() - // cleanup proxyguard - cerr := c.proxy.Cancel() - if cerr != nil { - log.Logger.Debugf("ProxyGuard cancel gave an error: %v", cerr) - } srv, err := c.Servers.CurrentServer() if err != nil { return i18nerr.WrapInternal(err, "The current server was not found when cleaning up the connection") |
