From b58529ac12824da99cb4421c726663674673f9f7 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Sun, 23 Jul 2017 00:00:55 +0200 Subject: [PATCH] restbed: add default close header --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index ff2ba7f..b25a417 100755 --- a/main.cpp +++ b/main.cpp @@ -205,6 +205,7 @@ if (config_json["ssl"]["enable"]) else { settings->set_port(app_port); + settings->set_default_header( "Connection", "close" ); cout << "Start the service at http://127.0.0.1:" << app_port << endl; }