There was an error while loading. Please reload this page.
1 parent 7134d68 commit 1254af0Copy full SHA for 1254af0
2 files changed
pproxy/__doc__.py
@@ -1,5 +1,5 @@
1
__title__ = "pproxy"
2
-__version__ = "2.1.0"
+__version__ = "2.1.1"
3
__license__ = "MIT"
4
__description__ = "Proxy server that can tunnel among remote servers by regex rules."
5
__keywords__ = "proxy socks http shadowsocks shadowsocksr ssr redirect pf tunnel cipher ssl udp"
pproxy/server.py
@@ -310,7 +310,7 @@ def datagram_received(prot, data, addr):
310
return asyncio.get_event_loop().create_datagram_endpoint(Protocol, local_addr=(self.host_name, self.port))
311
async def open_connection(self, host, port, local_addr, lbind):
312
if self.reuse or self.ssh:
313
- if self.streams is None or self.streams.done() and not self.handler:
+ if self.streams is None or self.streams.done() and (self.reuse and not self.handler):
314
self.streams = asyncio.get_event_loop().create_future()
315
else:
316
if not self.streams.done():
0 commit comments