From 89d8e6ecbbd5a2ae1b55a610280bf1127c8dd472 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 7 May 2023 11:07:38 -0500 Subject: [PATCH] SFTP: rm redundant code --- phpseclib/Net/SFTP.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index 7015d904..3d190ada 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -545,8 +545,6 @@ class SFTP extends SSH2 */ private function partial_init_sftp_connection() { - $this->window_size_server_to_client[self::CHANNEL] = $this->window_size; - $response = $this->openChannel(self::CHANNEL, true); if ($response === true && $this->isTimeout()) { return false;