From 64642c50ee371aca0647d8da386440870fed5185 Mon Sep 17 00:00:00 2001 From: mikee47 Date: Mon, 28 Feb 2022 15:08:38 +0000 Subject: [PATCH] Remove unused websocket strings --- .../src/Network/Http/Websocket/WebsocketConnection.cpp | 6 ------ .../src/Network/Http/Websocket/WebsocketConnection.h | 6 ------ 2 files changed, 12 deletions(-) diff --git a/Sming/Components/Network/src/Network/Http/Websocket/WebsocketConnection.cpp b/Sming/Components/Network/src/Network/Http/Websocket/WebsocketConnection.cpp index d161532d58..680f7b8b4c 100644 --- a/Sming/Components/Network/src/Network/Http/Websocket/WebsocketConnection.cpp +++ b/Sming/Components/Network/src/Network/Http/Websocket/WebsocketConnection.cpp @@ -17,14 +17,8 @@ #include #include -DEFINE_FSTR(WSSTR_CONNECTION, "connection") DEFINE_FSTR(WSSTR_UPGRADE, "upgrade") DEFINE_FSTR(WSSTR_WEBSOCKET, "websocket") -DEFINE_FSTR(WSSTR_HOST, "host") -DEFINE_FSTR(WSSTR_ORIGIN, "origin") -DEFINE_FSTR(WSSTR_KEY, "Sec-WebSocket-Key") -DEFINE_FSTR(WSSTR_PROTOCOL, "Sec-WebSocket-Protocol") -DEFINE_FSTR(WSSTR_VERSION, "Sec-WebSocket-Version") DEFINE_FSTR(WSSTR_SECRET, "258EAFA5-E914-47DA-95CA-C5AB0DC85B11") WebsocketList WebsocketConnection::websocketList; diff --git a/Sming/Components/Network/src/Network/Http/Websocket/WebsocketConnection.h b/Sming/Components/Network/src/Network/Http/Websocket/WebsocketConnection.h index fc5b32350f..536b2d565b 100644 --- a/Sming/Components/Network/src/Network/Http/Websocket/WebsocketConnection.h +++ b/Sming/Components/Network/src/Network/Http/Websocket/WebsocketConnection.h @@ -25,14 +25,8 @@ extern "C" { #define WEBSOCKET_VERSION 13 // 1.3 -DECLARE_FSTR(WSSTR_CONNECTION) DECLARE_FSTR(WSSTR_UPGRADE) DECLARE_FSTR(WSSTR_WEBSOCKET) -DECLARE_FSTR(WSSTR_HOST) -DECLARE_FSTR(WSSTR_ORIGIN) -DECLARE_FSTR(WSSTR_KEY) -DECLARE_FSTR(WSSTR_PROTOCOL) -DECLARE_FSTR(WSSTR_VERSION) DECLARE_FSTR(WSSTR_SECRET) class WebsocketConnection;