aboutsummaryrefslogtreecommitdiff
path: root/zenserver-test/zenserver-test.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-09-07 10:26:22 +0200
committerPer Larsson <[email protected]>2021-09-07 10:26:22 +0200
commitc5dd3d32cb29ac963f61eb6c119d54ed14f94f9a (patch)
tree57a04246635577f11a35bb9a670610d508e694e8 /zenserver-test/zenserver-test.cpp
parentAdded custom cpr::Response formatter and removed duplicate logging code. (diff)
parentClarified some async/sync behaviour in HTTP implementation (diff)
downloadzen-c5dd3d32cb29ac963f61eb6c119d54ed14f94f9a.tar.xz
zen-c5dd3d32cb29ac963f61eb6c119d54ed14f94f9a.zip
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zenserver-test/zenserver-test.cpp')
-rw-r--r--zenserver-test/zenserver-test.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp
index 008cae27e..455ab2495 100644
--- a/zenserver-test/zenserver-test.cpp
+++ b/zenserver-test/zenserver-test.cpp
@@ -89,7 +89,7 @@ public:
void Get(const std::string_view Server, int Port, const std::string_view Path)
{
ZEN_UNUSED(Port);
-
+
http_parser_init(&m_HttpParser, HTTP_RESPONSE);
m_HttpParser.data = this;
@@ -152,7 +152,11 @@ private:
return 0;
}
int OnMessageBegin() { return 0; }
- int OnBody(const char* Data, size_t Bytes) { ZEN_UNUSED(Data, Bytes); return 0; }
+ int OnBody(const char* Data, size_t Bytes)
+ {
+ ZEN_UNUSED(Data, Bytes);
+ return 0;
+ }
void OnConnected()
{