diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_scproxy.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/_scproxy.c b/Modules/_scproxy.c index e669180..0df0324 100644 --- a/Modules/_scproxy.c +++ b/Modules/_scproxy.c @@ -206,6 +206,11 @@ get_proxies(PyObject* Py_UNUSED(mod), PyObject *Py_UNUSED(ignored)) kSCPropNetProxiesGopherProxy, kSCPropNetProxiesGopherPort); if (r == -1) goto error; + r = set_proxy(result, "socks", proxyDict, + kSCPropNetProxiesSOCKSEnable, + kSCPropNetProxiesSOCKSProxy, + kSCPropNetProxiesSOCKSPort); + if (r == -1) goto error; CFRelease(proxyDict); return result; |