[Redirector] Support sub-process proxy

This commit is contained in:
Connection Refused
2021-10-04 22:06:41 +08:00
parent c0e35287af
commit a28f0dacf9
5 changed files with 54 additions and 5 deletions

View File

@@ -5,6 +5,7 @@
extern bool filterLoopback;
extern bool filterIntranet;
extern bool filterParent;
extern bool filterICMP;
extern bool filterTCP;
extern bool filterUDP;
@@ -80,6 +81,9 @@ extern "C" {
case AIO_FILTERINTRANET:
filterIntranet = (wstring(value).find(L"false") == string::npos);
break;
case AIO_FILTERPARENT:
filterParent = (wstring(value).find(L"false") == string::npos);
break;
case AIO_FILTERICMP:
filterICMP = (wstring(value).find(L"false") == string::npos);
break;