mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-15 09:54:10 +00:00
Merge branch '3.0'
This commit is contained in:
commit
20b3360191
@ -1123,7 +1123,7 @@ class SSH2
|
|||||||
31 => 'NET_SSH2_MSG_KEX_ECDH_REPLY']
|
31 => 'NET_SSH2_MSG_KEX_ECDH_REPLY']
|
||||||
);
|
);
|
||||||
|
|
||||||
self::$connections[$this->getResourceId()] = $this;
|
self::$connections[$this->getResourceId()] = class_exists('WeakReference') ? \WeakReference::create($this) : $this;
|
||||||
|
|
||||||
if (is_resource($host)) {
|
if (is_resource($host)) {
|
||||||
$this->fsock = $host;
|
$this->fsock = $host;
|
||||||
|
Loading…
Reference in New Issue
Block a user