Merge pull request #4857 from liushuyu/master

web_service: follow-up fix to #4842
This commit is contained in:
LC authored and GitHub committed 2020-10-29 01:54:45 -04:00
commit f7a9c3304a
3 files changed
+444 -220

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
From https://github.com/yhirose/cpp-httplib/tree/fce8e6fefdab4ad48bc5b25c98e5ebfda4f3cf53
From https://github.com/yhirose/cpp-httplib/tree/ff5677ad197947177c158fe857caff4f0e242045 with https://github.com/yhirose/cpp-httplib/pull/701
MIT License
+443 -214
View File
File diff suppressed because it is too large. Load diff
-5
View File
@@ -71,11 +71,6 @@ struct Client::Impl {
return {};
}
if (!cli->is_socket_open()) {
LOG_ERROR(WebService, "Failed to open socket, skipping request!");
return {};
}
cli->set_connection_timeout(TIMEOUT_SECONDS);
cli->set_read_timeout(TIMEOUT_SECONDS);
cli->set_write_timeout(TIMEOUT_SECONDS);