Window client application 使用IE的http代理配置访问外网
IE的proxy配置有3种:
1. 指定proxy server的ip和port
2. Automatically detect settings: WPAD
3. Use automatic configuration url: 指定PAC文件url
Firefox/Opera/Chrome都是使用IE的proxy配置.我们通过WinHttp DLL中的api可以拿到这个配置对应的proxy server和port.
Mac上可以使用系统设置里面的proxy setting, CFProxySupport API.
WPAD是Web Proxy Auto Discovery的缩写,意思是Web代理服务器自动发现(通过dhcp/dns)
http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol
How does Windows actually detect LAN (proxy) settings when using Automatic Configuration:
http://stackoverflow.com/questions/191023/how-does-windows-actually-detect-lan-proxy-settings-when-using-automatic-confi
Detect Windows (IE) proxy settings changes:
http://stackoverflow.com/questions/6192563/detect-windows-ie-proxy-settings-changes
Netsh.exe and ProxyCfg.exe Proxy Configuration Tools:
http://msdn.microsoft.com/en-us/library/aa384069%28v=VS.85%29.aspx
Using PAC(Proxy auto-config) files proxy:
http://www.codeproject.com/Articles/12168/Using-PAC-files-proxy
http://msdn.mic
IE的proxy配置有3种:
1. 指定proxy server的ip和port
2. Automatically detect settings: WPAD
3. Use automatic configuration url: 指定PAC文件url
Firefox/Opera/Chrome都是使用IE的proxy配置.我们通过WinHttp DLL中的api可以拿到这个配置对应的proxy server和port.
Mac上可以使用系统设置里面的proxy setting, CFProxySupport API.
WPAD是Web Proxy Auto Discovery的缩写,意思是Web代理服务器自动发现(通过dhcp/dns)
http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol
How does Windows actually detect LAN (proxy) settings when using Automatic Configuration:
http://stackoverflow.com/questions/191023/how-does-windows-actually-detect-lan-proxy-settings-when-using-automatic-confi
Detect Windows (IE) proxy settings changes:
http://stackoverflow.com/questions/6192563/detect-windows-ie-proxy-settings-changes
Netsh.exe and ProxyCfg.exe Proxy Configuration Tools:
http://msdn.microsoft.com/en-us/library/aa384069%28v=VS.85%29.aspx
Using PAC(Proxy auto-config) files proxy:
http://www.codeproject.com/Articles/12168/Using-PAC-files-proxy
http://msdn.mic