fix(net): scope GCC -Wno-tsan to Http.cpp and fix StallServer race

This commit is contained in:
faumaray committed 2026-11-26 22:00:17 +03:00
1 parent 66baae74a0
commit 9920bfdaac
2 files changed
+12 -1

No files matched your search

+2 -1
View File
@@ -273,8 +273,9 @@ Void::Testing::Test http_client_timeout_bounds_a_stalled_server()
~StallServer()
{
if (conn >= 0) ::close(conn);
if (fd >= 0) ::shutdown(fd, SHUT_RDWR);
if (worker.joinable()) worker.join();
if (conn >= 0) ::close(conn);
if (fd >= 0) ::close(fd);
}
};