Skip to content

Commit fe6a84a

Browse files
committed
Merge branch '1.0' into 2.0
2 parents 94abf56 + 915d1d8 commit fe6a84a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

phpseclib/Net/SSH2.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3532,6 +3532,10 @@ function _filter($payload, $skip_channel_filter)
35323532

35333533
// only called when we've already logged in
35343534
if (($this->bitmap & self::MASK_CONNECTED) && $this->isAuthenticated()) {
3535+
if (is_bool($payload)) {
3536+
return $payload;
3537+
}
3538+
35353539
switch (ord($payload[0])) {
35363540
case NET_SSH2_MSG_CHANNEL_REQUEST:
35373541
if (strlen($payload) == 31) {

0 commit comments

Comments
 (0)