Blob


1 # change log
3 ## 2021/10/15 - 1.7.5 “Space-dye Vest” fifth bugfix release
5 This version includes the following bugfix
7 * don’t die when a connection is closed before being accepted by gmid (i.e. handle ‘ECONNRESET’)
10 ## 2021/09/24 - 1.7.4 “Space-dye Vest” fourth bugfix release
12 This version includes the following bugfix:
14 * fix a possible out-of-bound access when handling a request for a non-existent file in the root directory of a vhost that's matched by the cgi option
16 and the relative regression test.
19 ## 2021/09/19 - 1.7.3 “Space-dye Vest” third bugfix release
21 ### Improvements
23 * follows symlinks
24 * improved documentation and added key generation example (thanks! Anna)
26 ### Bugfix
28 * fix syslog logging on FreeBSD. Reported by Karl Jeacle, thanks!
29 * don't crash if ``-c'' is missing in configtest mode (-n). Reported by heph, thanks!
30 * allow fstat64 on linux (needed by glibc on aarch64). Reported by pine, thanks!
33 ## 2021/07/19 - 1.7.2 “Space-dye Vest” second bugfix release
35 This version incudes the following bugfix:
37 * an un-initialized field in the configless code path leads to a crash on the first request.
39 and the relative regression test.
42 ## 2021/07/11 - 1.7.1 “Space-dye Vest” bugfix release
44 This version includes two bugfixes:
45 * use ${MAKE} to recursively call make.
46 * fix the misleading example in the manpage: macros may not be reserved words
49 ## 2021/07/10 - 1.7 “Space-dye Vest”
51 Starting from this version gmid doesn't depend on lex anymore, but yacc is still needed.
53 ### New features
55 * initial fastcgi support! (it's still young!)
56 * added user-defined macros, either via ‘-Dname=val’ or directly in the configuration file.
57 * new ‘include’ keyword to load additional configuration files.
58 * new ‘env’ rule to define environment vars for CGI scripts.
59 * new ‘alias’ rule to define hostname aliases for a server.
60 * allow ‘root’ to be specified per-location block.
61 * pidfile support with the new ‘-P’ cli flag.
62 * define ‘TLS_VERSION’, ‘TLS_CIPHER’ and ‘TLS_CIPHER_STRENGTH’ for CGI scripts.
64 ### Improvements
66 * remove limits on the number of virtual hosts and location blocks that can be defined.
67 * print the datetime when logging to stderr.
68 * use ‘text/x-patch’ for ‘.patch’ and ‘.diff’ files.
69 * sort the auto index alphabetically.
70 * various improvements to the log management.
71 * drop the dependency on lex.
72 * added ‘--help’ as synonym of ‘-h’ and ‘-V’/‘--version‘ to print the version.
73 * c-like handling of strings in the configuration file: when two or more strings are next to each-others, are automatically joined into a single string. This is particularly useful with $-macros.
75 ### Bug fixes
77 * correctly handle CGI scripts that replies with the maxium header length allowed.
78 * fixed the static target.
79 * fixed recursive mkdirs for configless mode (i.e. create ‘~/.local/share/gmid’)
80 * logs sent to syslog now have proper priority (before every message ended up as LOG_CRIT). Found by Anna “CyberTailor”, thanks!
81 * ensure ‘%p’ (path) is always absolute in ‘block return’ rules.
82 * fix automatic certificate generation, it caused problems on some adroid devices. Found by Gnuserland, thanks!
83 * document the ‘log’ rule.
84 * the seccomp filter was reworked and now it's known to work properly on a vast range of architectures (to be more specific: all the architectures supported by alpine linux), see github issue #4. Prompted and tested by @begss, thanks!
85 * various improvements to the configure script, notified and fixed by Anna “CyberTailor”, thanks!
86 * added a timeout to the regression tests.
88 ### Breaking changes
90 * if duplicate rules are found in the configuration file, an error is now raised instead of silently using only the last value.
91 * (sort of) ‘gg’ moved to ‘regress’ as it's only used in the regression suite.
92 * (notice) the “mime "mime-type" "extension"” rule was deprecated and replaced by the new “map "mime-type" to-ext "extension"”. The ‘mime’ rule will be removed in a future version because its syntax is incompatible with the new string auto-concat mechanism.