[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] com pecl/networking/ssh2: Fix #75523: =?UTF-8?Q?stream=5Fset=5Ftimeout=28?= =?UTF-8?Q?=29
From:       Casper Langemeijer <langemeijer () php ! net>
Date:       2021-02-10 16:26:57
Message-ID: php-mail-7ce37667439a00afa052c3c493dccf10350557706 () git ! php ! net
[Download RAW message or body]

Commit:    717170e90ee9f33b0d25781b1f07789415599dd3
Author:    Christoph M. Becker <cmbecker69@gmx.de>         Wed, 10 Feb 2021 17:26:57 \
                +0100
Parents:   93265d71bdeb23350e8320126c7949ed791310df
Branches:  master

Link:       http://git.php.net/?p=pecl/networking/ssh2.git;a=commitdiff;h=717170e90ee9f33b0d25781b1f07789415599dd3


Log:
Fix #75523: stream_set_timeout(): No support for ssh2 stream timeout

Obviously, the appropriate define is not done in config.w32, although
libssh2 1.4.2 is available for Windows builds as of 2012-09-20.  For
current PHP versions libssh2 1.9.0 is used on Windows.

Bugs:
https://bugs.php.net/75523

Changed paths:
  M  config.w32


Diff:
diff --git a/config.w32 b/config.w32
index d914f69..b715414 100644
--- a/config.w32
+++ b/config.w32
@@ -37,6 +37,7 @@ if (PHP_SSH2 != "no") {
         EXTENSION("ssh2", "ssh2.c ssh2_fopen_wrappers.c ssh2_sftp.c");
         AC_DEFINE('HAVE_SSH2LIB', 1);
         AC_DEFINE('PHP_SSH2_AGENT_AUTH', 1);
+        AC_DEFINE('PHP_SSH2_SESSION_TIMEOUT', 1);
         ADD_EXTENSION_DEP('ssh2', 'zlib')
         ADD_EXTENSION_DEP('ssh2', 'openssl')
     }


--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic