Skip to content

Commit 9f86d76

Browse files
v1.2.6 Release
受信バッファ詰まりを解消
1 parent 24e268d commit 9f86d76

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

app/ProtocolUnits/ProtocolForWebsocket.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,13 @@ protected function getRecvPayload()
707707
// データを受信バッファスタックに設定
708708
$p_param->setRecvStack($entry_data);
709709

710+
// 受信データが残っている場合はRECVキューへ移行
711+
$chk = $p_param->protocol()->isExistReceivingBuffer();
712+
if($chk)
713+
{
714+
$p_param->changeQueue(ProtocolQueueEnum::RECV->value);
715+
}
716+
710717
return null;
711718
};
712719
}

0 commit comments

Comments
 (0)