mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-11-26 20:48:24 +00:00
Fix #531
This commit is contained in:
1 parent
010e4479f4
commit
ce502a73e1
2 files changed
+48
-10
No files matched your search
+1
-1
@@ -2319,7 +2319,7 @@ TEST_F(ServerTest, MultipartFormDataGzip) {
|
||||
static bool send_request(time_t read_timeout_sec, const std::string &req,
|
||||
std::string *resp = nullptr) {
|
||||
auto client_sock =
|
||||
detail::create_client_socket(HOST, PORT, nullptr,
|
||||
detail::create_client_socket(HOST, PORT, false, nullptr,
|
||||
/*timeout_sec=*/5, 0, std::string());
|
||||
|
||||
if (client_sock == INVALID_SOCKET) { return false; }
|
||||
|
||||
Reference in new issue
Block a user