mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Updated ClientStop test
This commit is contained in:
parent
0743d78c9b
commit
0cc108d45e
1 changed files with 1 additions and 1 deletions
|
@ -1767,7 +1767,7 @@ TEST_F(ServerTest, GetStreamedEndless) {
|
|||
|
||||
TEST_F(ServerTest, ClientStop) {
|
||||
std::vector<std::thread> threads;
|
||||
for (auto i = 0; i < 100; i++) {
|
||||
for (auto i = 0; i < 3; i++) {
|
||||
threads.emplace_back(thread([&]() {
|
||||
auto res = cli_.Get("/streamed-cancel",
|
||||
[&](const char *, uint64_t) { return true; });
|
||||
|
|
Loading…
Reference in a new issue