Describe the bug
When setting advanced system internet proxy configurations to use separate proxy addresses for each protocol, the system proxy detection in proxy/util.go reads all of them at the same time but needs to choose one.
To Reproduce
Steps to reproduce the behavior:
Go to 'Internet Properties'
Click on 'LAN settings'
Enable 'Use proxy server', if not already
Click on 'Advanced'
Disable 'Use the same proxy server for al protocols'
Run ProxySwitcher.exe debug to read system proxy
Expected behavior
The expected behavior of the program should look something like choosing one or two different protocols to follow through for the program. It'd be easiest to enforce the usage of a single HTTP proxy server, but HTTPS could optionally be detected as well.
Describe the bug When setting advanced system internet proxy configurations to use separate proxy addresses for each protocol, the system proxy detection in
proxy/util.go
reads all of them at the same time but needs to choose one.To Reproduce Steps to reproduce the behavior:
ProxySwitcher.exe debug
to read system proxyExpected behavior The expected behavior of the program should look something like choosing one or two different protocols to follow through for the program. It'd be easiest to enforce the usage of a single HTTP proxy server, but HTTPS could optionally be detected as well.