Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Always use http2 for follower -> leader communication.
Kishore Nallanc1a2b2252ae3
diff --git a/src/http_client.cpp b/src/http_client.cppindex 08d23623..257b29bf 100644--- a/src/http_client.cpp+++ b/src/http_client.cpp@@ -270,7 +270,7 @@ CURL *HttpClient::init_curl_async(const std::string& url, deferred_req_res_t* rechunk = curl_slist_append(chunk, content_length_header.c_str());curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);- //curl_easy_setopt(curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE);+ curl_easy_setopt(curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE);// callback called every time request body is neededcurl_easy_setopt(curl, CURLOPT_READFUNCTION, HttpClient::curl_req_send_callback);@@ -318,6 +318,7 @@ CURL *HttpClient::init_curl(const std::string& url, std::string& response) {curl_easy_setopt(curl, CURLOPT_URL, url.c_str());curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, 4000);+ curl_easy_setopt(curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE);// to allow self-signed certscurl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);