Tags: mattn/go-ieproxy
Tags
Fixes static config map still being populated after system settings d… …isabled. Previously, if system proxy was enabled, darwinProxyConf.Static.Protocols got populated with the proxy configuration. If afterwards the system configuration was removed there was no place in the code where the map got reset, which led to incorrect configurations being returned even after calling ReloadConf() Signed-off-by: Laura Brehm <laurabrehm@hey.com>
Always reset active flag on macOS. Previously, if the system configuration had proxies enabled, darwinProxyConf would get set to true. After that, even if ReloadConf() got called, there was nowhere in the code where that flag got reset, so it would stay active forever, which is incorrect behaviour. Signed-off-by: Laura Brehm <laurabrehm@hey.com>
PreviousNext