đŸ’Ÿ Archived View for gemini.omarpolo.com â€ș post â€ș gmid-1.6.gmi captured on 2023-05-24 at 18:06:37. Gemini links have been rewritten to link to archived content

View Raw

More Information

âŹ…ïž Previous capture (2023-01-29)

-=-=-=-=-=-=-

gmid “Stargazers” v1.6 update

it's finally here!

Written while listening to “Stargazers” by Nightwish.

Published: 2021-03-20

Tagged with:

#gemini

#gmid

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:

CGI test page

v1.6 “Stargazers” Changelog

New features

Improvements

Bug fixes

Breaking changes

-- text: CC0 1.0; code: public domain (unless specified otherwise). No copyright here.