header refactoring

This commit is contained in:
Benjamin Sergeant
2019-01-05 20:38:43 -08:00
parent 4ca31be4a2
commit 9641c8cf49
7 changed files with 35 additions and 69 deletions

View File

@ -65,7 +65,7 @@ TEST_CASE("socket", "[socket]")
int port = 80;
std::string request("GET / HTTP/1.1\r\n\r\n");
int expectedStatus = 200;
int timeoutSecs = 1;
int timeoutSecs = 3;
testSocket(host, port, request, socket, expectedStatus, timeoutSecs);
}
@ -82,7 +82,7 @@ TEST_CASE("socket", "[socket]")
int port = 443;
std::string request("GET / HTTP/1.1\r\n\r\n");
int expectedStatus = 200;
int timeoutSecs = 1;
int timeoutSecs = 3;
testSocket(host, port, request, socket, expectedStatus, timeoutSecs);
}