Open buyvm4 opened 6 years ago
Same problem here when any TCP problem on client side. Like suspend the TCP connection by OS. PHP error kill the server. stderr replace to disconnect is a perfect solution, that's worked for me too. I've tested with 305 real device connection.
I got error when httpClient reflesh quickly..
websockets.php 122 default: $this->stderr('Socket error: ' ....
I coded below, and works fine. $this->disconnect($socket, true, $sockErrNo);
thank you.