We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81aa82b commit 5b0c484Copy full SHA for 5b0c484
proxy/core/listener/pool.py
@@ -39,9 +39,9 @@ def setup(self) -> None:
39
if self.flags.unix_socket_path:
40
self.add(UnixSocketListener)
41
hostnames = {self.flags.hostname, *self.flags.hostnames}
42
- ports = set(self.flags.ports)
+ ports = list(self.flags.ports)
43
if not self.flags.unix_socket_path:
44
- ports.add(self.flags.port)
+ ports.append(self.flags.port)
45
for hostname, port in itertools.product(hostnames, ports):
46
self.add(TcpSocketListener, hostname=hostname, port=port)
47
0 commit comments