mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-10-29 03:57:06 +03:00
Disable SSL switch
This commit is contained in:
+2
-1
@@ -289,7 +289,8 @@ class _CfWorkerPool:
|
||||
for worker_domain in self.available_domains(worker_domains):
|
||||
try:
|
||||
ws = await RawWebSocket.connect(
|
||||
worker_domain, worker_domain, timeout=8, path=path)
|
||||
worker_domain, worker_domain, timeout=8, path=path,
|
||||
secure=not proxy_config.disable_secure)
|
||||
return ws, worker_domain
|
||||
except Exception as exc:
|
||||
self.report_failure(worker_domain, exc)
|
||||
|
||||
Reference in New Issue
Block a user