Changed Keep-Alive timeout from 60 to 3600
This commit is contained in:
@ -226,7 +226,7 @@ bool connection_handler(const char *preprefix, const char *col1, const char *col
|
|||||||
try {
|
try {
|
||||||
if (req.isExistingField("Connection") && req.getField("Connection") == "keep-alive") {
|
if (req.isExistingField("Connection") && req.getField("Connection") == "keep-alive") {
|
||||||
req.setField("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 {
|
} else {
|
||||||
req.setField("Connection", "close");
|
req.setField("Connection", "close");
|
||||||
error = true;
|
error = true;
|
||||||
|
Reference in New Issue
Block a user