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
Free SSL context.
Kishore Nallanb6055ad0dc15
diff --git a/src/http_server.cpp b/src/http_server.cppindex efb4a820..277511b6 100644--- a/src/http_server.cpp+++ b/src/http_server.cpp@@ -72,6 +72,7 @@ int HttpServer::setup_ssl(const char *cert_file, const char *key_file) {std::cout << "Failed to create DH/ECDH." << std::endl;return -1;}+SSL_CTX_set_tmp_ecdh(accept_ctx->ssl_ctx, key);EC_KEY_free(key);@@ -465,5 +466,7 @@ HttpServer::~HttpServer() {free(ctx.queue);h2o_evloop_destroy(ctx.loop);h2o_config_dispose(&config);++ SSL_CTX_free(accept_ctx->ssl_ctx);delete accept_ctx;}\ No newline at end of file