mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-17 10:59:39 +00:00
Fix #2109
This commit is contained in:
1 parent
c765584e6b
commit
33acccb346
2 files changed
+6
-2
No files matched your search
@@ -5571,6 +5571,9 @@ TEST(StreamingTest, NoContentLengthStreaming) {
|
||||
s += std::string(data, len);
|
||||
return true;
|
||||
});
|
||||
|
||||
ASSERT_TRUE(res);
|
||||
EXPECT_EQ(StatusCode::OK_200, res->status);
|
||||
EXPECT_EQ("aaabbb", s);
|
||||
});
|
||||
auto get_se = detail::scope_exit([&] { get_thread.join(); });
|
||||
|
||||
Reference in new issue
Block a user