[PECL-CVS] [pecl-networking-ssh2] feature/keepalive-support: Assume we have a new enough libssh2 on Windows
[email protected] (Rasmus Lerdorf) Sat, 4 Apr 2026 11:29:47 +0000
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Rasmus Lerdorf (rlerdorf)
Date: 2026-04-04T07:29:42-04:00
Commit: https://github.com/php/pecl-networking-ssh2/commit/9a011857e4c4c120dcbdb17eff53a956fca3ae45
Raw diff: https://github.com/php/pecl-networking-ssh2/commit/9a011857e4c4c120dcbdb17eff53a956fca3ae45.diff
Assume we have a new enough libssh2 on Windows
Changed paths:
M config.w32
Diff:
diff --git a/config.w32 b/config.w32
index b715414..45a0226 100644
--- a/config.w32
+++ b/config.w32
@@ -38,6 +38,7 @@ if (PHP_SSH2 != "no") {
AC_DEFINE('HAVE_SSH2LIB', 1);
AC_DEFINE('PHP_SSH2_AGENT_AUTH', 1);
AC_DEFINE('PHP_SSH2_SESSION_TIMEOUT', 1);
+ AC_DEFINE('PHP_SSH2_KEEPALIVE', 1);
ADD_EXTENSION_DEP('ssh2', 'zlib')
ADD_EXTENSION_DEP('ssh2', 'openssl')
}