diff options
Diffstat (limited to 'src/HttpRequestCommand.cc')
| -rw-r--r-- | src/HttpRequestCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpRequestCommand.cc b/src/HttpRequestCommand.cc index 1b3f4072..7dec1acb 100644 --- a/src/HttpRequestCommand.cc +++ b/src/HttpRequestCommand.cc @@ -74,7 +74,7 @@ HttpRequestCommand::HttpRequestCommand httpConnection->getSocketRecvBuffer()), httpConnection_(httpConnection) { - setTimeout(getOption()->getAsInt(PREF_CONNECT_TIMEOUT)); + setTimeout(std::chrono::seconds(getOption()->getAsInt(PREF_CONNECT_TIMEOUT))); disableReadCheckSocket(); setWriteCheckSocket(getSocket()); } |
