Commits
- Commit:
b8e64ccd44290cdd34bdcd3fd85fb1a9cb7486dd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
7e1df73d7d8584072e96656866fe1c43053529cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix mkdirs: create directories recursively
- Commit:
8e09ee1d50250261fa8e978b9fbcea46dd0b015f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
b9c9123b8ecf2bd73498dc7cb0526be73df7ee9e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix signal handling so it works on linux too
it seems that linux calls the signal handlers even when we're waiting
on sigwait for that signal. Work around that.
- Commit:
d632468df510578999cf3e34f422728e879d7286
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix correct shutdown after SIG{INT,TERM}
- Commit:
1d3eb470b0e5961d74cf202567a0e4c0b57f7f12
- From:
- Omar Polo <op@omarpolo.com>
- Date:
quit every process cleanly when receiving SIGINT or SIGTERM
- Commit:
bc99d868bc3745dcc65add06cd3f9b9ec3575cb5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
dbe262a45d6df9aa04357580a653e30fd0019a14
- From:
- Omar Polo <op@omarpolo.com>
- Date:
split usage string into two lines
- Commit:
2c3e53dac6faed4d9502bd3310b4837f0d3112cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
give each server process its own socket for the executor
this fixes a bug introduced with the prefork mechanics: every server
process shared the same socket, and this would cause a race condition
when multiple server processes asked for a script cgi being executed.
This gives each server process its own socket to talk to the executor,
so the race cannot happen.
- Commit:
376a540764c3778330b4f744031bcdb5c6e73647
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move log_init & vars to gmid.c, retain logger_main in log.c
this is to let the regression suite compile
- Commit:
d278a0c3c50146c703b675ca4dac1d58ef286585
- From:
- Omar Polo <op@omarpolo.com>
- Date:
moving logging to its own process
- Commit:
52418c8d828bc25e0e84cc25d5e349a84be0b397
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
aa37287565c6eb7ac3da814b334ab61a5b567a22
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add newline after usage
- Commit:
df58efff26529acd6a5675d3b4044d494b138397
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix seccomp for the new event loop
add/remove syscalls from the BPF filter and move sandbox() after
libevent initialisation
- Commit:
3abf91b0b4a06e5d2f90e41f948e9c16478e23c7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve logs management