Skip to content

Commit 18e73e2

Browse files
committed
fix ssh bug
1 parent 0dbf3b2 commit 18e73e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pproxy/__doc__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__title__ = "pproxy"
2-
__version__ = "2.1.1"
2+
__version__ = "2.1.2"
33
__license__ = "MIT"
44
__description__ = "Proxy server that can tunnel among remote servers by regex rules."
55
__keywords__ = "proxy socks http shadowsocks shadowsocksr ssr redirect pf tunnel cipher ssl udp"

pproxy/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def compile(cls, uri, relay=None):
465465
alive=True, direct='direct' in protonames, tunnel='tunnel' in protonames, \
466466
reuse='pack' in protonames or relay and relay.reuse, backward='in' in rawprotos, \
467467
ssh='ssh' in rawprotos, relay=relay)
468-
ProxyURI.DIRECT = ProxyURI(direct=True, tunnel=False, reuse=False, relay=None, alive=True, match=None, cipher=None, backward=None)
468+
ProxyURI.DIRECT = ProxyURI(direct=True, tunnel=False, reuse=False, relay=None, alive=True, match=None, cipher=None, backward=None, ssh=None)
469469

470470
async def test_url(url, rserver):
471471
url = urllib.parse.urlparse(url)

0 commit comments

Comments
 (0)