Handle SSH servers that send success response out of spec order

This commit is contained in:
Zane H 2022-04-22 18:12:38 -06:00 committed by GitHub
parent f57f5debe0
commit 810919ca66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4028,6 +4028,7 @@ class SSH2
} }
// fall-through // fall-through
case MessageType::CHANNEL_EOF: case MessageType::CHANNEL_EOF:
case MessageType::CHANNEL_SUCCESS:
break; break;
default: default:
$this->disconnect_helper(DisconnectReason::BY_APPLICATION); $this->disconnect_helper(DisconnectReason::BY_APPLICATION);