We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e21b22b commit 1ee81a7Copy full SHA for 1ee81a7
impl/httpLibHttpClient/NHttpClientLibHC.cpp
@@ -101,7 +101,7 @@ void NHttpClientLibHC::setBaseUri(const std::string& uri) { m_baseUri = uri; }
101
102
void NHttpClientLibHC::setTimeout(std::chrono::milliseconds timeout) {
103
m_timeout = timeout;
104
- if (m_timeout >= std::chrono::seconds(0)) {
+ if (m_timeout >= std::chrono::milliseconds(0)) {
105
HRESULT hr =
106
HCHttpCallRequestSetTimeout(nullptr, std::chrono::duration_cast<std::chrono::seconds>(m_timeout).count());
107
if (FAILED(hr)) {
0 commit comments