mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 03:37:28 -03:00
Make meek debug log show host:port on one line
This commit is contained in:
parent
e33fc49815
commit
44f4053603
1 changed files with 5 additions and 2 deletions
|
@ -136,8 +136,11 @@ class Meek(object):
|
||||||
if "CMETHOD meek socks5" in line:
|
if "CMETHOD meek socks5" in line:
|
||||||
self.meek_host = line.split(" ")[3].split(":")[0]
|
self.meek_host = line.split(" ")[3].split(":")[0]
|
||||||
self.meek_port = line.split(" ")[3].split(":")[1]
|
self.meek_port = line.split(" ")[3].split(":")[1]
|
||||||
self.common.log("Meek", "start", f"Meek host is {self.meek_host}")
|
self.common.log(
|
||||||
self.common.log("Meek", "start", f"Meek port is {self.meek_port}")
|
"Meek",
|
||||||
|
"start",
|
||||||
|
f"Meek running on {self.meek_host}:{self.meek_port}",
|
||||||
|
)
|
||||||
break
|
break
|
||||||
|
|
||||||
if self.meek_port:
|
if self.meek_port:
|
||||||
|
|
Loading…
Reference in a new issue