Commits
- Commit:
827cc37cff5940d529ab4fb75fc206f7db94adeb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update tests
* we don't add a space before the lang anymore
* we're more strict in CGI handling: the `invalid' CGI script now
triggers a 42 CGI ERROR
- Commit:
3571854e942b2354ae216f340add076d71d0776a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix possible out-of-bound access
While computing the parent directory it an out-of-bound access can
occur, which usually means the server process dies.
In particular, it can be triggered by making a request for a
non-existent file in the root of a virtual host if the path matches
the `cgi` pattern.
Thanks cage for helping in debugging!
- Commit:
3e0164f4c31a96455a71e87c071ffedffca9dfa5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use certs from regress/
- Commit:
735336b21edbca50b1650df091ed2dad47f96c27
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unbreak configless mode
An un-initialized field in the configless code path leads to a crash
on the first request.
- Commit:
a82d4dfa25d30d3c512bd1fc15821186bf4d35c4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide a fallback value for SKIP_RUNTIME_TESTS
some [ implementation will warn about "bad number"
- Commit:
d19951cf0373f6217bce2f97489bc46d6a8837ef
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename `mime MIME EXT' to `map MIME to-ext EXT'
With the newish automatic string concatenation, options like `mime'
that accepts two strings as parameter start to become ambiguous: which
strings gets concatenated? Instead of trying to document in the
manpage which argument(s) is subject to string concatenation, do the
concat always and introduce a separator. In the case of mime,
`to-ext' now acts as a separator to distinguish. While there, also
use a new keyword because it sounds better.
It's dead-easy to upgrade to the new configuration, possibly with some
sed magic, but for the moment the old `mime' form is preserved: (with
a warning!) Will be dropped in the next release.
- Commit:
bffa7daab8d1a54cf099287cbc0ce443fea4c0d0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide a means to skip the runtime tests
Setting the environment variable SKIP_RUNTIME_TESTS to 1 will prevent
the runtime tests. This is useful when running the tests inside a
sandbox.
based on a similar diff by Anna "CyberTailor"
- Commit:
321341f6c09b8d51f6ed137833300af5417a3b61
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add -T timeout to gg; don't let the regress test hang
- Commit:
ca3f67564ce8ef5fe32e10084445edc56b4adeaa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't log too much by default
- Commit:
fb4102a5ffdf34311e88a8c0ac6712546482f09d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
test macro expansion too
- Commit:
0f2124e29194b42209e879a539e35d295f525311
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add some simple test for fastcgi
and while there reorder the targets in the Makefile a bit
- Commit:
f48e3b85a97ab6dbf808559c2231d0ab6344ba66
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move gg to regress
- 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