diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-11-16 17:54:07 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-12-15 12:58:19 +0100 |
commit | 48b85c46f16f04e803e00b0bad42a4fa0295f517 (patch) | |
tree | ebda632c68d984b638bbf9816d80753816b14a2a /tests/serverhelp.pm | |
parent | a1f06f32b8603427535fc21183a84ce92a9b96f7 (diff) | |
download | curl-48b85c46f16f04e803e00b0bad42a4fa0295f517.tar.gz |
runtests: add support for gophers, gopher over TLS
Diffstat (limited to 'tests/serverhelp.pm')
-rw-r--r-- | tests/serverhelp.pm | 2 |
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 && |