From b00dce398e6cf57b6b109cddc1c7456306fab8b8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 3 Dec 2018 22:07:35 +0100 Subject: [PATCH] Removed header: "Connection: close" I'm not sure what my motivation was to put it in there. It has no place in a CGI program. --- CMakeLists.txt | 2 +- src/libravatarserv.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4800c40..37eaa15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.2) project(libravatarserv - VERSION 0.6.5 + VERSION 0.6.6 LANGUAGES CXX ) diff --git a/src/libravatarserv.cpp b/src/libravatarserv.cpp index 0b3e233..c1202be 100644 --- a/src/libravatarserv.cpp +++ b/src/libravatarserv.cpp @@ -32,7 +32,6 @@ int main() { cout << "Server: libravatarserv/" << global::version << endl; cout << "Cache-Control: public, max-age=86400\n"; - cout << "Connection: close\n"; const char *request = std::getenv("REQUEST_URI"); if (request == nullptr)