đŸ Archived View for gemini.omarpolo.com âș post âș gmid-1.6.gmi captured on 2023-07-10 at 13:53:00. Gemini links have been rewritten to link to archived content
âŹ ïž Previous capture (2023-01-29)
-=-=-=-=-=-=-
it's finally here!
Written while listening to âStargazersâ by Nightwish.
Published: 2021-03-20
Tagged with:
It took me a while to release this 1.6 version compared to the previous ones, but weâre finally here!
The headlines for this version are an improved CGI implementation and performance, but youâll find the full changelog at the end of this entry.
libevent is now a dependency of gmid: the new event-loop should be faster than the old poll(2)-based one.
Thanks to a clear design and privilege-separation, it was easy to spawn multiple server processes: this increases the performance and prevents delays. Three server processes are run by default, but the actual number itâs tunable via the new global âpreforkâ option.
The configuration file was enriched also with some other additions:
Unfortunately, there are also a couple of breaking changes. I had to change the CGI environment variables so they match the CGI specification. The good news is that now CGI scripts are a bit more portable and that these breaking changes were done early in this release cycle, so if you started using gmid after the 1.5 release chances are that youâre already using these new variables.
In particular:
I set up a testing page that shows the various variables:
-- text: CC0 1.0; code: public domain (unless specified otherwise). No copyright here.