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
Withhold 0-length response chunk during res streaming.
Kishore Nallan16c444a6b4f1
diff --git a/src/http_server.cpp b/src/http_server.cppindex b7c3a6d7..b865c839 100644--- a/src/http_server.cpp+++ b/src/http_server.cpp@@ -740,6 +740,11 @@ void HttpServer::stream_response(stream_response_state_t& state) {h2o_start_response(req, state.generator);}+ if(state.res_body.len == 0) {+ // without this, http streaming will break+ return;+ }+h2o_send(req, &state.res_body, 1, state.send_state);//LOG(INFO) << "stream_response after send";