You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$socketStream->on('end', function () use($connection) {
When I changed to $socketStream->on('close', Closure);, the connection is automatically closed:
[2021-03-03 22:35:12][info] Ip "tcp://192.168.31.1:45664" establish connection
[2021-03-03 22:35:17][info] Ip "tcp://192.168.31.1:45664" left connection
[2021-03-03 22:35:17][info] Ip "tcp://192.168.31.1:45674" establish connection
[2021-03-03 22:35:18][info] Ip "tcp://192.168.31.1:45674" left connection
[2021-03-03 22:35:18][info] Ip "tcp://192.168.31.1:45678" establish connection
[2021-03-03 22:35:18][info] Ip "tcp://192.168.31.1:45678" left connection
[2021-03-03 22:35:18][info] Ip "tcp://192.168.31.1:45680" establish connection
[2021-03-03 22:35:19][info] Ip "tcp://192.168.31.1:45680" left connection
[2021-03-03 22:35:19][info] Ip "tcp://192.168.31.1:45682" establish connection
[2021-03-03 22:35:20][info] Ip "tcp://192.168.31.1:45682" left connection
[2021-03-03 22:35:20][info] Ip "tcp://192.168.31.1:45684" establish connection
Sorry for my bad English
The text was updated successfully, but these errors were encountered:
I am using the WebSocketServer. When the client reconnects, the following situations occur:
WebSocketServer::onDisconnect() is not called.
Woketo/src/Server/WebSocketServer.php
Line 165 in 899309b
When I changed to
$socketStream->on('close', Closure);
, the connection is automatically closed:Sorry for my bad English
The text was updated successfully, but these errors were encountered: