Commits
- 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
- Commit:
7aa925863334a2e568bdeaa6c387488b32f333ac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make more explicit the per-location roots test
- Commit:
737a6b50c599460a5e69c8a89e41f9881ff07f88
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ensure %p (path) is always absolute
with the recent changes, sometimes the path may not start with a '/'.
This ensures that %s is ALWAYS an absolute path.
- Commit:
fdea6aa0bca24f6f947e2126ce101fd59caa7a31
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow ``root'' rule to be specified per-location block
- Commit:
adbe6a6493c0e91fcfc918db8f4b5839a2867b1c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
always use ensure_absolute_path and improve its error message