This commit is contained in:
yhirose 2020-06-09 19:58:01 -04:00
parent d0dc200633
commit 24bdb736f0
2 changed files with 46 additions and 18 deletions

View file

@ -2294,8 +2294,9 @@ TEST_F(ServerTest, MultipartFormDataGzip) {
// Sends a raw request to a server listening at HOST:PORT.
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, /*timeout_sec=*/5, 0,
std::string());
auto client_sock = detail::create_client_socket(
HOST, PORT, nullptr,
/*timeout_sec=*/5, 0, std::string());
if (client_sock == INVALID_SOCKET) { return false; }