Skip to content

Commit

Permalink
test: only test udp 1 time default
Browse files Browse the repository at this point in the history
  • Loading branch information
liudongmiao committed Jun 12, 2024
1 parent 0e3658f commit 59c2bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcase/check-udp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

if __name__ == '__main__':
port = len(sys.argv) > 1 and int(sys.argv[1]) or 1081
for x in range(4):
for x in range(len(sys.argv) > 2 and int(sys.argv[2]) or 1):
sock = socks.socksocket(socket.AF_INET, socket.SOCK_DGRAM)
sock.set_proxy(socks.SOCKS5, "localhost", port)
sock.settimeout(10)
Expand Down

0 comments on commit 59c2bb7

Please sign in to comment.