Skip to content

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

Merge branch 'v0.25-join' into v0.26-facets

Kishore Nallan3aa9bad0b15b
diff --cc include/http_data.h
index 4dd08917,d96dee69..9a2bedc9
--- a/include/http_data.h
+++ b/include/http_data.h
@@@ -249,9 -291,9 +292,12 @@@ struct http_req
std::atomic<bool> is_diposed;
std::string client_ip = "0.0.0.0";
+ z_stream zs;
+ bool zstream_initialized = false;
+
+ // stores http lib related datastructures to avoid race conditions between indexing and http write threads
+ stream_response_state_t res_state;
+
http_req(): _req(nullptr), route_hash(1),
first_chunk_aggregate(true), last_chunk_aggregate(false),
chunk_len(0), body_index(0), data(nullptr), ready(false), log_index(0),