Daniel Stenberg
d89782d99f
improved non-blocking behavior for some of the initing stuff before the actual
...
data transfer begins
2009-03-13 22:14:47 +00:00
Daniel Stenberg
2ba8db9168
wait for socket action accordingly, and do some measurements on the transfer
...
to make this better to use for speed tests
2009-03-13 12:35:13 +00:00
Daniel Stenberg
5f32304805
- (Mar 7 2009) Olivier Hervieu pointed out a flaw in the
...
libssh2_channel_x11_req_ex() function that made it produce a crappy random
chunk of data. Peter Stuge improved the fix to not do out-of-boundary
writes. I (Daniel Stenberg) replaced the snprintf() with a plain sprintf()
since the size argument wasn't adding anything anyway.
2009-03-07 22:08:05 +00:00
Guenter Knauf
16941e1fcf
some minor Makefile tweaks.
2009-03-06 07:25:37 +00:00
Daniel Stenberg
663da93b42
- Added libssh2_version()
2009-02-23 16:22:46 +00:00
Daniel Stenberg
1addcbbf53
- (Feb 20 2009) libssh2_channel_direct_tcpip_ex() bug #1902169 fixed, which
...
caused it to fail when called a second time.
2009-02-20 16:14:45 +00:00
Mikhail Gusarov
d722e09196
Fixed dash-as-minus warning in libssh2_base64_decode.3 manpage
2009-02-17 16:22:51 +00:00
Mikhail Gusarov
317740415a
Fixed syntax error in libssh2_banner_set.3 manpage
2009-02-17 16:22:17 +00:00
Simon Josefsson
558de5e103
Bump ABI revision from 1.0.0 to 1.0.1 due to code changes.
2009-02-16 21:49:31 +00:00
Simon Josefsson
74aad1869d
Fix typo.
2009-02-16 21:48:22 +00:00
Simon Josefsson
b9de72732b
Add date for v1.0 release.
2009-02-16 21:46:40 +00:00
Daniel Stenberg
c672b837f8
- (Feb 12 2009) Romain Bondue extended Markus Moeller fix from Feb 8, based on
...
a previous (uncommitted) patch by Erik Brossler. It improves
libssh2_channel_write_ex in blocking situations when the socket is set non-
blocking.
2009-02-12 11:46:28 +00:00
Daniel Stenberg
c547e07caa
Markus Moeller fixed a flaw in libssh2_channel_write_ex() that would occur
...
on EAGAIN situations.
2009-02-08 12:09:20 +00:00
Daniel Stenberg
6a78a6b358
I want to remove all those macros from the official API at next soname bump
2009-01-01 22:52:46 +00:00
Daniel Stenberg
369fcddb24
fixed compiler warnings, and stripped off "libssh2_" from static functions
...
as that makes shorter function names and then making the code look fine within
80 columns is easier!
2009-01-01 22:47:06 +00:00
Daniel Stenberg
97fbb77da5
made the three public headers use (mostly) lines shorter than 80 columns as
...
HACKING says - it makes them much more readable to my old tired eyes...
2009-01-01 22:27:08 +00:00
Daniel Stenberg
acc2c5dfb9
we're actually working on the 1.0.1 version now (or should it be 1.1?)
2008-12-28 21:01:36 +00:00
Daniel Stenberg
27197bcff3
Added 'TODO' file (again) with some fresh things I could think of right now
2008-12-26 07:54:08 +00:00
Daniel Stenberg
64b3e5e3f6
Added libssh2_trace man page
2008-12-26 07:46:45 +00:00
Daniel Stenberg
ba79d6b52d
libssh2_base64_decode is deprecated and subject for removal in a future
...
version (like on the next soname bump)
2008-12-26 07:37:55 +00:00
Daniel Stenberg
6b38e21fa7
wrote up a first libssh2_base64_decode man page, added a few missing man
...
pages to the tarball
2008-12-23 13:23:45 +00:00
Daniel Stenberg
11330ee6da
based on Heiner Steven's report, fix the name and description of these man
...
pages!
2008-12-23 12:34:17 +00:00
Daniel Stenberg
b3649e86a8
briefly mention my recent sftp-related fixes
2008-12-22 23:40:27 +00:00
Daniel Stenberg
2f32080772
mention web site and mailing list, as I think they're not mentioned anywhere
...
else in the package!
2008-12-22 23:39:46 +00:00
Daniel Stenberg
7aac082782
removed obviously superfluous comments
2008-12-22 22:43:05 +00:00
Daniel Stenberg
5a35edcb9a
use a single >>32 instead of "(value / 65536) / 65536", just make sure that
...
the shift is done on a 64bit type
2008-12-22 22:33:03 +00:00
Daniel Stenberg
079d20aca8
remove unused #ifndef, and two whitespace changes
2008-12-22 22:31:51 +00:00
Daniel Stenberg
b357379923
style/indent changes only to enforce < 80 column lines more strict
2008-12-22 22:10:47 +00:00
Daniel Stenberg
62769b438f
libssh2_sftp_seek64() it is now for the 64bit seek function too as the seek2
...
name has never been used in a release and it makes the naming consistent
2008-12-22 13:18:36 +00:00
Daniel Stenberg
d602478e87
0.19 is now 1.0
2008-12-22 12:51:27 +00:00
Daniel Stenberg
8eba2961ac
Based on Alexander Lamaison's patch, there's now a new
...
function called libssh2_sftp_tell64() that returns the 64 bit file offset,
as the existing libssh2_sftp_tell() only returns a size_t.
2008-12-22 12:46:45 +00:00
Daniel Stenberg
962a41e4ec
first conversion of a malloc => buffer in the sftp handle struct
2008-12-22 12:38:41 +00:00
Daniel Stenberg
31841e7c74
helper script for emacs users to get the code style done libssh2-style
...
automatically
2008-12-20 12:36:50 +00:00
Daniel Stenberg
70f844e57c
- Markus Moeller fixed the issue also reported by Alexander Lamaison which
...
caused SFTP reads with large buffers to fail.
2008-12-19 22:21:36 +00:00
Simon Josefsson
942a81c8d5
Sshd is slow to start on some systems.
2008-12-17 16:22:37 +00:00
Daniel Stenberg
e26956be72
Avoid one malloc by putting the entire handle buffer in the handle struct
...
at once, use a define for the maximum size length of the handle instead of
'256' in the code.
2008-12-17 10:45:20 +00:00
Daniel Stenberg
2535c5c2ee
removed some more libssh2_ prefixes from private functions
...
Made the libssh2_sftp_open_ex() deal with servers that first responds with
STATUS OK and then sends the actual HANDLE. It seems openssh does this at
times and it screwed things up. To me it seems like a spec violation...
2008-12-16 15:35:33 +00:00
Daniel Stenberg
197a26ef8c
removed unused code, intended the code somewhat
2008-12-16 15:32:20 +00:00
Daniel Stenberg
f1dae83d5e
Nothing used libssh2_sftp_packet_read's flush argument anymore so I removed
...
it and simplified the code somewhat thanks to that. I then renamed the function
to sftp_packet_read() only since it is private in this file anyway.
2008-12-16 12:31:58 +00:00
Daniel Stenberg
bcad67636b
renamed libssh2_sftp_packet_requirev to plain sftp_packet_requirev since it
...
is private in this file only and a shorter name is nicer
Removed a "flush" of the data in sftp_packet_requirev() that now seems to have
made SFTP operations a lot more reliable. It didn't make much sense to have it
there but if someone can present a reason for one I figure we should carefully
investigate one and only do it conditionally where/when needed.
2008-12-15 22:58:07 +00:00
Daniel Stenberg
fbb25c7ad0
Clarify that this is only fine to use after an actual SFTP protocol error
...
return code.
2008-12-15 18:48:09 +00:00
Simon Josefsson
e47bedf17c
Support EXEEXT in self-test.
2008-11-27 16:00:07 +00:00
Simon Josefsson
19f78244de
Cygwin needs -lcrypto for -lssl.
...
Reported by "Yang Tse" <yangsita@gmail.com>.
2008-11-27 15:47:05 +00:00
Daniel Stenberg
9d5ba0dee2
oops, add missing file
2008-11-27 12:19:43 +00:00
Yang Tse
0934c4b39d
fix again cygwin build failure unreleased regression
2008-11-26 18:15:09 +00:00
Dan Fandrich
cc3a7d8e83
Fixed a potential use of an uninitialized variable, the result of which lead
...
to an unneeded but harmless realloc.
Reduced the scope of some automatic variables.
2008-11-25 07:01:47 +00:00
Dan Fandrich
8f860e249e
Fixed some typos in log messages
2008-11-25 06:49:04 +00:00
Daniel Stenberg
160f89f42e
- Vlad Grachov brought the new function called
...
libssh2_session_block_directions() which returns a bitmask for what
directions the connection blocks. It is to be used applications that use
non-blocking sockets and when a libssh2 function returns
LIBSSH2_ERROR_EAGAIN this function can be used to figure out in which
direction the socket would block and thus it can wait for the socket to
again be ready for communication in that direction before it calls libssh2
again.
2008-11-24 13:31:00 +00:00
Simon Josefsson
881b01e522
Add a more realistic self-test of libssh2.
2008-11-21 15:00:18 +00:00
Simon Josefsson
74d33d50ba
Ignore coverage/.
2008-11-21 14:51:43 +00:00