]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests/servers.pm: remove unused variable 'portrange'
authorSamuel Henrique <samueloph@debian.org>
Sun, 9 Mar 2025 10:19:48 +0000 (10:19 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 9 Mar 2025 10:56:00 +0000 (11:56 +0100)
Its usage was dropped at 4efa0b5749bb7c366e1c3bda90650ef864d3978e
(https://github.com/curl/curl/pull/11220)

Grepping the tests folder for "portrange" returns only this as a result.

Closes #16632

tests/servers.pm

index a3bec7a0dbf7ff03486114bb9727a7d30f539ea5..7bc9a1273c9313b0dfeca52e1cd08272da552906 100644 (file)
@@ -132,9 +132,6 @@ my $CLIENTIP="127.0.0.1";  # address which curl uses for incoming connections
 my $CLIENT6IP="[::1]";     # address which curl uses for incoming connections
 my $posix_pwd = build_sys_abs_path($pwd);  # current working directory in POSIX format
 my $h2cver = "h2c"; # this version is decided by the nghttp2 lib being used
-my $portrange = 999;       # space from which to choose a random port
-                           # don't increase without making sure generated port
-                           # numbers will always be valid (<=65535)
 my $HOSTIP="127.0.0.1";    # address on which the test server listens
 my $HOST6IP="[::1]";       # address on which the test server listens
 my $HTTPUNIXPATH;          # HTTP server Unix domain socket path