summaryrefslogtreecommitdiff
path: root/tests/serverhelp.pm
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-11-16 17:54:07 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-15 12:58:19 +0100
commit48b85c46f16f04e803e00b0bad42a4fa0295f517 (patch)
treeebda632c68d984b638bbf9816d80753816b14a2a /tests/serverhelp.pm
parenta1f06f32b8603427535fc21183a84ce92a9b96f7 (diff)
downloadcurl-48b85c46f16f04e803e00b0bad42a4fa0295f517.tar.gz
runtests: add support for gophers, gopher over TLS
Diffstat (limited to 'tests/serverhelp.pm')
-rw-r--r--tests/serverhelp.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/serverhelp.pm b/tests/serverhelp.pm
index 83f783af8..77eceec1a 100644
--- a/tests/serverhelp.pm
+++ b/tests/serverhelp.pm
@@ -106,7 +106,7 @@ sub servername_str {
$proto = uc($proto) if($proto);
die "unsupported protocol: '$proto'" unless($proto &&
- ($proto =~ /^(((FTP|HTTP|HTTP\/2|IMAP|POP3|SMTP|HTTP-PIPE)S?)|(TFTP|SFTP|SOCKS|SSH|RTSP|GOPHER|HTTPTLS|DICT|SMB|SMBS|TELNET|MQTT))$/));
+ ($proto =~ /^(((FTP|HTTP|HTTP\/2|IMAP|POP3|GOPHER|SMTP|HTTP-PIPE)S?)|(TFTP|SFTP|SOCKS|SSH|RTSP|HTTPTLS|DICT|SMB|SMBS|TELNET|MQTT))$/));
$ipver = (not $ipver) ? 'ipv4' : lc($ipver);
die "unsupported IP version: '$ipver'" unless($ipver &&