Ziti Edge Desktop For Windows Disable PROXY

I'm using Ziti Edge Desktop for Windows 2.9.5, it works well in my sandbox environment.

When I testing ZEDW in a corporate network, it failed to connect to Ziti Controller and Router, after a little bit troubleshooting, this is because ZEDW service read the HTTP_PROXY from environment, and make the connection via proxy, but proxy reject the connection.

read the source of ziti-edge-tunnel.c, it read the env variable, i can't find a way to override this.

static int init_proxy_connector(const char *url) {
if (url == NULL) url = getenv("HTTP_PROXY");
if (url == NULL) url = getenv("http_proxy");
if (url == NULL) {
ZITI_LOG(DEBUG, "proxy_url not set");
return 0;
}

...

Question:

Is there a way to disable the PROXY without removing system env variable HTTP_PROXY, because in a corporate environment, many other applications relys on this HTTP_PROXY variable.
I can't remove the system environment variable, and i want ZEDW do the directly connection to controller and router without proxy, please advise.

Hi experts,

Can anyone provide some suggestions/hints?

Yep. Right now it's only enabled by command line flag or env var. I'll file an issue to expose it to the config file so that it's not exclusively by env var or by command line option. There's no horizon on when that'll be enabled (or if we ever do it) so in the meantime you will need to unset that env var if you don't want it eanbled.