summaryrefslogtreecommitdiff
path: root/modules/websocket
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-03-27 15:30:17 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-03-27 16:36:44 +0200
commit0e528676683a0df96751fd0daa018e0818baa0e2 (patch)
treea8e9e3707ea37a6431a6aac90b7c91a31ee8b567 /modules/websocket
parenta5eed70fa2edcf755d6abea2077232e38381449b (diff)
[Net] Make StreamPeerTCP::_poll_connection explicit.
No longer hacked into `get_status` and renamed to `poll`. The old `poll` (for *nix `poll`, win `select`) is now called `wait`.
Diffstat (limited to 'modules/websocket')
-rw-r--r--modules/websocket/wsl_client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/websocket/wsl_client.cpp b/modules/websocket/wsl_client.cpp
index 1ef571b6ee..96763037e7 100644
--- a/modules/websocket/wsl_client.cpp
+++ b/modules/websocket/wsl_client.cpp
@@ -273,6 +273,7 @@ void WSLClient::poll() {
return; // Not connected.
}
+ _tcp->poll();
switch (_tcp->get_status()) {
case StreamPeerTCP::STATUS_NONE:
// Clean close