aboutsummaryrefslogtreecommitdiff
path: root/zenhttp
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-211-1/+1
| |\
| | * Clang format fix.Per Larsson2021-09-211-1/+1
| | |
| * | Added human-friendly formatting of response send errorsStefan Boberg2021-09-211-1/+1
| |/
* | Merged main into linux-macMartin Ridgers2021-09-219-33/+42
|\|
| * Improved error handling in http.sys handlerStefan Boberg2021-09-201-7/+6
| | | | | | | | Alsod fixed lifetime issue with initial request
| * It's not possible to compile out testsStefan Boberg2021-09-202-4/+10
| | | | | | | | Tests are now compiled in if `ZEN_WITH_TESTS=1`, and compiled out if not. Compiling tests out reduces the footprint of the resulting executables quite significantly.
| * clang-format againStefan Boberg2021-09-191-1/+1
| |
| * zenserver can now run as a Windows service. We'll still need to improve how ↵Stefan Boberg2021-09-176-16/+21
| | | | | | | | data files are found as the current defaults are relative to the user directory which ends up being in the Windows folder when running as the local system user
| * Const correct.Per Larsson2021-09-171-1/+1
| |
| * Minor CbPackage serialization tweaksStefan Boberg2021-09-161-5/+4
| |
* | Merge main into linux-macMartin Ridgers2021-09-169-28/+146
|\|
| * clang-format fixesStefan Boberg2021-09-165-10/+12
| |
| * Improved package serialization to allow round trippingStefan Boberg2021-09-166-22/+138
| |
* | Merge from mainMartin Ridgers2021-09-1610-57/+143
|\|
| * Added some placeholder HttpClient functions to be fleshed outStefan Boberg2021-09-152-1/+20
| |
| * Hooked up zenhttp to the test framework so tests actually run as part of ↵Stefan Boberg2021-09-156-4/+30
| | | | | | | | zenserver-test
| * Adde reminder that the content type is embedded in the IoBufferStefan Boberg2021-09-151-1/+1
| |
| * Added support for compressed binary MIME type conversionStefan Boberg2021-09-152-36/+67
| |
| * Added session id generation and code to include it in HttpClient HTTP requestsStefan Boberg2021-09-152-4/+8
| |
| * Added some more trace-level loggingStefan Boberg2021-09-151-1/+7
| |
| * Made logging macros always append `sv` string_view literal suffixStefan Boberg2021-09-151-11/+11
| | | | | | | | Fixed up the few instances of explicit string_view arguments to make sure they compile properly with the new macros
| * Fixed up invalid fmt formatting stringsStefan Boberg2021-09-151-5/+5
| |
* | MakeWin32ErrorCode() -> MakeErrorCode()Martin Ridgers2021-09-161-2/+2
| |
* | GetWindowsErrorAsString() -> GetErrorAsString()Martin Ridgers2021-09-161-1/+1
|/
* Changed logging implementationStefan Boberg2021-09-151-23/+23
| | | | | | * 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
* Implemented intended package streaming API flow (but currently it "streams" ↵Stefan Boberg2021-09-133-13/+34
| | | | from memory)
* Changed package parsing test codeStefan Boberg2021-09-131-3/+3
|
* Added client implementation of CbPackage filter/transactStefan Boberg2021-09-132-10/+65
|
* vcxproj change for adding httpcommon.hStefan Boberg2021-09-132-0/+2
|
* Introduced FormatPackageMessageBuffer() returning a ComositeBufferStefan Boberg2021-09-132-0/+18
|
* Moved some shared http definitions into httpcommon.hStefan Boberg2021-09-133-160/+188
| | | | Added CompositeBuffer HttpServerRequest::WriteResponse() helper function
* SImplified some payload access codeStefan Boberg2021-09-131-4/+2
|
* Enforce sizes of package serialization structuresStefan Boberg2021-09-131-0/+4
|
* Changed interface for httpServerRequest::SessionId()/RequestId() so they ↵Stefan Boberg2021-09-137-172/+268
| | | | | | | | | | | | | | 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
* Implemented generic CbPackage attachments filteringStefan Boberg2021-09-135-262/+538
| | | | Package transmission will also need to be updated (up next) for the new scheme to be effective
* Eliminated HttpServerException and related classesStefan Boberg2021-09-124-36/+0
|
* Some error handling improvements in zenhttpStefan Boberg2021-09-126-79/+102
| | | | Primarily replaces some exception usage with std::error_code
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-125-78/+56
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* Change warning levels from W3 to 'default' (which is W4)Stefan Boberg2021-09-111-2/+0
|
* Squelch some more uWS warningsStefan Boberg2021-09-111-1/+1
|
* Comment fixes, changed thread count args to unsignedStefan Boberg2021-09-112-3/+11
|
* Changed worker thread defaults to reflect available hardware concurrencyStefan Boberg2021-09-111-1/+1
|
* Tweaked back default to http.sysStefan Boberg2021-09-101-1/+1
|
* Added warning disable for latest uWSStefan Boberg2021-09-101-1/+1
|
* Improved error reporting, tweaked request buffer size and added explicit ↵Stefan Boberg2021-09-102-16/+121
| | | | cleanup of http API resources
* Merge branch 'cbpackage-update' of https://github.com/EpicGames/zen into ↵Stefan Boberg2021-09-104-313/+428
|\ | | | | | | cbpackage-update
| * Refactored HTTP request handling to scale betterStefan Boberg2021-09-102-310/+396
| | | | | | | | | | | | The new logic simply reads the whole payload up front before dispatching to the endpoint handler. This increases concurrency as fewer threads will be blocked waiting for payloads Similar logic will be added for compact binary package negotiation and ultimately we want to support streaming payloads to a staging directory on disk rather than keeping them all in memory
| * Added MapContentTypeToString() helper functionStefan Boberg2021-09-102-3/+32
| |
* | Added beginnings of a uWS http front-endStefan Boberg2021-09-106-2/+115
|/
* clang-formatStefan Boberg2021-09-096-9/+17
|