Gerdriaan Mulder
5167e58cd7
Typofix (php_ssh2_fopen_wraper_parse_path -> php_ssh2_fopen_wrapper_parse_path)
2025-11-23 12:41:43 +01:00
Derick Rethans
65c0da1b18
Fix version declaration
2024-02-10 00:50:53 +00:00
Casper Langemeijer
520e1f0810
Increase version
2023-04-15 16:28:10 +02:00
ax
83da7146c7
add ssh2_shell_resize function
2021-04-14 03:18:33 +08:00
Casper Langemeijer
ec4818971a
Increase version to allow for new release
2021-03-02 12:01:32 +01:00
Casper Langemeijer
bd5f5c2c8c
New release: 1.3
2021-03-01 21:25:39 +01:00
Christoph M. Becker
478edd029a
Fix #80729 : ssh2_shell() streams are not stream_select()able
...
On Windows, the socket type is not an `int` but rather `SOCKET` which
is actually `unsigned int` on x86 and `unsigned __int64` on x64. To
cater to this type mismatch, PHP offers the portable `php_socket_t` (at
least as of PHP 5.0.0). We use it for `php_ssh2_session_data` as well.
2021-02-10 18:53:45 +01:00
Calvin Buckley
67cb5c9ed7
Add ssh2_send_eof function
...
Without this, you can't close the standard input stream without
also closing the standard output stream. One can try to redirect
standard output to error, but having a reference on the error
stream keeps a reference on the stdio stream, so closing stdio
won't decrement the reference count enough to actually close
the stream.
This makes it possible to use programs over SSH that take their
input over standard input without any temporary files, and get the
output back over standard output.
2020-10-30 12:31:29 -03:00
Casper Langemeijer
e9e1fd5cbe
New release 1.2
2019-09-17 15:51:09 +02:00
Peter Kokot
bec44552a2
Remove unused Git attributes ident
...
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifes handling of $Id$ keywords by removing them since
they are not used anymore.
2018-06-30 17:03:54 +02:00
Jan-E
073067ba96
@dstogov Fixed PHP7 port. Restored commented reference counting.
2018-06-28 09:40:55 +02:00
Remi Collet
a8835aab2c
fix php_url fields usage for PHP 7.3
2018-06-28 07:10:35 +02:00
Casper Langemeijer
631e51c100
New release 1.1.2
2017-07-23 17:20:09 +02:00
Casper Langemeijer
8b2e71cc42
New release 1.1.1
2017-06-25 12:05:43 +02:00
Casper Langemeijer
455339f1c8
1.1 release
2017-06-14 14:45:10 +02:00
Mitch Hagstrand
62d00b340f
BUG_73819: call ssh2_shell() causes segment fault
...
1. php_ssh2_shell_open() was calling zend_hash_get_current_key_ex
2. php_ssh2_exec_command() / php_ssh2_shell_open() / php_ssh2_direct_tcpip()
were being passed a pointer instead of the resource ID.
3. Renamed session_rsrc to session_rsrcid
3. Added test for ssh2_shell and reading / writing to the stream
2017-02-06 20:29:23 +01:00
Casper Langemeijer
3694cc9e2d
Fixed merge booboo's reported in bug #73198
2016-09-28 19:20:54 +02:00
Casper Langemeijer
0485f23341
Merge remote-tracking branch 'origin/pr/20'
2016-09-27 05:26:35 +02:00
Casper Langemeijer
f6d69a57b1
Merge remote-tracking branch 'origin/pr/22'
2016-09-27 05:20:18 +02:00
Casper Langemeijer
b7d11e2937
Merge remote-tracking branch 'origin/pr/21'
2016-09-27 05:20:12 +02:00
Libor M
b2cc4bb342
cleanup spaces to tabs
2016-09-25 08:23:17 +02:00
Libor M
ccc3e0be61
update copyright
2016-09-25 08:09:36 +02:00
Libor M
8d81d6bbc1
cleanup obsolete TSRMLS
2016-09-25 08:00:43 +02:00
Libor M
9124448b6f
cleanup PHP 5 compatibility code
2016-09-25 07:47:44 +02:00
Casper Langemeijer
df27bec92d
Back to +dev
2016-06-12 17:10:10 +02:00
Casper Langemeijer
30b9e12189
Update package.xml file
...
- added 0.13 release information from php5 branch
- cleanup for 1.0 release
- improve description
- update release notes
2016-06-12 17:09:21 +02:00
Remi Collet
50d97a52c3
bump version to 0.13-dev (0.12 is already released)
2016-01-13 17:04:58 +01:00
Remi Collet
8ce9e1ebb3
small work on PHP 7
...
- constify paths
- delete ZEND_ENGINE_2 (PHP 7 have ZEND_ENGINE_3)
2016-01-13 16:48:26 +01:00
Sean DuBois
b08b041e2d
TODO: Remove storing TSRM info in _php_ssh2_session_data for now to fix ZTS build
2015-11-20 06:11:53 +00:00
Sean DuBois
0cc703904a
Fix compile errors in ssh2_fopen_wrappers.c
2015-11-20 06:09:13 +00:00
Sean DuBois
dcd430b588
Port ZEND_FETCH_RESOURCE calls to new ZE API in ssh2.c
2015-11-20 06:09:13 +00:00
Sean DuBois
452db3620c
Fix compile time errors in ssh2.c
2015-11-20 06:09:13 +00:00
Lior Kaplan
f8d6c77ad0
Align PHP license version to LICENSE file
2015-07-14 23:11:00 +02:00
Casper Langemeijer
0ef0e7c403
Back to dev
2012-10-16 19:03:28 +00:00
Casper Langemeijer
cc69fa703a
0.12 release
2012-10-15 18:04:32 +00:00
Casper Langemeijer
ada5bd6464
Refactored commit 327852 into macro's
2012-10-01 20:08:47 +00:00
Casper Langemeijer
fbeccc901e
Add support for stream_set_timeout() to channel streams - Fixes bug #56377
2012-06-19 18:13:16 +00:00
Casper Langemeijer
50f1db5ef9
Added feature ssh2_sftp_chmod() - closes bug #59880
2012-06-17 20:54:01 +00:00
Casper Langemeijer
cefeaccd2a
Removed #ifdef's for very old libssh2 versions.
...
Removed code to deal with old libssh2 API.
New libssh2 version requirement => 1.2.3 (feb 2010)
2012-06-17 13:08:39 +00:00
Pierre Joye
874c7a5c37
- back to dev
2011-09-27 20:13:34 +00:00
Pierre Joye
31baf2c046
- fix build with trunk
2010-12-30 23:59:55 +00:00
Pierre Joye
a3d0ea7917
- back to dev
2010-11-03 22:25:14 +00:00
Pierre Joye
40627d083d
- prepare 0.11.2... Note to self: update the version
2010-11-03 22:24:19 +00:00
Mike Sullivan
5891b50e82
Fix PECL bug #9500 - SSH2 sockets not being closed properly because of close vs closesocket difference
2009-02-08 15:27:54 +00:00
Mike Sullivan
e0ab6a2e57
Better 5.2/5.3 compat fixes (thanks for pointing that out Antony)
2009-02-08 11:55:44 +00:00
Mike Sullivan
a8ed856fc5
Fix PECL bug #14397 - compile fails on 5.3
2008-12-02 21:50:10 +00:00
Steph Fox
6a695b84af
- Bring the majority of PECL extensions into line with macro/x.x.x versioning.
...
- Please use the -dev tag during the development cycle so that snapshots can easily be distinguished from releases.
2008-03-31 10:19:21 +00:00
Sara Golemon
3548ecabf7
Update (c) info
2006-06-07 17:35:43 +00:00
Sara Golemon
00a8098569
Prep for release
2005-11-01 23:31:07 +00:00
Sara Golemon
b0befaf316
Add publickey subsystem support
2005-07-21 20:38:21 +00:00