File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments