summaryrefslogtreecommitdiffstats
path: root/modules/websocket/lws_peer.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-09-24 00:58:28 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-09-24 01:50:37 +0200
commit4b92956db7cb479a1c3ee63f102f9866fbbc6fef (patch)
treeecf842646ec674185988a4e140fd5f8c6a1b628d /modules/websocket/lws_peer.h
parent5d91e87c64f757fb1c20f43a0a30db3c73073625 (diff)
downloadredot-engine-4b92956db7cb479a1c3ee63f102f9866fbbc6fef.tar.gz
Implement WebSocket clean close detection.
Diffstat (limited to 'modules/websocket/lws_peer.h')
-rw-r--r--modules/websocket/lws_peer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/websocket/lws_peer.h b/modules/websocket/lws_peer.h
index 05a3880577..571445db01 100644
--- a/modules/websocket/lws_peer.h
+++ b/modules/websocket/lws_peer.h
@@ -60,6 +60,7 @@ public:
struct PeerData {
uint32_t peer_id;
bool force_close;
+ bool clean_close;
};
RingBuffer<uint8_t> rbw;