We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c72abf commit 290a40bCopy full SHA for 290a40b
pproxy/proto.py
@@ -8,7 +8,7 @@ def netloc_split(loc, default_port):
8
if ipv6:
9
host_name, port = ipv6.groups()
10
else:
11
- host_name, port = loc.partition(':')
+ host_name, _, port = loc.partition(':')
12
return host_name, int(port) if port else default_port
13
14
async def socks_address_stream(reader, n):
0 commit comments