X Tutup
Skip to content

Commit f866b0b

Browse files
authored
v1.9.8
1 parent 4ac207c commit f866b0b

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__ = "1.9.7"
2+
__version__ = "1.9.8"
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
@@ -239,7 +239,7 @@ def connection_lost(prot, exc):
239239
self.connection_change(1)
240240
if len(self.udpmap) > UDP_LIMIT:
241241
min_addr = min(self.udpmap, key=lambda x: self.udpmap[x].update)
242-
self.udpmap.pop(min_addr).close()
242+
self.udpmap.pop(min_addr).transport.close()
243243
prot = Protocol(data)
244244
remote_addr = (host, port) if self.direct else (self.host_name, self.port)
245245
await asyncio.get_event_loop().create_datagram_endpoint(lambda: prot, remote_addr=remote_addr)

0 commit comments

Comments
 (0)
X Tutup