mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Fix #285. Added set_interface method on client
This commit is contained in:
parent
10759f0a38
commit
9a41b16cbb
2 changed files with 66 additions and 5 deletions
|
@ -1817,8 +1817,8 @@ 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) {
|
||||
auto client_sock =
|
||||
detail::create_client_socket(HOST, PORT, /*timeout_sec=*/5);
|
||||
auto client_sock = detail::create_client_socket(HOST, PORT, /*timeout_sec=*/5,
|
||||
std::string());
|
||||
|
||||
if (client_sock == INVALID_SOCKET) { return false; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue