refactor(lite): keep tunnel startup details out of main log
This commit is contained in:
+1
-1
@@ -1145,7 +1145,7 @@ def _tls_start(remote_host, remote_port=443, use_tls=True, bypass_lan=False, sma
|
||||
if not quiet:
|
||||
route = "→".join(str(node.get("country") or "?") for node in (jump_chain or []))
|
||||
suffix = f" [{route}]" if route else ""
|
||||
log(f"本地转发器已启动 ({proto} 127.0.0.1:{_TLS_LOCAL_PORT} -> {remote_host}:{remote_port}{suffix})")
|
||||
log_detail(f"本地转发器已启动 ({proto} 127.0.0.1:{_TLS_LOCAL_PORT} -> {remote_host}:{remote_port}{suffix})")
|
||||
|
||||
def _inject_proxy_auth(data: bytes, proxy_node=None) -> bytes:
|
||||
"""在 HTTP 代理请求头中注入 Authorization(如果尚未存在)。
|
||||
|
||||
Reference in New Issue
Block a user