mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-11-10 16:30:53 +00:00
Changd thread count in ClientStop
This commit is contained in:
1 parent
f80b6bd980
commit
34282c79a9
1 file changed
+1
-1
+1
-1
@@ -1767,7 +1767,7 @@ TEST_F(ServerTest, GetStreamedEndless) {
|
||||
|
||||
TEST_F(ServerTest, ClientStop) {
|
||||
std::vector<std::thread> threads;
|
||||
for (auto i = 0; i < 8; i++) {
|
||||
for (auto i = 0; i < 3; i++) {
|
||||
threads.emplace_back(thread([&]() {
|
||||
auto res = cli_.Get("/streamed-cancel",
|
||||
[&](const char *, uint64_t) { return true; });
|
||||
|
||||
Reference in new issue
Block a user