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 ac33d9f commit 390dca8Copy full SHA for 390dca8
olp-cpp-sdk-core/src/http/curl/NetworkCurl.cpp
@@ -718,6 +718,9 @@ ErrorCode NetworkCurl::SendImplementation(
718
curl_easy_setopt(curl_handle, CURLOPT_VERBOSE, 0L);
719
}
720
721
+ // Request HTTP/2 when supported by the server (via ALPN negotiation)
722
+ curl_easy_setopt(curl_handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
723
+
724
curl_easy_setopt(curl_handle, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
725
726
const std::string& url = request.GetUrl();
0 commit comments