diff options
| author | Stefan Boberg <[email protected]> | 2021-09-10 18:55:30 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-10 18:55:30 +0200 |
| commit | 49d09922716b216896fe60a92b1a126c9ba8c302 (patch) | |
| tree | cd46ccc03b51969926306a2e8884c762474b9503 /zenhttp/httpserver.cpp | |
| parent | Added MapContentTypeToString() helper function (diff) | |
| download | zen-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