From cf3251c48ccd7fb0cbd3de98c17e87fccb50d4d7 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 30 Nov 2018 09:43:51 +0800 Subject: [PATCH] HttpResponse add Connection: close header --- a8/strutils.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/a8/strutils.cc b/a8/strutils.cc index 16ddd95..ffe3f86 100644 --- a/a8/strutils.cc +++ b/a8/strutils.cc @@ -294,6 +294,7 @@ namespace a8 { std::string response = a8::Format( "HTTP/1.1 %d OK\r\n" + "Connection: close\r\n" "Content-Type: text/plain\r\n" "Content-Length: %d\r\n\r\n%s", {