aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing
Commit message (Collapse)AuthorAgeFilesLines
* 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-153-14/+16
| | | | | | * 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-152-3/+2
| | | | easier to tweak implementation
* Changed so more loggers go via the zen::loggers interfaceStefan Boberg2021-09-152-2/+3
|
* Implemented intended package streaming API flow (but currently it "streams" ↵Stefan Boberg2021-09-131-4/+3
| | | | from memory)
* Added client implementation of CbPackage filter/transactStefan Boberg2021-09-131-0/+10
|
* Changed interface for httpServerRequest::SessionId()/RequestId() so they ↵Stefan Boberg2021-09-132-16/+39
| | | | | | | | | | | | | | share storage and lazy eval logic They now call into ParseSessionId()/ParseRequestId() when required Eliminates redundant logic in derived implementations Also moved package transport code into httpshared.(cpp|h) for easier sharing with client code Added some I/O error reporting in http.sys related code Changed IHttpPackageHandler interface to support partially updated handling flow
* Package filtering related test codeStefan Boberg2021-09-132-2/+57
|
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-123-21/+5
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* Factored out http server related code into zenhttp module since it feels out ↵Stefan Boberg2021-09-092-2/+2
| | | | of place in zencore
* Introduced dedicated HTTP testing service, used during development to ↵Stefan Boberg2021-09-082-0/+82
| | | | exercise the server framework
* Launch sandbox directory is now dynamic and configured from the main serverStefan Boberg2021-06-202-14/+35
| | | | Also added some debug logging
* Added process exit code to launcher responseStefan Boberg2021-06-181-1/+26
|
* Adding zenservice codeStefan Boberg2021-05-112-0/+521