aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpsys.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Implemented intended package streaming API flow (but currently it "streams" ↵Stefan Boberg2021-09-131-4/+12
| | | | from memory)
* Changed package parsing test codeStefan Boberg2021-09-131-3/+3
|
* Changed interface for httpServerRequest::SessionId()/RequestId() so they ↵Stefan Boberg2021-09-131-54/+85
| | | | | | | | | | | | | | 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-233/+173
| | | | 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-10/+0
|
* 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