From 702b6a919b31370a111b2ce936dd6f4d62425f7a Mon Sep 17 00:00:00 2001 From: Johann Bauer Date: Mon, 18 Jun 2018 12:46:01 +0200 Subject: [PATCH] Make HTTP Connection header capitalized This is what other implementations do and what the example in RFC 6455 uses. --- websocketpp/processors/base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocketpp/processors/base.hpp b/websocketpp/processors/base.hpp index ddb8b81a4..4c123dfab 100644 --- a/websocketpp/processors/base.hpp +++ b/websocketpp/processors/base.hpp @@ -44,7 +44,7 @@ namespace processor { namespace constants { static char const upgrade_token[] = "websocket"; -static char const connection_token[] = "upgrade"; +static char const connection_token[] = "Upgrade"; static char const handshake_guid[] = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; } // namespace constants