Skip to content

Commit

Permalink
Set CURLOPT_MAXCONNECTS from ClientConfiguration.maxConnections
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyRyabinin committed Sep 12, 2023
1 parent 8e93b88 commit d8463fb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ void CurlHandleContainer::SetDefaultOptionsOnHandle(CURL* handle)
curl_easy_setopt(handle, CURLOPT_TCP_KEEPINTVL, m_tcpKeepAliveIntervalMs / 1000);
curl_easy_setopt(handle, CURLOPT_TCP_KEEPIDLE, m_tcpKeepAliveIntervalMs / 1000);
curl_easy_setopt(handle, CURLOPT_HTTP_VERSION, ConvertHttpVersion(m_version));
curl_easy_setopt(handle, CURLOPT_MAXCONNECTS, m_maxPoolSize);
}

long CurlHandleContainer::ConvertHttpVersion(Version version) {
Expand Down

0 comments on commit d8463fb

Please sign in to comment.