From e3255d80cd22d8903b9640e62fe99e9ca9890254 Mon Sep 17 00:00:00 2001 From: Igor Gaponenko Date: Mon, 22 Jan 2024 19:48:28 +0000 Subject: [PATCH] Enabled socket reuse in qhttp to complement client connection sharing --- src/qhttp/Server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qhttp/Server.cc b/src/qhttp/Server.cc index 254f3dabd..550f7fe1f 100644 --- a/src/qhttp/Server.cc +++ b/src/qhttp/Server.cc @@ -238,7 +238,7 @@ void Server::_readRequest(std::shared_ptr socket) { // Temporary disable this option due to a bug in the implementation // causing disconnect if running the service within the Docker environment. // See: DM-27396 - //*reuseSocket = true; + *reuseSocket = true; } if (request->header.count("Content-Length") > 0) {