We have a browser application which is based on IESimple (Embedded VC 4) on
a WINCE device.
It has an issue with bypassing proxy server.
Our application uses proxy server all the time. We set the browser to bypass
certain IPs so that data sent to /received from thoses IPs (e.g. internal
portal server) will not go through proxy server.
The proxy bypassing works for a few hours after each device reboot, but it
will eventually stop working. Once bypassing failed, the browser will always
use proxy no matter whether the URLs are excluded from using proxy.
Is there any known browser proxy issue like the one described above? Please
advice.
The following is the code used to set the proxy server and proxy bypass list:
proxyBypassList: "20.11.254.10;localhost;appserver"
// Set Proxy Settings
INTERNET_PER_CONN_OPTION_LIST List;
INTERNET_PER_CONN_OPTION Options[3];
unsigned long nSize = sizeof(List);
List.dwSize = sizeof(List);
List.pszConnection = NULL;
List.dwOptionCount = 3;
List.dwOptionError = 0;
List.pOptions = Options;
Options[0].dwOption = INTERNET_PER_CONN_FLAGS;
Options[0].Value.dwValue = PROXY_TYPE_DIRECT | PROXY_TYPE_PROXY;
Options[1].dwOption = INTERNET_PER_CONN_PROXY_SERVER;
Options[1].Value.pszValue = proxyServer;
Options[2].dwOption = INTERNET_PER_CONN_PROXY_BYPASS;
Options[2].Value.pszValue = proxyBypassList;
// Set the proxy server to be used
if (!InternetSetOption(NULL, INTERNET_OPTION_PER_CONNECTION_OPTION,
&List, nSize))
................
Thanks,
Jerry