X Tutup
Skip to content

Commit 400e657

Browse files
authored
v1.8.9
1 parent 3f5104c commit 400e657

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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.8.8"
2+
__version__ = "1.8.9"
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def start_server(self, args, option):
297297
if self.unix:
298298
return asyncio.start_unix_server(handler, path=self.bind, ssl=self.sslserver)
299299
else:
300-
return asyncio.start_server(handler, host=self.host_name, port=self.port, ssl=self.sslserver, reuse_port=args.reuse)
300+
return asyncio.start_server(handler, host=self.host_name, port=self.port, ssl=self.sslserver, reuse_port=args.ruport)
301301
@classmethod
302302
def compile_relay(cls, uri):
303303
tail = cls.DIRECT
@@ -408,7 +408,7 @@ def main():
408408
parser.add_argument('--get', dest='gets', default=[], action='append', help='http custom {path,file}')
409409
parser.add_argument('--sys', action='store_true', help='change system proxy setting (mac, windows)')
410410
parser.add_argument('--test', help='test this url for all remote proxies and exit')
411-
parser.add_argument('--reuse', help='set SO_REUSEPORT (Linux only)', dest='reuse', action='store_true')
411+
parser.add_argument('--reuse', help='set SO_REUSEPORT (Linux only)', dest='ruport', action='store_true')
412412
parser.add_argument('--version', action='version', version=f'%(prog)s {__version__}')
413413
args = parser.parse_args()
414414
if args.test:

0 commit comments

Comments
 (0)
X Tutup