aboutsummaryrefslogtreecommitdiff
path: root/zenserver/config.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merged mainMartin Ridgers2021-10-161-0/+1
|\
| * zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-151-0/+1
| | | | | | | | | | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above
* | Merged mainMartin Ridgers2021-10-151-0/+13
|\|
| * asio HTTP implementation (#23)Stefan Boberg2021-10-141-0/+13
| | | | | | asio-based HTTP implementation
* | Use std::fs::path for IoBuffer::MakeFromFile().Martin Ridgers2021-10-141-1/+1
|/ | | | | This is more consistent with MakeFromTempFile() and almost all arguments are path objects anyway.
* Added option to specify path to logfile.Per Larsson2021-10-061-0/+1
|
* Added support for choosing best ZEN upstream endpoint based on latency.Per Larsson2021-10-021-5/+13
|
* Added simple stats HTML dashboard with route /dashboard.Per Larsson2021-10-011-0/+1
|
* Added cache HIT/MISS stat counters.Per Larsson2021-10-011-1/+1
|
* Added upstream cache perf metrics.Per Larsson2021-10-011-1/+1
|
* mesh: Hide mesh functionality behind ZEN_ENABLE_MESH defineStefan Boberg2021-09-271-0/+4
| | | | This enables us to hide it from users until it's actually useful
* Added --upstream-jupiter-prod for easy production settings.Per Larsson2021-09-231-0/+7
|
* Simpler upstream stats. Enabled with --upstream-stats.Per Larsson2021-09-231-0/+7
|
* Improved error message when lua config file parsing fails.Stefan Boberg2021-09-221-5/+7
| | | | Now includes line number and other details about what lua does not like
* Added lua config script syntax error handling.Stefan Boberg2021-09-221-0/+8
| | | | I originally expected this to throw but it does not so we have to handle that case ourselves. Currently does not include source location but we will add that at a later time.
* Don't exit until any key pressed when showing help (tmp fix).Per Larsson2021-09-221-1/+4
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-171-8/+33
|\
| * Added upstream cache policy command line option ↵Per Larsson2021-09-171-8/+33
| | | | | | | | (read|write,readonly,writeonly,disabled).
* | Implemented basics for Windows server support (not yet 100% - needs to ↵Stefan Boberg2021-09-171-0/+15
|/ | | | properly report service state etc to the OS)
* Changed `std::exception` into `std::runtime_error` since `std::exception` ↵Stefan Boberg2021-09-151-1/+1
| | | | does not have a constructor which accepts a string argument in the standard (this appears to be an MSVC implementation thing)
* Changed logging implementationStefan Boberg2021-09-151-1/+1
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-2/+4
| | | | easier to tweak implementation
* Added options for indicating a server is running in "dedicated" modeStefan Boberg2021-09-151-0/+1
| | | | I.e running on a host to serve *remote* clients
* Mesh should not default to onStefan Boberg2021-09-081-3/+3
|
* Support for switching between storing derived data using the legacy DDC ↵Per Larsson2021-09-061-1/+11
| | | | endpoint and the Commmon Blob Store endpoint.
* Removed legacy key-value cache (may be reinstated in another form in the future)Stefan Boberg2021-09-031-2/+0
|
* Zen upstream support (#7)Per Larsson2021-09-031-8/+122
|
* Asynchronous upstream caching to JupiterPer Larsson2021-08-311-4/+12
| | | | Co-authored-by: Stefan Boberg <[email protected]>
* Improved crash reporting setup and removed old stubsStefan Boberg2021-08-211-0/+7
| | | | Also added ability to exercise crash reporting from command line
* Added support for defining test/non-test server environmentsStefan Boberg2021-08-061-1/+1
|
* Made some changes to how mesh config worksStefan Boberg2021-06-211-1/+9
|
* Adding zenservice codeStefan Boberg2021-05-111-0/+157