]> git.ipfire.org Git - thirdparty/curl.git/commit
gopher: Implement secure gopher protocol.
authorparazyd <parazyd@dyne.org>
Sun, 15 Nov 2020 17:46:06 +0000 (18:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Dec 2020 11:58:12 +0000 (12:58 +0100)
commita1f06f32b8603427535fc21183a84ce92a9b96f7
treef78431d8a63fc74f68216ba88600363ca421809b
parentbe8c94da781f2df2b8e424923581945195025db0
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
configure.ac
lib/gopher.c
lib/gopher.h
lib/url.c
lib/version.c