Commits
- Commit:
725457a9e46a773f0fd5e18c9cf0f00b2347dcaf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move setproctitle/privsep_process earlier
We don't always do privilege dropping (as we may start as unprivileged
user), so set these two beforehand so when we skip privdrop we don't
miss to set privsep_process and set the process' title.
- Commit:
4ad573d0d5675212b0b5719a0a5c1de22974dd0e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework load_file to use pread()
avoids issues since the same file is sent to multiple processes
after being dup()'ed. Since these files are meant to be regular
files, I don't expect short reads.
- Commit:
1a99859b357957715fb62ced6ddef871ca9ab3a0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust how locations are received
- Commit:
15e60fdf0c1dadf79b319635c4b6fe6786f1d3d4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify ocsp sending using config_send_file
while here add an explicit flush to avoid a fd rampage.
- Commit:
2e880a57f8bd6f9e8b10f9fbdb9feea35523226d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
change config_send_file to take the process id as argument
i.e. not hardcode PROC_SERVER
- Commit:
892f3a5cf80f2aa3d5d2745396bf3c52c418c435
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gencert: use secp384r1
prime256v1 should be perfectly fine for all I understand, but
OpenBSD' acme-client uses secp384r1 and who am I to disagree :)
- Commit:
7fff8aa6cb567a62113d9877af5bcb5bb4494111
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parse the config file only once
Don't have all the processes read gmid.conf. The parent needs to do
that, and the will send the config to the children (already
happening.) The other processes were reading the config anyway to
figure out the user and the chroot (if enabled); make the parent pass
additional flag to propagate that info.
We dissociate a bit from the "usual" proc.c but it's a change worth
having.
- Commit:
5af19830c3bbec71b3db5c2c19335e5e0c7ff76f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move print_conf and make it take the config as argument
- Commit:
792f302acee3122ed0f9469d8676dbb271f60849
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use fatal/fatalx instead of err/errx in daemon code
- Commit:
68368f4c29e208c67724b04fd0142e233a247a2a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parse_conf: don't die on error, return -1
this avoids having the daemon dieing on SIGHUP with a bad config
file.
- Commit:
af1dab18702cf135aa80bf15065f73050c915347
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't have the config being a global
- Commit:
e45334e6ae0b658a2d3d4f47bc3e9ddfdb83a44f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move hosts into the config struct
- Commit:
d273c0648d7bb1245d43d8d34ff75b62270155e2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ignore and clean fcgi.sock
- Commit:
fe7cdaa479c8dd9663f503db594c7fea33f667d9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fcgi-test: be less verbose
- Commit:
9adeb265792f0049321c34bf9e32674b0be65942
- From:
- Omar Polo <op@omarpolo.com>
- Date:
re-establish fastcgi test