-
This commit is contained in:
@@ -70,7 +70,7 @@ class FlashConnection extends BaseConnection {
|
||||
}
|
||||
|
||||
private function onSocketData(_):Void {
|
||||
if (socket.bytesAvailable == 0) return;
|
||||
if (socket.bytesAvailable < 4) return;
|
||||
var family = socket.readByte();
|
||||
var id = socket.readByte();
|
||||
var length = socket.readShort();
|
||||
|
||||
Reference in New Issue
Block a user