From 3a95d3db162e54ff02193301fd9cdad2339f66a7 Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Wed, 3 Sep 2025 17:43:56 +0200 Subject: [PATCH] http: add optimizeEmptyRequests server option Signed-off-by: RafaelGSS Co-Authored-By: RafaelGSS --- doc/api/http.md | 8 ++ lib/_http_incoming.js | 9 +++ lib/_http_server.js | 24 ++++++ ...est-http-server-optimize-empty-requests.js | 77 +++++++++++++++++++ 4 files changed, 118 insertions(+) create mode 100644 test/parallel/test-http-server-optimize-empty-requests.js diff --git a/doc/api/http.md b/doc/api/http.md index b11f5a974d635d..9e475c05cc889c 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -3555,6 +3555,9 @@ Found'`.