Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-05-20 | Static: fixed potential undefined behavior in memcpy(). | Valentin Bartenev | 1 | -1/+1 | |
According to the C standard, pointer arguments passed to memcpy() calls shall still have valid values. NULL is considered as invalid. Found with GCC Static Analyzer. | |||||
2020-03-03 | Added a "fallback" option to be used with the "share" action. | Valentin Bartenev | 1 | -0/+13 | |
It allows proceeding to another action if a file isn't available. An example: { "share": "/data/www/", "fallback": { "pass": "applications/php" } } In the example above, an attempt is made first to serve a request with a file from the "/data/www/" directory. If there's no such file, the request is passed to the "php" application. Fallback actions may be nested: { "share": "/data/www/", "fallback": { "share": "/data/cache/", "fallback": { "proxy": "http://127.0.0.1:9000" } } } | |||||
2019-11-14 | Initial proxy support. | Igor Sysoev | 1 | -1/+1 | |
2019-11-14 | Replacing pass with action. | Igor Sysoev | 1 | -4/+4 | |
2019-09-24 | Static: returning 404 for Unix domain sockets. | Valentin Bartenev | 1 | -0/+11 | |
It's now similar to how attempts to access other non-regular files are handled. | |||||
2019-09-20 | Fixed segfault if an inappropriate file system object is requested. | Valentin Bartenev | 1 | -1/+2 | |
Found by Coverity (CID 349483). | |||||
2019-09-19 | Basic support for serving static files. | Valentin Bartenev | 1 | -0/+599 | |