diff --git a/src/core_api.cpp b/src/core_api.cpp index 966aa4cc..40968838 100644 --- a/src/core_api.cpp +++ b/src/core_api.cpp @@ -793,7 +793,12 @@ bool del_remove_documents(const std::shared_ptr& req, const std::share } } - stream_response(req, res); + if(res->final) { + stream_response(req, res); + } else { + defer_processing(req, res, 0); + } + return true; }