mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
42603ce3f4
@ -3682,7 +3682,12 @@ class SSH2
|
|||||||
$response = $this->binary_packet_buffer;
|
$response = $this->binary_packet_buffer;
|
||||||
$this->binary_packet_buffer = false;
|
$this->binary_packet_buffer = false;
|
||||||
} else {
|
} else {
|
||||||
if ($this->curTimeout) {
|
$read = array($this->fsock);
|
||||||
|
$write = $except = null;
|
||||||
|
|
||||||
|
if (!$this->curTimeout) {
|
||||||
|
@stream_select($read, $write, $except, null);
|
||||||
|
} else {
|
||||||
if ($this->curTimeout < 0) {
|
if ($this->curTimeout < 0) {
|
||||||
$this->is_timeout = true;
|
$this->is_timeout = true;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user