Commit Briefs


Omar Polo

fmt


Omar Polo

certificate generation (bugfix and improvement)

don't add gmid as organisation when generating the certificate, and set the version to 3, so it's compatible with java/android clients. Found by Gnuserland, thanks!


Omar Polo

list instead of fixed-size array for vhosts and locations

saves some bytes of memory and removes the limit on the maximum number of vhosts and location blocks.


Omar Polo

refactoring: imsg everywhere

use imsg to handle ALL kinds of IPC in gmid. This simplifies and shorten the code, and makes everything more uniform too.


Omar Polo

kill debug printf


Omar Polo

fix various compilation errors

Include gmid.h as first header in every file, as it then includes config.h (that defines _GNU_SOURCE for instance). Fix also a warning about unsigned vs signed const char pointers in openssl.


Omar Polo

don't allocate BIGNUM on the stack

on fedora 33 the BIGNUM type is opaque. Allocate always to avoid headaches.



Omar Polo

improve logs management


Omar Polo

reload configuration on SIGHUP


Omar Polo

revert commit 346f28eeaa205d268d1e63c7ffd86cf041f6d1e6

keep mark_nonblock in utils.c, as otherwise the build for the regress suite will fail (mark_nonblock needs fatal which is in gmid.c, and we can't link gmid.o with the regress suite...)


Omar Polo

move mark_nonblock to utils.c



Omar Polo

correct copyright date