mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 09:43:51 +00:00
fix indentation
This commit is contained in:
parent
7e1c107029
commit
7b4494748e
@ -1948,7 +1948,7 @@ TEST(ServerRequestParsingTest, ReadHeadersRegexComplexity) {
|
|||||||
bool listen_thread_ok = false;
|
bool listen_thread_ok = false;
|
||||||
thread t = thread([&] { listen_thread_ok = svr.listen(HOST, PORT); });
|
thread t = thread([&] { listen_thread_ok = svr.listen(HOST, PORT); });
|
||||||
while (!svr.is_running()) {
|
while (!svr.is_running()) {
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
// A certain header line causes an exception if the header property is parsed
|
// A certain header line causes an exception if the header property is parsed
|
||||||
@ -2023,7 +2023,7 @@ protected:
|
|||||||
t_ = thread([&]() { ASSERT_TRUE(svr_.listen(nullptr, PORT, AI_PASSIVE)); });
|
t_ = thread([&]() { ASSERT_TRUE(svr_.listen(nullptr, PORT, AI_PASSIVE)); });
|
||||||
|
|
||||||
while (!svr_.is_running()) {
|
while (!svr_.is_running()) {
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user