Dan Fandrich
6dfb2e3009
Better handle out of memory situations.
2007-04-12 21:51:57 +00:00
Daniel Stenberg
a84d2ca430
added --enable-debug
2007-04-12 21:40:22 +00:00
Guenter Knauf
3026c46109
removed ENOTCONN define, added HAVE_IOCTLSOCKET define;
...
added the new defines for inclusion of headers.
2007-04-12 21:37:09 +00:00
Dan Fandrich
4e920fe2be
Fixed some spelling mistakes in documentation.
2007-04-12 21:30:03 +00:00
Dan Fandrich
164c6e9fc5
libssh2_channel_close now waits for a SSH_MSG_CHANNEL_CLOSE message
...
from the server as mandated by the RFC. Not doing so causes an OpenSSH
server to occasionally corrupt (truncate) short files uploaded by scp
(which manifests itself as a failure of test603 in the curl regression
test suite).
2007-04-12 21:24:36 +00:00
Simon Josefsson
0cf3845302
Replace #if !WIN32 with #if HAVE_SYS_SOCKET_H and HAVE_SYS_IOCTL_H
...
(AIX needs sys/ioctl.h). Reported by Michael Augustin
<maugustin-hi6Y0CQ0nG0@public.gmane.org>.
2007-04-11 07:22:33 +00:00
Simon Josefsson
149af707de
Use _libssh2_* namespace. Suggested by Guenter Knauf
...
<eflash-hi6Y0CQ0nG0@public.gmane.org>.
2007-04-05 20:36:17 +00:00
Simon Josefsson
e1bc0adcb1
Use Bruno's M4 macros to search for libgcrypt.
2007-04-05 10:23:54 +00:00
Simon Josefsson
2f207bdad5
*** empty log message ***
2007-04-05 10:21:09 +00:00
Simon Josefsson
7972822465
Remove generated files.
2007-04-05 10:00:26 +00:00
Simon Josefsson
b370b89eeb
Moved to README.
2007-04-05 09:59:48 +00:00
Simon Josefsson
01d7396160
Need sys/ioctl.h for FIONBIO, tiny patch from Michael Augustin
...
<maugustin@gmx.net>.
2007-04-05 09:58:25 +00:00
Simon Josefsson
43e377c08e
Fix AIX problem, based on patch from Michael Augustin <maugustin@gmx.net>.
2007-04-05 09:31:38 +00:00
Simon Josefsson
348b914ab7
Protect #include of zlib.h if we build without zlib.
2007-04-04 14:44:50 +00:00
Mikhail Gusarov
e7b3a2efc5
Enabled fragmenting SFTP requests to LIBSSH2_SFTP_PACKET_MAXLEN.
...
(Thanks to elifantu@mail.ru for the patch)
2007-04-01 08:04:32 +00:00
Mikhail Gusarov
56608a799f
Missing brace added
2007-04-01 07:40:49 +00:00
Mikhail Gusarov
f29f85f482
libssh2_sftp_read should not return error if it receives SSH_FX_EOF code in
...
SSH_FXP_STATUS packet.
(Thanks to elifantu@mail.ru for the patch)
2007-04-01 06:23:49 +00:00
Daniel Stenberg
2a48f54937
Callers should be using libssh2_packet_require_ex instead of
...
libssh2_packet_ask_ex. The purpose of these calls is to clear out any packets
that may have arrived already, so there's no need to poll for more.
(Dan Fandrich)
2007-03-31 20:28:29 +00:00
Simon Josefsson
4c7ecad34d
Don't use CPP symbol _MSC_VER unless it is defined, because undefined
...
CPP symbols means 0. Tiny patch from "Yang Tse" <yangsita@gmail.com>.
2007-03-29 08:11:51 +00:00
Simon Josefsson
53d6597569
Need -no-undefined for AIX/cygwin/mingw32 etc. Reported by "Yang Tse"
...
<yangsita@gmail.com>.
2007-03-29 08:10:22 +00:00
Simon Josefsson
af12b96a80
Add comment.
2007-03-27 15:57:23 +00:00
Simon Josefsson
e854459839
Set $SHLIB_SUFFIX_NAME properly, tiny patch from Daniel Johnson
...
<daniel@daniel-johnson.org>.
2007-03-27 15:56:08 +00:00
Simon Josefsson
af00ce242e
Remove -no-install since it breaks Darwin builds (probably a libtool
...
bug), report from Daniel Johnson <daniel@daniel-johnson.org>.
2007-03-27 15:35:37 +00:00
Simon Josefsson
fa1d8da7a3
Generated.
2007-03-27 13:33:18 +00:00
Simon Josefsson
2d7f1ad47c
fix
2007-03-27 13:32:57 +00:00
Simon Josefsson
0ace54f5b6
Add.
2007-03-27 13:27:13 +00:00
Simon Josefsson
7ebafd3999
Add.
2007-03-27 13:24:01 +00:00
Simon Josefsson
86cdc614c8
Add -lsocket/-lnsl. End sentences with '.'.
2007-03-27 13:21:24 +00:00
Simon Josefsson
15d9b50be4
Add. Start sentences with uppercase.
2007-03-27 13:20:18 +00:00
Simon Josefsson
ebc55b5d75
Use AC_SEARCH_LIBS on socket() for -lsocket, so we don't link with
...
-lsocket unless it is necessary.
Remove SHLIB_LDFLAGS, it was never used by anything.
2007-03-27 13:11:19 +00:00
Simon Josefsson
cf9ffc053a
Add jehousley.
2007-03-27 13:07:20 +00:00
Simon Josefsson
25a810bbc8
Fix typo.
2007-03-27 13:05:35 +00:00
Simon Josefsson
db2a895ecf
(libssh2_poll_channel_write, libssh2_poll_listener_queued): Mark as
...
static. Remove unneeded prototypes. Break Solaris 10 builds
according to "Heiko Jansen" <jansen@hbz-nrw.de>.
2007-03-27 13:03:46 +00:00
Simon Josefsson
94a71fe995
(libssh2_packet_x11_open, libssh2_packet_queue_listener): Mark as
...
static functions. Remove unnecessary prototypes. Breaks Solaris 10
builds according to "Heiko Jansen" <jansen@hbz-nrw.de>.
2007-03-27 13:02:01 +00:00
Simon Josefsson
0eabcb386e
Search -lnsl for inet_addr, suggested by "Heiko Jansen"
...
<jansen@hbz-nrw.de>.
2007-03-27 12:59:00 +00:00
Simon Josefsson
93dc3f565e
Fix typo, reported by "Heiko Jansen" <jansen@hbz-nrw.de>.
2007-03-27 12:52:16 +00:00
Simon Josefsson
48410937b2
Dist buildconf, suggested by "Heiko Jansen" <jansen@hbz-nrw.de>.
2007-03-27 12:50:09 +00:00
Simon Josefsson
864ceec7bd
Add 'dist_' to make sure man pages are included in the release.
2007-03-27 12:48:53 +00:00
Simon Josefsson
8ac3f7e485
Add rule to generate ChangeLog.
...
No need for foreign or nostdinc (correct me if I'm wrong?).
2007-03-27 12:44:44 +00:00
Simon Josefsson
2e20808f8c
Add, needed by cvs2cl.
2007-03-27 12:32:56 +00:00
Simon Josefsson
53fb8b1969
Add.
2007-03-27 12:28:18 +00:00
Simon Josefsson
7dfbbf9c1c
Remove.
2007-03-27 12:24:56 +00:00
Simon Josefsson
d131f6457c
Add, from LICENSE.
2007-03-27 12:24:35 +00:00
Simon Josefsson
a3a9b0385e
Rewrite, based on INSTALL.
2007-03-27 12:22:22 +00:00
Simon Josefsson
20297b51bd
Add, from README.
2007-03-27 12:10:25 +00:00
Daniel Stenberg
ba9f0b2ce6
Dan Fandrich fixed another memory leak, this time in the OpenSSL interface
...
code:
It's not clear to me whether all the BN_news in _libssh2_rsa_new need to
be cleaned up, too. The OpenSSL docs for RSA_free implies that you don't
need to, and valgrind doesn't complain, so it's probably OK as is.
2007-03-15 21:37:43 +00:00
Daniel Stenberg
56f606a98e
give credit to those who made the changes
2007-03-15 20:57:11 +00:00
Daniel Stenberg
b553f1087e
fixed a memory leak in the packet handling (Dan Fandrich)
2007-03-15 20:56:45 +00:00
Daniel Stenberg
75ceed5776
Dan Fandrich patch:
...
1 - let libssh2 compile with OpenSSL 0.9.6b. This is due to 'crypt' is found
in one of its header files and EVP_MAX_BLOCK_LENGTH not being found.
2 - The EXEEXT patch is because automake 1.7 doesn't support it, and recent
automakes add it automatically
2007-03-14 21:59:12 +00:00
Daniel Stenberg
689c394c57
Added sftpdir, a sample doing an SFTP directory listing
2007-02-23 11:18:41 +00:00