mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-06 15:34:08 +00:00
Merge branch '3.0'
This commit is contained in:
commit
b77ebf2bd2
@ -272,7 +272,7 @@ class SFTP extends SSH2
|
|||||||
* @var array
|
* @var array
|
||||||
* @access private
|
* @access private
|
||||||
*/
|
*/
|
||||||
private $requestBuffer = array();
|
private $requestBuffer = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Preserve timestamps on file downloads / uploads
|
* Preserve timestamps on file downloads / uploads
|
||||||
@ -3012,10 +3012,10 @@ class SFTP extends SSH2
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($request_id) && $this->use_request_id && $packet_id != $request_id) {
|
if (isset($request_id) && $this->use_request_id && $packet_id != $request_id) {
|
||||||
$this->requestBuffer[$packet_id] = array(
|
$this->requestBuffer[$packet_id] = [
|
||||||
'packet_type' => $this->packet_type,
|
'packet_type' => $this->packet_type,
|
||||||
'packet' => $packet
|
'packet' => $packet
|
||||||
);
|
];
|
||||||
return $this->get_sftp_packet($request_id);
|
return $this->get_sftp_packet($request_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user