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

Fixed a HTTP/2 + OpenSSL + gzip issue.

Kishore Nallanf17d1e0cf2e3
diff --git a/src/http_server.cpp b/src/http_server.cpp
index 5283e17a..85f366e2 100644
--- a/src/http_server.cpp
+++ b/src/http_server.cpp
@@ -388,7 +388,6 @@ void HttpServer::send_response(http_req* request, const http_res* response) {
h2o_add_header(&req->pool, &req->res.headers, H2O_TOKEN_CONTENT_TYPE, NULL, H2O_STRLIT("application/json; charset=utf-8"));
h2o_start_response(req, &generator);
h2o_send(req, &body, 1, H2O_SEND_STATE_FINAL);
- h2o_dispose_request(req);
delete request;
delete response;