Commits
- Commit:
59c7ee13b474c7929914075b01cd3593b1beaca7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
090b8a89faa34cdc41c41e32845f1f5b444536e4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gracefully shut down fastcgi backends
we need to delete the events associated with the backends, otherwise
the server process won't ever quit.
Here, we add a pending counter to every backend and shut down
immediately if they aren't handling any client; otherwise we try to
close them as soon as possible (i.e. when they close the connection to
the last connected client.)
- Commit:
ea976e8743ad3b3263faae00d88e40bcf727097d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't let CGI scripts inherit our stderr
our stderr could have been sent to the logger process, so it may be
invalid. Furthermore, in the future we may want to capture also the
stderr of the processes.
- Commit:
ef945cf4157bc8239c6da682a89ba60b11cc0e26
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reset fcgi array in free_config
otherwise path, port and/or prog could become an invalid pointer.
- Commit:
4aa1dd553a8919c61136f8ed7cc775017f628769
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
b24021d4a27ec5311490ee51b42dc2dacb18aa23
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix seccomp filter for ppc64le
before we matched ppc64le as ppc64 (which is big ending I presume), so
the seccomp filter would always kill gmid
#4 related
- Commit:
7322a054f5c434f957d996b0db6994c78b7773a0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use -subj /CN=name when generating the keys for the tests
`printf | openssl` is ugly :/
- Commit:
8bb8cf2ad488151879b1d7e5ec7436d38553b1b5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
configure: add --disable-sandbox
Calling `configure' with --disable-sandbox will disable the sandbox
support *completely* at compile time. gmid will still complain at
compile time and during the startup.
Users shouldn't disable the sandbox if possible, but instead report
problem upstream so they get fixed (hopefully.)
#4 related
- Commit:
137def5ff4c0f9720391ca88191cf9fee6d8ae9a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reworked seccomp filter
* SECCOMP_AUDIT_ARCH extended to support more architectures
* relax fcntl policy: allow the syscall regardless of the flags
* wrap every syscall in a ifdef, and add some (statx, fcntl64, ...)
used in x86
Some bits were taken from dhcpcd[0], thanks!
#4 related
[0]: https://roy.marples.name/git/dhcpcd/blob/HEAD:/src/privsep-linux.c
- Commit:
4f9a27603c096e6f6a10e0cd789fd1dd279d5853
- From:
- Omar Polo <op@omarpolo.com>
- Date:
revert 2c16dbd5486 -- macro names can't be reserved words
While one can define a macro using a reserved word as name using
-Dname=val, inside the configuration file it'll fail.
- Commit:
2c16dbd54867d575f37e145d9f15a0e62e15b025
- From:
- Omar Polo <op@omarpolo.com>
- Date:
macro names can be reserved words
- Commit:
4ede0fe4957e52efbfce0b82488f98e34059237b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix macro example
- Commit:
eaf7f776f1db3f6147cb32e26be10a594c6379b4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
document the c-like handling of strings
- Commit:
bfb076ed7ee61a93cc6ae701b07c3d3bc7a006aa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't expand macros inside the quotes
Now that we have this auto concat string thingy, macros can simply
expand to standalone strings in place, as single words.
Forgot to point it out in previous commits, but now we can
cert = "/etc/keys"
server "foo" {
cert $cert "/foo.crt"
...
}
- Commit:
7252049dd77e4927049f698d06d7ebc8fbc3e3df
- From:
- Omar Polo <op@omarpolo.com>
- Date:
align