Skip to content

Commit eb5692b

Browse files
committed
extend cmd
1 parent 899f8db commit eb5692b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/TunnelStream.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ protected function handleRead($data)
303303
$stream->emit('error', [$e]);
304304
$stream->close();
305305
}
306+
} else {
307+
$this->emit('cmd', [$cmd, $message]);
306308
}
307309
}
308310
}

0 commit comments

Comments
 (0)