Merge branch '2.0' into 3.0

This commit is contained in:
terrafrost 2022-01-14 18:31:48 -06:00
commit d359543fe7

View File

@ -4075,7 +4075,7 @@ class SSH2
$header = ''; $header = '';
} else { } else {
$this->regenerate_compression_context = false; $this->regenerate_compression_context = false;
$this->compress_context = deflate_init(ZLIB_ENCODING_RAW, ['window' => 15]); $this->compress_context = deflate_init(ZLIB_ENCODING_RAW, array('window' => 15));
$header = "\x78\x9C"; $header = "\x78\x9C";
} }
if ($this->compress_context) { if ($this->compress_context) {