From 74c4f846e7f3fdfdea7c061be0cbec8a84aae86f Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Fri, 25 Sep 2020 16:30:27 +0200 Subject: [PATCH] Changed Keep-Alive timeout from 60 to 3600 --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index e5d5b10..406894b 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -226,7 +226,7 @@ bool connection_handler(const char *preprefix, const char *col1, const char *col try { if (req.isExistingField("Connection") && req.getField("Connection") == "keep-alive") { req.setField("Connection", "keep-alive"); - req.setField("Keep-Alive", "timeout=60, max=100"); + req.setField("Keep-Alive", "timeout=3600, max=100"); } else { req.setField("Connection", "close"); error = true;