Mikhail Gusarov
dc446eff08
Debug output slightly fixed
2005-06-24 11:18:20 +00:00
Mikhail Gusarov
aa6e9c6eca
Added libssh2_channel_wait_close()
2005-06-24 11:17:50 +00:00
Mikhail Gusarov
2e097c7760
Memory leak liquidated - free the SSH_MSG_CHANNEL_REQUEST packet data
...
after processing 'exit-status' message
2005-06-23 08:22:04 +00:00
Mikhail Gusarov
77bd3c1215
'exit-status' information packet handling added
2005-06-23 05:55:01 +00:00
Mikhail Gusarov
8ee79a5118
Fixed keyboard-interactive authentication, debug output added
2005-06-18 12:18:07 +00:00
Mikhail Gusarov
0ad861d74c
libssh2_userauth_list should return char*, not the const char*
2005-06-18 11:30:31 +00:00
Mikhail Gusarov
b6d13ebe8a
Strictening function prototypes: char* -> const char* where applicable
2005-06-18 10:41:59 +00:00
Sara Golemon
06e1136ea0
Don't send flags for rename op if the sftp version is too low
2005-06-17 17:18:25 +00:00
Sara Golemon
2a6c49a73a
Add abstract pointer to keyboard-interactive callback
2005-06-16 17:14:31 +00:00
Sara Golemon
da653774aa
Add keyboard interactive authentication.
...
Implementation contributed by Mikhail Gusarov.
2005-06-11 19:18:06 +00:00
Sara Golemon
6de7ed8a7b
Drop these old references to initial window size, they were a mistake
2005-05-18 17:12:40 +00:00
Sara Golemon
cc7703092f
Save up multiple small refunds in order to cut down on unnecessary WINDOW_ADJUST packets
2005-05-18 17:08:29 +00:00
Sara Golemon
ff6f2dbe52
Typo: ALWAYS TEST FIRST
2005-05-17 17:18:48 +00:00
Sara Golemon
e5ee4a5be3
Fix sftp packet queueing mechanism
2005-05-17 05:22:41 +00:00
Sara Golemon
30bb7db0d1
Reduce busy-looping of libssh2_sftp_packet_requirev()
2005-05-16 23:12:09 +00:00
Sara Golemon
8d90bbfc28
Fix segfault when client/host can't agree on hostkey/crypt/mac/comp
2005-05-16 17:16:25 +00:00
Sara Golemon
e9b0710b4b
Fix format specifiers
2005-05-11 05:26:12 +00:00
Sara Golemon
379e510c87
Whoops
2005-05-11 05:16:32 +00:00
Sara Golemon
ebfbd22e59
Add debugging hooks for development diagnostics
2005-05-11 05:11:31 +00:00
Sara Golemon
9a0ba35457
Ignore extended data in the SFTP layer.
2005-05-10 04:57:34 +00:00
Sara Golemon
023c54d95d
One last (better be last) fix for FXP_INIT
2005-05-10 04:49:43 +00:00
Sara Golemon
ba2f21eb85
More fixes for channel_write()
2005-05-06 18:30:43 +00:00
Sara Golemon
8e0e6d81dd
Block means block
2005-05-04 19:01:48 +00:00
Sara Golemon
cba673de6f
Make blocking_read's polling loop less arbitrary
2005-05-04 18:48:47 +00:00
Sara Golemon
11b27e52c3
Put filetype into open/diropen/mkdir attributes
2005-05-04 18:06:07 +00:00
Sara Golemon
f289bcdd54
Fix constant from last patch
2005-05-04 17:52:32 +00:00
Sara Golemon
ed88c32368
FXP_INIT packet should not have had a request_id component and sftp_packet_require shouldn't expect FXP_VERSION to have one when coming back. Thanks puudeli!
2005-05-03 13:57:40 +00:00
Sara Golemon
83b95eb13e
Fixed SFTP to be properly BC with version 1 and 2 servers
2005-04-07 21:53:55 +00:00
Sara Golemon
ba420fc7bf
Block means block.
2005-04-05 23:08:41 +00:00
Sara Golemon
ae9ad1ef6f
break; fallthroughs in win32 code
2005-04-02 05:43:17 +00:00
Sara Golemon
d3f854c21b
Phase II of packet loop migration: Clean code is good code
2005-04-01 20:17:09 +00:00
Sara Golemon
5d9c0d50f3
Another typo
2005-04-01 15:34:14 +00:00
Sara Golemon
15b8489046
Phase 1 of the Great Timeout Cleanup
2005-04-01 06:11:34 +00:00
Sara Golemon
dce388e9c5
Nix unused variable
2005-03-28 23:03:41 +00:00
Sara Golemon
0138e36352
Add libssh2_channel_window_(read|write)_ex()
2005-03-28 22:59:35 +00:00
Sara Golemon
d6039f39e4
Nix the memset loop
...
Speaking of which: Why wasn't it JUST a memset() call?
The encrypted version of packet_write fills in this data with OpenSSL
RAND_bytes() data, and as far as the unencrypted version goes?
Well, it's unencrypted, randomness doesn't help at that point.
2005-03-26 05:31:31 +00:00
Sara Golemon
0e0ed2aff4
Don't let a dead session leave poll() hanging
2005-03-26 01:26:14 +00:00
Sara Golemon
c67bb667aa
Add libssh2_poll()
2005-03-23 00:21:26 +00:00
Sara Golemon
141ac5b856
Add sys/uio.h for FBSD builds and remove old stdio references
2005-03-21 21:26:08 +00:00
Sara Golemon
9f64f34dfe
Swap compression mode preferences, prefer none over zlib by default
2005-03-17 19:20:32 +00:00
Sara Golemon
7db9aeecf8
Possible fix for compatability with OpenSSL < 0.9.7
2005-03-02 01:55:51 +00:00
Sara Golemon
99e5547442
strm->next_out doesn't *stay* == out, only free out
2005-02-28 17:02:39 +00:00
Sara Golemon
ef7496b29a
Update copyright year
2005-02-18 16:32:02 +00:00
Sara Golemon
fe7ea0df58
Add support for hostbased pubkey authentication
2005-02-14 05:51:06 +00:00
Sara Golemon
500169bf97
Acknowledge window adjustments and fix the paren bug I just introduced :)
2005-02-14 03:16:42 +00:00
Sara Golemon
10a0c20eae
Fix extended data identification and make window adjust always be sent
2005-02-14 03:06:35 +00:00
Sara Golemon
c6bbe0d42f
Added libssh2_session_flag() and LIBSSH2_FLAG_SIGPIPE with hooks
2005-02-03 05:57:43 +00:00
Sara Golemon
a05bf84ecf
Collapse state flags into single bitmask attribute
2005-02-03 05:41:35 +00:00
Sara Golemon
2c5c54e999
Fix zlib compression when internal buffer not empty
2005-02-01 05:37:42 +00:00
Sara Golemon
096ef86627
Avoid segfault when libssh2_session_methods() called too early
2005-01-21 23:30:28 +00:00