Removes default bypass rules in proxy_conf_helper

This commit is contained in:
Haoyu Qiu
2017-11-05 09:21:57 +08:00
parent 56d052d160
commit bbb7981ee8
4 changed files with 32 additions and 12 deletions

View File

@ -97,12 +97,6 @@ int main(int argc, const char * argv[])
return 1;
}
}
// Bypass these Hosts & Domains if not specified
if ([proxyExceptions count] == 0) {
NSArray* bypass = @[@"127.0.0.1", @"localhost", @"192.168.0.0/16", @"10.0.0.0/8"];
[proxyExceptions addObjectsFromArray:bypass];
}
static AuthorizationRef authRef;
static AuthorizationFlags authFlags;