diff options
| author | Per Larsson <[email protected]> | 2021-09-07 10:26:22 +0200 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-09-07 10:26:22 +0200 |
| commit | c5dd3d32cb29ac963f61eb6c119d54ed14f94f9a (patch) | |
| tree | 57a04246635577f11a35bb9a670610d508e694e8 /zencore/include | |
| parent | Added custom cpr::Response formatter and removed duplicate logging code. (diff) | |
| parent | Clarified some async/sync behaviour in HTTP implementation (diff) | |
| download | zen-c5dd3d32cb29ac963f61eb6c119d54ed14f94f9a.tar.xz zen-c5dd3d32cb29ac963f61eb6c119d54ed14f94f9a.zip | |
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/httpserver.h | 3 | ||||
| -rw-r--r-- | zencore/include/zencore/memory.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/zencore/include/zencore/httpserver.h b/zencore/include/zencore/httpserver.h index 2158f87a8..d4d9e21e0 100644 --- a/zencore/include/zencore/httpserver.h +++ b/zencore/include/zencore/httpserver.h @@ -222,6 +222,9 @@ public: This will return a null buffer if the contents are not fully available yet, and the handler should at that point return - another completion request will be issued once the contents have been received fully. + + NOTE: in practice, via the http.sys implementation this always operates synchronously. This should + be updated to provide fully asynchronous operation for better scalability on shared instances */ virtual IoBuffer ReadPayload() = 0; diff --git a/zencore/include/zencore/memory.h b/zencore/include/zencore/memory.h index 040f97025..5a324955d 100644 --- a/zencore/include/zencore/memory.h +++ b/zencore/include/zencore/memory.h @@ -53,7 +53,7 @@ public: inline void Free(void* Ptr) { ZEN_UNUSED(Ptr); /* no-op */ } ChunkingLinearAllocator(const ChunkingLinearAllocator&) = delete; - ChunkingLinearAllocator&operator=(const ChunkingLinearAllocator&) = delete; + ChunkingLinearAllocator& operator=(const ChunkingLinearAllocator&) = delete; private: uint8_t* m_ChunkCursor = nullptr; |