Commits
- Commit:
ce2c9edbc230a052627540e3fd0f8a8b190be850
- From:
- Omar Polo <op@omarpolo.com>
- Date:
define and use GMID_VERSION
- Commit:
d1051bfaa091850cc98f54b07577f2f721890acd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
define some more fcgi param
- Commit:
1feaf2a618ee1c4771fee80ced7acf31fe40fdae
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use the correct document root
pass the correct loc_off to the executor, so the various variables
that depends on the matched location (like DOCUMENT_ROOT) are computed
correctly.
- Commit:
91b9f2a8f9d39f2fb842c33049d966777027e5f4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
const-ify strip_path
- Commit:
571d20fbb3653391fb9baf932c502f8b9ffe7d27
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
0773413c1d90a356493bc3b6f4ae3760a30ebf29
- From:
- Omar Polo <op@omarpolo.com>
- Date:
correct the description of `strip'
now it's also used in the path lookup process
- Commit:
1eb3631d10e20f089be8f5bb7b81505a068813a4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
certificate generation (bugfix and improvement)
don't add gmid as organisation when generating the certificate, and
set the version to 3, so it's compatible with java/android clients.
Found by Gnuserland, thanks!
- Commit:
58d51f2c1171da65fd4c6d9007d9782a9dbb8bad
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gmid don't enforce anymore that a root is specified
- Commit:
23a5aab4ce21987b36a72e32b9ef1b82b910e797
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop forward declaration of struct client
it's been since the switch to libevent that is no longer needed.
- Commit:
84821dc0acff63dbf7942419dafcdbbe2144d3d2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync
- Commit:
8ad1c570242cd93f0802931621b49b2510b338e7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fastcgi: a first implementation
Not production-ready yet, but it's a start.
This adds a third ``backend'' for gmid: until now there it served
local files or CGI scripts, now FastCGI applications too.
FastCGI is meant to be an improvement over CGI: instead of exec'ing a
script for every request, it allows to open a single connection to an
``application'' and send the requests/receive the responses over that
socket using a simple binary protocol.
At the moment gmid supports three different methods of opening a
fastcgi connection:
- local unix sockets, with: fastcgi "/path/to/sock"
- network sockets, with: fastcgi tcp "host" [port]
port defaults to 9000 and can be either a string or a number
- subprocess, with: fastcgi spawn "/path/to/program"
the fastcgi protocol is done over the executed program stdin
of these, the last is only for testing and may be removed in the
future.
P.S.: the fastcgi rule is per-location of course :)
- Commit:
50310aff335912edde625a5cde3729e34783fd7c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added missing prototype
- Commit:
419e32b05e063a6997f1c1405602d5032e9d5792
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync
- Commit:
c705ecb1ba3dd16e302f340a6bce96c0f28879e4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
factorize all "only once" checks
and while there add some more
- Commit:
7b2d743260095ea97babde51ab6155be2fb92dbb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move pidfile & cgi to global vars