diff options
author | parazyd <parazyd@dyne.org> | 2020-11-15 18:46:06 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-12-15 12:58:12 +0100 |
commit | a1f06f32b8603427535fc21183a84ce92a9b96f7 (patch) | |
tree | f78431d8a63fc74f68216ba88600363ca421809b /configure.ac | |
parent | be8c94da781f2df2b8e424923581945195025db0 (diff) | |
download | curl-a1f06f32b8603427535fc21183a84ce92a9b96f7.tar.gz |
gopher: Implement secure gopher protocol.
This commit introduces a "gophers" handler inside the gopher protocol if
USE_SSL is defined. This protocol is no different than the usual gopher
prococol, with the added TLS encapsulation upon connecting. The protocol
has been adopted in the gopher community, and many people have enabled
TLS in their gopher daemons like geomyidae(8), and clients, like clic(1)
and hurl(1).
I have not implemented test units for this protocol because my knowledge
of Perl is sub-par. However, for someone more knowledgeable it might be
fairly trivial, because the same test that tests the plain gopher
protocol can be used for "gophers" just by adding a TLS listener.
Signed-off-by: parazyd <parazyd@dyne.org>
Closes #6208
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 39bdb5ef1..733c3f973 100755 --- a/configure.ac +++ b/configure.ac @@ -5111,6 +5111,9 @@ if test "x$CURL_DISABLE_TFTP" != "x1"; then fi if test "x$CURL_DISABLE_GOPHER" != "x1"; then SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS GOPHER" + if test "x$SSL_ENABLED" = "x1"; then + SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS GOPHERS" + fi fi if test "x$CURL_DISABLE_MQTT" != "x1"; then SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS MQTT" |