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
This code have something wrong. When I use failover and shut down one of mq instance. It will not come out from the code above. The $data will always be empty.
The text was updated successfully, but these errors were encountered:
Stomp 1.0.0
Stomp.php
do
{
$read = fread($this->_socket, $rb);
if ($read === false)
{
$this->_reconnect();
return $this->readFrame();
}
$data .= $read;
if (strpos($data, "\x00") !== false)
{
$end = true;
$data = rtrim($data, "\n");
}
$len = strlen($data);
} while ($len < 2 || $end == false);
This code have something wrong. When I use failover and shut down one of mq instance. It will not come out from the code above. The $data will always be empty.
The text was updated successfully, but these errors were encountered: