aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpsys.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Some error handling improvements in zenhttpStefan Boberg2021-09-121-64/+79
| | | | Primarily replaces some exception usage with std::error_code
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-121-13/+13
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* Comment fixes, changed thread count args to unsignedStefan Boberg2021-09-111-2/+10
|
* Improved error reporting, tweaked request buffer size and added explicit ↵Stefan Boberg2021-09-101-16/+119
| | | | cleanup of http API resources
* Refactored HTTP request handling to scale betterStefan Boberg2021-09-101-309/+395
| | | | | | 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
* clang-formatStefan Boberg2021-09-091-4/+4
|
* Parse Accept mime type (ad hoc cherry pick from main)Stefan Boberg2021-09-091-0/+3
|
* Added compile time logic to toggle http.sys / null http implementation on/offStefan Boberg2021-09-091-11/+8
|
* Factored out http server related code into zenhttp module since it feels out ↵Stefan Boberg2021-09-091-0/+1250
of place in zencore