aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-07 10:19:29 +0200
committerStefan Boberg <[email protected]>2021-09-07 10:19:29 +0200
commit89e65df238a4680fe67ddc5ed8c2d345175caba6 (patch)
tree656b571eb28d0ed42a9858781ed473cb02e90daf
parentCompile out experimental VFS code by default (not currently useful/functional) (diff)
downloadzen-89e65df238a4680fe67ddc5ed8c2d345175caba6.tar.xz
zen-89e65df238a4680fe67ddc5ed8c2d345175caba6.zip
Clarified some async/sync behaviour in HTTP implementation
-rw-r--r--zencore/include/zencore/httpserver.h3
1 files changed, 3 insertions, 0 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;