Skip to content

Commit

Permalink
Enabled socket reuse in qhttp to complement client connection sharing
Browse files Browse the repository at this point in the history
This fixes a problem reported in https://jira.lsstcorp.org/browse/DM-27396
  • Loading branch information
iagaponenko committed Jan 24, 2024
1 parent 4437e05 commit 16e97e9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/qhttp/Server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,7 @@ void Server::_readRequest(std::shared_ptr<ip::tcp::socket> socket) {
}

if (request->version == "HTTP/1.1") {
// 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) {
Expand Down

0 comments on commit 16e97e9

Please sign in to comment.