avformat/gopher: Add support for Gopher over TLS

This commit adds a "gophers" handler to the gopher protocol. gophers
is a community-adopted protocol that acts the same way like normal
gopher with the added TLS encapsulation.

The gophers protocol is supported by gopher servers like geomydae(8),
and clients like curl(1), clic(1), and hurl(1).

This commit also adds compilation guards to both gopher and gophers,
since now there are two protocols in the file it makes sense to
have this addition.

Signed-off-by: parazyd <parazyd@dyne.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parazyd
2021-02-28 23:47:05 +01:00
committed by Marton Balint
parent ed4c2e183b
commit 51367267c8
8 changed files with 38 additions and 5 deletions

View File

@@ -81,6 +81,7 @@ version <next>:
- TTML subtitle encoder and muxer
- identity video filter
- msad video filter
- gophers protocol
version 4.3: