aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing
Commit message (Collapse)AuthorAgeFilesLines
* Refactored websocket message.Per Larsson2022-02-212-13/+22
|
* Basic websocket service and test.Per Larsson2022-02-182-1/+30
|
* Unused lambda capture compile fixesMartin Ridgers2022-01-101-10/+10
|
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-102-7/+3
|
* Merged main.Per Larsson2021-12-142-25/+56
|\
| * Missing includesMartin Ridgers2021-11-031-0/+2
| |
| * Removed if-def ZEN_PLATFORM_WINDOWS as its covered by WITH_COMPUTE nowMartin Ridgers2021-11-031-23/+7
| |
| * Wrapped /apply/ and /exec/ services in a ZEN_WITH_COMPUTE_SERVICES defineMartin Ridgers2021-11-032-0/+12
| |
| * If-def'd Basic and SandboxedJob classes temporarilyMartin Ridgers2021-10-291-0/+17
| |
| * Fixed warnings about unhandled switch casesMartin Ridgers2021-10-291-0/+12
| |
| * CAS.cpp/h -> cas.cpp/h to keep Zen's file casing consistentMartin Ridgers2021-10-291-1/+1
| |
| * Fixed up Windows-specific include statementsMartin Ridgers2021-10-291-8/+12
|/
* Support for asynchronous HTTP response processing (#19)Stefan Boberg2021-10-061-0/+41
| | | | | | | | This change introduces WriteResponseAsync which can be used to move potentially slow request handler code (like upstream lookups) off the I/O service thread to ensure we are always able to serve as many HTTP requests as possible. The current implementation defaults to 16 async worker threads and there is currently no back-pressure. - Added RequestStats - Metrics for network requests. Aggregates tracking of duration, payload sizes into a single class for ease of use - Added some metrics on upstream communication Co-authored-by: Per Larsson <[email protected]>
* structured cache: fixed how HEAD requests are handledStefan Boberg2021-09-302-2/+21
| | | | | | the SetSuppressResponseBody() is currently sensitive to ordering and would end up getting called too late to apply fixes UE-129788, UE-129793
* Added simple compact binary endpoint for JSON testingStefan Boberg2021-09-272-1/+15
|
* 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