Skip to content

Commit 4db6fe2

Browse files
Do not enforce HTTP/2 for cURL-based network (#1610)
Let the cURL itself decide Relates-To: DATASDK-74 Signed-off-by: Andrey Kashcheev <ext-andrey.kashcheev@here.com>
1 parent c316064 commit 4db6fe2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

olp-cpp-sdk-core/src/http/curl/NetworkCurl.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -718,9 +718,6 @@ ErrorCode NetworkCurl::SendImplementation(
718718
curl_easy_setopt(curl_handle, CURLOPT_VERBOSE, 0L);
719719
}
720720

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-
724721
curl_easy_setopt(curl_handle, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
725722

726723
const std::string& url = request.GetUrl();

0 commit comments

Comments
 (0)