💾 Archived View for gemini.omarpolo.com › post › gmid-1.6.gmi captured on 2022-01-08 at 13:47:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

➡️ Next capture (2022-06-03)

🚧 View Differences

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

↩ back to the index

gmid “Stargazers” v1.6 update

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: CC-BY-SA-4.0; code: public domain unless specified otherwise

For comments, write at < blog at omarpolo dot com > or @op@bsd.network in the fediverse.

Capsule proudly assembled with Clojure