1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-03 00:53:41 +00:00

Fixed bug where clearing proxy setting, didn't clear all the settings

This commit is contained in:
Bryan Roe
2019-01-17 22:59:27 -08:00
parent 335ff51bfe
commit 2366122d58
3 changed files with 7 additions and 1 deletions

View File

@@ -2763,7 +2763,7 @@ void MeshServer_ConnectEx(MeshAgentHostContainer *agent)
{
printf("Disabling Proxy: %s\n", ILibScratchPad);
agent->triedNoProxy_Index++;
agent->proxyServer = NULL;
agent->proxyServer = ILibWebClient_SetProxy(reqToken, NULL, 0, NULL, NULL);;
if (duk_peval_string(agent->meshCoreCtx, "require('global-tunnel');") == 0)
{