Commits
- Commit:
3841a3693094ae7cc3cfd4f80da7f463e2756bcc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
restore signal handlers before exec'ing CGI scripts
- Commit:
89541eeec019626df4651f44b90df6a31a844dab
- From:
- Omar Polo <op@omarpolo.com>
- Date:
define TLS_VERSION, TLS_CIPHER and TLS_CIPHER_STRENGTH for CGI scripts
- 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:
c8249bada3df6ab700dadaae36e9570cc8e62d55
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gmid v1.6 -- "Stargazers"
- Commit:
62e001b06778c96d0deebceddf1913f7b57ab2d6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move all sandbox-related code to sandbox.c
while there, add capsicum for the logger process
- 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:
1fbac5ba7c6c04d59d1c1199cd9f57638967a504
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle SIGHUP gracefully
i.e. don't print scary messages with LOG_CRIT priority!
- 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:
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:
b63e30ff449ee1cf0091d5431f9b72cdd3b1e7e0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
define TLS_CLIENT_NOT_BEFORE/NOT_AFTER in CGI scripts
- Commit:
9f006a2127398af12ecf9159cd5ef28b3685e7a6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
[cgi] split the query in words if needed and add them to the argv
- Commit:
a64959c99a63178209c3612c98c8c093bf60b431
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use log_err instead of fprintf
- Commit:
52053e1a61dcf07752f449f8f430855004d4037b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ensure CGI stdout it's blocking
- Commit:
ca21e1004303c6ccff7713813ab5238426414d8f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reload configuration on SIGHUP
- Commit:
4e2e2ab1d3ac93821434c5e7723ffbcda1b0aee4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor executor_main
now it's symmetrical to listener_main().