Commits
- 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().
- Commit:
3e5418099fb2d44e0ffa9c65af66657cb28b466b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
[cgi] always set some variables
- Commit:
67528c1f82bed7d6626c3be7a68d3cd98b4944f5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't add the query to argv
FRC3875 says that if the query does not contain any unecnoded "="
characters, we SHOULD treat the query string as a "search-string",
split in on "+" and add every word to the CGI argv.
In launch_cgi it's too late because iri->query is the *decoded* query!
I have in mind some refactoring around how we decode things, so this
is postponed.
- Commit:
2fafa2d23e5607def335902b7a9d10a9de5247a9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bring the CGI implementation in par with GLV-1.12556