summaryrefslogtreecommitdiff
path: root/modules/websocket/wsl_client.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-05-04 21:13:55 +0200
committerGitHub <noreply@github.com>2022-05-04 21:13:55 +0200
commitd38d05c29818166cfb4aabae9cfa43fdadf50c11 (patch)
treef54c43e6f53b6e55408e174f01a3949fdaaab447 /modules/websocket/wsl_client.h
parent640279bdd4450ba2476cd13c48c4ba2e60f5fc06 (diff)
parent09a48e10556e312eda2894be8ef9439f259da1b4 (diff)
Merge pull request #60761 from Faless/net/4.x_fix_tcp_server_ws
[Net] Fix TCPServer and WSLClient status after "poll" refactoring.
Diffstat (limited to 'modules/websocket/wsl_client.h')
-rw-r--r--modules/websocket/wsl_client.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/websocket/wsl_client.h b/modules/websocket/wsl_client.h
index 04af83f28c..22d7ffa839 100644
--- a/modules/websocket/wsl_client.h
+++ b/modules/websocket/wsl_client.h
@@ -52,6 +52,7 @@ private:
Ref<WSLPeer> _peer;
Ref<StreamPeerTCP> _tcp;
Ref<StreamPeer> _connection;
+ ConnectionStatus _status = CONNECTION_DISCONNECTED;
CharString _request;
int _requested = 0;
@@ -59,8 +60,6 @@ private:
uint8_t _resp_buf[WSL_MAX_HEADER_SIZE];
int _resp_pos = 0;
- String _response;
-
String _key;
String _host;
uint16_t _port = 0;