Merge pull request #4857 from liushuyu/master
web_service: follow-up fix to #4842
This commit is contained in:
commit
1a6b1bf1d7
3 changed files with 444 additions and 220 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue