Re: Gemini Test Server

Daniel Stenberg via curl-library <[email protected]> Sat, 21 Feb 2026 12:28:49 +0100 (CET)
Newsgroups gmane.comp.web.curl.library
Message-ID <[email protected]>
On Fri, 20 Feb 2026, Liberty via curl-library wrote:

> I'm interested in continuing the work on Gemini support in curl.

Fun - and welcome!

> My most pressing question is: I find myself repeating the sws code in 
> writing the server. Should the Gemini test server be a standalone server or 
> should it be integrated into sws like Gopher?

I think that question is entirely: whatever seems to be the smoothest way 
forward!

If you think we can get a test server done faster and with less code 
duplication by doing gemini similar to gopher by extending the sws server, 
then sure go ahead.

However as I recall the gemini protocol, it uses TLS unconditionally in a way 
that might not be entirely sensible to separate from the rest in the same way 
sws does with stunnel in front of it. Or maybe I'm wrong? If the gemini test 
server needs its own proper TLS handling, then I think it will benefit from 
not being done "in" sws but rather a separate one.

-- 

  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html