Sara Golemon
6f13a93be9
Fix crash in sftp_close_handle.
...
Don't free dir handle data when it's not a dir handle!
2004-12-24 03:49:25 +00:00
Sara Golemon
f11c657a10
Make libssh2_packet_read() use a static buffer to avoid unnecessary
...
alloc and free calls.
Since the cipher and mac layers aren't runtime extensible (yet)
and we know neither of these works in sizes greater than 32,
we can safely set aside a 64 byte block of data on the stack
for crypting and hashing.
This will make a big difference during quasi-non-blocking reads
where libssh2_packet_read() is polled repeatedly.
2004-12-23 00:42:20 +00:00
Sara Golemon
525a181037
Add SFTP support
2004-12-22 00:20:02 +00:00
Sara Golemon
d974137db9
Fixes: scp blocking modes, MacError abstract indirection
...
Additions: Channel Close callback
2004-12-20 21:52:35 +00:00
Sara Golemon
912e9ca713
Fixed polling error in libssh2_channel_read_ex()
2004-12-18 07:00:51 +00:00
Sara Golemon
3614bdac21
Changed libssh2_session_disconnect_ex() to return an error code
...
on failed alloc.
2004-12-16 23:02:25 +00:00
Sara Golemon
620a685af2
Add libssh2_session_last_error()
2004-12-16 22:44:28 +00:00
Sara Golemon
d2ca405d0f
Added libssh2_session_abstract()
2004-12-09 23:27:14 +00:00
Sara Golemon
566bea77ea
Add libssh2_session_method_pref() and libssh2_session_methods().
...
Specify methods to be used and retreive what methods were negotiated.
2004-12-09 22:10:07 +00:00
Sara Golemon
7035d475eb
Added libssh2_session_callback_set()
2004-12-09 18:24:14 +00:00
Sara Golemon
794f01acc1
Add flush mechanism to the channel API
2004-12-08 18:54:25 +00:00
Sara Golemon
2b670d36ca
Update changelog
2004-12-08 18:24:06 +00:00
Sara Golemon
7a5ffc8cee
Initial revision
2004-12-07 21:17:20 +00:00