aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpserver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* http: added some more content-type aliases/suffixesStefan Boberg2022-06-101-10/+27
|
* Helper function for sending compact binary array HTTP response.Per Larsson2022-03-231-0/+16
|
* Added some new mime types; javascript, css, png and icoMartin Ridgers2022-03-151-0/+20
|
* Format fix.Per Larsson2022-01-221-1/+1
|
* Some C++ libs do not implement string_view(iter, iter) ctor yetMartin Ridgers2022-01-071-1/+2
|
* Corrected typoMartin Ridgers2022-01-071-2/+2
|
* WriteResponse(..., CompositeBuffer&) was calling itself indefinitelyMartin Ridgers2022-01-071-1/+1
|
* Merged main.Per Larsson2021-12-141-2/+0
|\
| * Merged mainMartin Ridgers2021-11-291-0/+81
| |\
| * | Removed unnecessary includeMartin Ridgers2021-10-251-2/+0
| | |
* | | Format fix.Per Larsson2021-12-091-3/+3
| | |
* | | Merged main.Per Larsson2021-12-091-0/+81
|\ \ \ | | |/ | |/|
| * | Move HandlePackageOffers out of ifdef to fix static compile error.Zousar Shaker2021-11-251-38/+40
| | |
| * | Fix handling of packages/offers in asio mode to match http.sys mode.Zousar Shaker2021-11-251-0/+79
| |/
* / rpc: tactical checkinStefan Boberg2021-11-181-0/+18
|/
* Fixed logic for picking a default http implementation, which was caused by ↵Stefan Boberg2021-10-151-5/+5
| | | | inconsistent preprocessor definitions
* asio HTTP implementation (#23)Stefan Boberg2021-10-141-6/+46
| | | asio-based HTTP implementation
* Support for asynchronous HTTP response processing (#19)Stefan Boberg2021-10-061-1/+1
| | | | | | | | 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]>
* Merged from upstreamStefan Boberg2021-10-031-1/+3
|\
| * Fixed missing content type.Per Larsson2021-10-031-1/+3
| |
* | http: Added support for specifying response content-type by means of ↵Stefan Boberg2021-10-031-10/+28
|/ | | | | | suffixes (.json/.yaml etc) If a suffix is present then we'll use that instead of any Accept: header value
* Added simple stats HTML dashboard with route /dashboard.Per Larsson2021-10-011-0/+3
|
* Switch back to the right HTTP back-endStefan Boberg2021-09-291-1/+1
|
* http: ReasonStringForHttpResultCode returns string_view to avoid strlenStefan Boberg2021-09-281-59/+59
|
* Compact binary to JSON (#12)Per Larsson2021-09-271-3/+11
| | | CompactBinary: Support for converting CbObject to JSON
* Added HttpVerb ToString() function for use in loggingStefan Boberg2021-09-261-0/+24
|
* It's not possible to compile out testsStefan Boberg2021-09-201-2/+5
| | | | 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.
* Improved package serialization to allow round trippingStefan Boberg2021-09-161-1/+1
|
* Hooked up zenhttp to the test framework so tests actually run as part of ↵Stefan Boberg2021-09-151-2/+7
| | | | zenserver-test
* Added support for compressed binary MIME type conversionStefan Boberg2021-09-151-34/+65
|
* Moved some shared http definitions into httpcommon.hStefan Boberg2021-09-131-0/+15
| | | | Added CompositeBuffer HttpServerRequest::WriteResponse() helper function
* SImplified some payload access codeStefan Boberg2021-09-131-4/+2
|
* Changed interface for httpServerRequest::SessionId()/RequestId() so they ↵Stefan Boberg2021-09-131-113/+23
| | | | | | | | | | | | | | 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-131-0/+212
| | | | Package transmission will also need to be updated (up next) for the new scheme to be effective
* Eliminated HttpServerException and related classesStefan Boberg2021-09-121-8/+0
|
* Some error handling improvements in zenhttpStefan Boberg2021-09-121-8/+1
| | | | Primarily replaces some exception usage with std::error_code
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-121-21/+8
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* 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
|
* Merge branch 'cbpackage-update' of https://github.com/EpicGames/zen into ↵Stefan Boberg2021-09-101-0/+29
|\ | | | | | | cbpackage-update
| * Added MapContentTypeToString() helper functionStefan Boberg2021-09-101-0/+29
| |
* | Added beginnings of a uWS http front-endStefan Boberg2021-09-101-1/+4
|/
* clang-formatStefan Boberg2021-09-091-1/+1
|
* Added compile time logic to toggle http.sys / null http implementation on/offStefan Boberg2021-09-091-0/+5
|
* Factored out http server related code into zenhttp module since it feels out ↵Stefan Boberg2021-09-091-0/+389
of place in zencore