aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-10 18:55:30 +0200
committerStefan Boberg <[email protected]>2021-09-10 18:55:30 +0200
commit49d09922716b216896fe60a92b1a126c9ba8c302 (patch)
treecd46ccc03b51969926306a2e8884c762474b9503 /zenhttp/httpserver.cpp
parentAdded MapContentTypeToString() helper function (diff)
downloadzen-49d09922716b216896fe60a92b1a126c9ba8c302.tar.xz
zen-49d09922716b216896fe60a92b1a126c9ba8c302.zip
Refactored HTTP request handling to scale better
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
Diffstat (limited to 'zenhttp/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions