Daniel Stenberg [Mon, 30 Jul 2007 22:01:04 +0000 (22:01 +0000)]
users should use the CURLMOPT_TIMERFUNCTION rather than curl_multi_timeout
when using the socket API
Daniel Stenberg [Mon, 30 Jul 2007 21:47:56 +0000 (21:47 +0000)]
less blocking these days
Daniel Stenberg [Mon, 30 Jul 2007 21:47:44 +0000 (21:47 +0000)]
updated based on suggestion from Jeff Pohlmeyer
Daniel Stenberg [Mon, 30 Jul 2007 21:41:12 +0000 (21:41 +0000)]
Patrick Monnerat restored qssl successful compilation and loading
Daniel Stenberg [Mon, 30 Jul 2007 20:07:43 +0000 (20:07 +0000)]
give credit to Greg Zavertnik
Dan Fandrich [Mon, 30 Jul 2007 17:08:26 +0000 (17:08 +0000)]
Properly set USE_SSL on OS/400
Dan Fandrich [Mon, 30 Jul 2007 17:05:39 +0000 (17:05 +0000)]
Fixed compiler warning on non-SSL builds
Daniel Stenberg [Sun, 29 Jul 2007 22:17:39 +0000 (22:17 +0000)]
Added "4.15 FTPS doesn't work" and updated a few other sections slightly
Daniel Stenberg [Sun, 29 Jul 2007 12:54:05 +0000 (12:54 +0000)]
Bug report #1759542 (curl.haxx.se/bug/view.cgi?id=1759542). A bad use
of a socket after it has been closed, when the FTP-SSL data connection is taken
down.
Daniel Stenberg [Fri, 27 Jul 2007 08:33:32 +0000 (08:33 +0000)]
added missing part for the qsossl support
Daniel Stenberg [Thu, 26 Jul 2007 21:56:47 +0000 (21:56 +0000)]
added initial pkg-config file (attempt)
Dan Fandrich [Tue, 24 Jul 2007 15:23:16 +0000 (15:23 +0000)]
Removed unused variable.
Daniel Stenberg [Mon, 23 Jul 2007 21:48:27 +0000 (21:48 +0000)]
#if that should be #ifdef
Daniel Stenberg [Mon, 23 Jul 2007 21:46:26 +0000 (21:46 +0000)]
Implemented the parts of Patrick Monnerat's OS/400 patch that introduces
support for the OS/400 Secure Sockets Layer library
Dan Fandrich [Mon, 23 Jul 2007 18:51:22 +0000 (18:51 +0000)]
Implemented only the parts of Patrick Monnerat's OS/400 patch that renamed
some few internal identifiers to avoid conflicts, which could be useful on
other platforms.
Dan Fandrich [Mon, 23 Jul 2007 17:51:43 +0000 (17:51 +0000)]
Log the "<CMD> wasn't handled" error normally since it is now expected
to occur in a couple of tests.
Gunter Knauf [Mon, 23 Jul 2007 01:05:34 +0000 (01:05 +0000)]
added 2 system libs necessary for linking OpenSSL 0.9.8e statically.
Daniel Stenberg [Sun, 22 Jul 2007 10:19:53 +0000 (10:19 +0000)]
fix mess added in my previous commit
Daniel Stenberg [Sun, 22 Jul 2007 10:17:52 +0000 (10:17 +0000)]
HTTP Digest auth fix on a re-used connection
Daniel Stenberg [Sun, 22 Jul 2007 10:08:59 +0000 (10:08 +0000)]
Added test case 354 that makes a simple FTP retrieval without password, which
verifies the bug fix in #1757328.
Daniel Stenberg [Sat, 21 Jul 2007 21:49:23 +0000 (21:49 +0000)]
test and verify curl -I on a single FTP file somewhat more than before
Daniel Stenberg [Sat, 21 Jul 2007 21:48:58 +0000 (21:48 +0000)]
To allow more flexibility in FTP test cases, I've removed the enforced states
from the test server code as they served no real purpose. The test server is
here to serve for the test cases, not to attempt to function as a real server!
Daniel Stenberg [Sat, 21 Jul 2007 21:47:02 +0000 (21:47 +0000)]
news
Dan Fandrich [Sat, 21 Jul 2007 02:08:17 +0000 (02:08 +0000)]
Make the pointers of a few static const arrays const, too, for safety.
Gunter Knauf [Fri, 20 Jul 2007 21:50:53 +0000 (21:50 +0000)]
added curl include for debug builds.
Dan Fandrich [Fri, 20 Jul 2007 17:29:43 +0000 (17:29 +0000)]
Document pwd as an sftp quote command for curl(1), and show it as
lower case for consistency since sftp commands are case insensitive.
Gunter Knauf [Fri, 20 Jul 2007 16:01:05 +0000 (16:01 +0000)]
added lf to Win32 getpass_r() so that next output appears in new line.
Daniel Stenberg [Fri, 20 Jul 2007 15:33:44 +0000 (15:33 +0000)]
PWD for SFTP is fixed
Daniel Stenberg [Fri, 20 Jul 2007 09:38:41 +0000 (09:38 +0000)]
the "libssh2 owns the memory don't free it" case
Daniel Stenberg [Fri, 20 Jul 2007 09:35:58 +0000 (09:35 +0000)]
Ralf S. Engelschall filed bug report #1757328
(http://curl.haxx.se/bug/view.cgi?id=1757328) and submitted a patch. It turns
out we broke login to FTP servers that don't require (nor understand) PASS
after the USER command
James Housley [Fri, 20 Jul 2007 01:03:49 +0000 (01:03 +0000)]
Fix a loop with PWD
Dan Fandrich [Fri, 20 Jul 2007 00:41:12 +0000 (00:41 +0000)]
Made some const arrays static to avoid unnecessary stack usage.
Daniel Stenberg [Thu, 19 Jul 2007 21:35:36 +0000 (21:35 +0000)]
minor addition, re-count of the number of lines of code
Daniel Stenberg [Thu, 19 Jul 2007 15:08:47 +0000 (15:08 +0000)]
libssh2 fix
Dan Fandrich [Thu, 19 Jul 2007 01:42:22 +0000 (01:42 +0000)]
Revert the 512 change since newer versions of OpenSSH don't support DSA
keys that small.
James Housley [Wed, 18 Jul 2007 23:21:32 +0000 (23:21 +0000)]
SFTP also supports PWD
Dan Fandrich [Wed, 18 Jul 2007 22:23:07 +0000 (22:23 +0000)]
Added the list of sftp quote commands.
James Housley [Wed, 18 Jul 2007 18:31:34 +0000 (18:31 +0000)]
As has been pointed out, err_msg should not be freed here. The actual
issue is in libssh2 and not freeing a dynamic error message during cleanup.
Dan Fandrich [Wed, 18 Jul 2007 00:27:13 +0000 (00:27 +0000)]
Use 512 bit keys to reduce the time taken to generate them. This shouldn't
really reduce security since in the common case of a daily automated build
the keys are only used for a single test run lasting a few minutes before
being deleted.
Dan Fandrich [Tue, 17 Jul 2007 21:53:38 +0000 (21:53 +0000)]
Fixed test cases 613 and 614 by improving the log postprocessor to handle
a new directory listing format that newer libssh2's can provide. This
is probably NOT sufficient to handle all directory listing formats that
server's can provide and should be revisited.
Daniel Stenberg [Tue, 17 Jul 2007 20:59:53 +0000 (20:59 +0000)]
Jofell Gallardo posted a libcurl log using FTP that exposed a bug which made
a control connection that was deemed "dead" to yet be re-used in a following
request. We must make sure the connection gets closed on this situation.
Daniel Stenberg [Mon, 16 Jul 2007 21:44:46 +0000 (21:44 +0000)]
make it do all three requests on the same connection
Dan Fandrich [Mon, 16 Jul 2007 21:22:12 +0000 (21:22 +0000)]
Fixed some more simple compile warnings in the examples.
Daniel Stenberg [Mon, 16 Jul 2007 21:08:08 +0000 (21:08 +0000)]
45. libcurl built to support ipv6 uses getaddrinfo() to resolve host names.
getaddrinfo() sorts the response list which effectively kills how libcurl
deals with round-robin DNS entries. All details:
http://curl.haxx.se/mail/lib-2007-07/0168.html
initial suggested function to use for randomizing the response:
http://curl.haxx.se/mail/lib-2007-07/0178.html
Daniel Stenberg [Sun, 15 Jul 2007 21:00:26 +0000 (21:00 +0000)]
convert test case 540 to use a custom Host: header as well
Daniel Stenberg [Sun, 15 Jul 2007 20:59:43 +0000 (20:59 +0000)]
let's just export the whole argc + argv pair globally so that each test tool
can take advantage of it however they see fit!
Gunter Knauf [Sun, 15 Jul 2007 13:00:39 +0000 (13:00 +0000)]
make users use the latest OpenSSL and Zlib libraries;
added hint to compile with SSPI with MSVC6 without PSDK.
Daniel Stenberg [Sat, 14 Jul 2007 23:01:49 +0000 (23:01 +0000)]
added another SEE ALSO
Daniel Stenberg [Sat, 14 Jul 2007 22:39:22 +0000 (22:39 +0000)]
Added test case 540 and lib540.c, the 'proxyauth.c' test app posted by Shmulik
Regev on the libcurl mailing list on 10 Jul 2007, converted to a test case.
Daniel Stenberg [Sat, 14 Jul 2007 22:38:18 +0000 (22:38 +0000)]
add support for arg3 as the third argument...
Daniel Stenberg [Sat, 14 Jul 2007 22:33:46 +0000 (22:33 +0000)]
add some better logging when HTTP server start fails, and make the failure
really hard if the test server can't be resolved (like for ::1 ipv6)
Gunter Knauf [Sat, 14 Jul 2007 15:59:01 +0000 (15:59 +0000)]
for now unless we do better fixed LIBSSH2_APINO compares to use long constants.
Daniel Stenberg [Sat, 14 Jul 2007 13:14:58 +0000 (13:14 +0000)]
Brad House's fix to hish a win32 compiler warning
Daniel Stenberg [Sat, 14 Jul 2007 13:11:36 +0000 (13:11 +0000)]
added Vlad's entire description of his valgrind fix
Daniel Stenberg [Sat, 14 Jul 2007 13:08:50 +0000 (13:08 +0000)]
Vlad Dinulescu fixed two outstanding valgrind reports
Dan Fandrich [Fri, 13 Jul 2007 21:31:44 +0000 (21:31 +0000)]
The examples don't need access to curl internal source files.
Daniel Stenberg [Fri, 13 Jul 2007 20:17:35 +0000 (20:17 +0000)]
Colin Hogben filed bug report #1750274
(http://curl.haxx.se/bug/view.cgi?id=1750274) and submitted a patch for the
case where libcurl did a connect attempt to a non-listening port and didn't
provide a human readable error string back.
Daniel Stenberg [Fri, 13 Jul 2007 20:09:38 +0000 (20:09 +0000)]
Daniel Cater added the mentioning of CURL_DISABLE_TFTP
Daniel Stenberg [Fri, 13 Jul 2007 20:07:22 +0000 (20:07 +0000)]
Daniel Cater: libcurl-errors needs updating to reflect a couple of deprecated
error codes
Daniel Stenberg [Fri, 13 Jul 2007 20:04:53 +0000 (20:04 +0000)]
Daniel Cater made libcurl build with CURL_NO_OLDIES defined (which doesn't
define the symbols for backwards source compatibility)
Daniel Stenberg [Fri, 13 Jul 2007 19:38:36 +0000 (19:38 +0000)]
Daniel Cater made the vc8-generating line use double-quotes to run fine on
windows
Daniel Stenberg [Thu, 12 Jul 2007 21:34:42 +0000 (21:34 +0000)]
Made the krb5 code build with Heimdal's GSSAPI lib
Dan Fandrich [Thu, 12 Jul 2007 21:11:10 +0000 (21:11 +0000)]
Fixed some compile warnings and errors and improved portability in the
examples.
Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers
any longer.
Daniel Stenberg [Thu, 12 Jul 2007 20:55:17 +0000 (20:55 +0000)]
make it compile fine
Daniel Stenberg [Thu, 12 Jul 2007 20:54:54 +0000 (20:54 +0000)]
fix include path
Dan Fandrich [Thu, 12 Jul 2007 20:38:54 +0000 (20:38 +0000)]
Compile most of the example apps in docs/examples when doing a 'make check'.
Daniel Stenberg [Thu, 12 Jul 2007 20:15:38 +0000 (20:15 +0000)]
Shmulik Regev found an (albeit rare) case where the proxy CONNECT operation
could in fact get stuck in an endless loop.
Daniel Stenberg [Thu, 12 Jul 2007 17:03:45 +0000 (17:03 +0000)]
start the retry delay at 10 ms, double it for every failed attempt which makes
it 10 seconds delay after 11 attempts
Gunter Knauf [Thu, 12 Jul 2007 10:54:15 +0000 (10:54 +0000)]
the timeout was probably too short with max = 1 sec, so lets test with 5 sec.
Gunter Knauf [Thu, 12 Jul 2007 10:44:46 +0000 (10:44 +0000)]
added nwos.c so that it gets distributed with releases and tarballs.
Gunter Knauf [Thu, 12 Jul 2007 01:07:49 +0000 (01:07 +0000)]
added time loop to sockfilt.c in order to wait for SO_REUSEADDR;
added go_sleep() to util.c.
Marty Kuhrt [Wed, 11 Jul 2007 23:17:11 +0000 (23:17 +0000)]
Updated to match curl.h
Daniel Stenberg [Wed, 11 Jul 2007 22:20:46 +0000 (22:20 +0000)]
Made CURLOPT_SSL_VERIFYHOST set to 1 acts as described in the documentation:
fail to connect if there is no Common Name field found in the remote cert.
We should deprecate the support for this set to 1 anyway soon, since the
feature is pointless and most likely never really used by anyone.
Gunter Knauf [Wed, 11 Jul 2007 21:47:31 +0000 (21:47 +0000)]
removed now obsolete NETDB_DEFINE_CONTEXT macro calls.
Gunter Knauf [Wed, 11 Jul 2007 21:38:28 +0000 (21:38 +0000)]
updated makefile to compile nwos.c.
Gunter Knauf [Wed, 11 Jul 2007 21:34:22 +0000 (21:34 +0000)]
added NetWare-own file to provide some init functions (for now only CLIB);
added call to netware_init() in curl_global_init() to make sure it gets called before any library functions get used.
Dan Fandrich [Wed, 11 Jul 2007 19:21:38 +0000 (19:21 +0000)]
Added the first libcurl version to which the SSH options were added.
Gunter Knauf [Wed, 11 Jul 2007 09:08:03 +0000 (09:08 +0000)]
added netdb.h for NetWare CLIB since gethostname() is defined there.
Gunter Knauf [Wed, 11 Jul 2007 09:03:22 +0000 (09:03 +0000)]
fixed endif comment.
Gunter Knauf [Wed, 11 Jul 2007 08:55:28 +0000 (08:55 +0000)]
fixed endif comment.
Dan Fandrich [Tue, 10 Jul 2007 22:55:51 +0000 (22:55 +0000)]
Added a code coverage section using gcc and gcov.
Daniel Stenberg [Tue, 10 Jul 2007 22:45:01 +0000 (22:45 +0000)]
Shmulik Regev:
The tiny patch below fixes a bug (that I introduced :) which happens
when negotiating authentication with a proxy (probably with web
servers as well) that uses chunked transfer encoding for the 407 error
pages. In this case the ''ignorebody'' flag was ignored (no pun
intended).
Daniel Stenberg [Tue, 10 Jul 2007 22:31:13 +0000 (22:31 +0000)]
Giancarlo Formicuccia reported and fixed a problem with a closed connection
to a proxy during CONNECT auth negotiation.
Dan Fandrich [Tue, 10 Jul 2007 22:27:16 +0000 (22:27 +0000)]
Force the time zone to GMT in the cookie tests in case the user is
using one of the so-called 'right' time zones that take into account
leap seconds, which causes the tests to fail (as reported by
Daniel Black in bug report #1745964).
James Housley [Tue, 10 Jul 2007 22:26:59 +0000 (22:26 +0000)]
The previous commits changed the error code
James Housley [Tue, 10 Jul 2007 22:26:32 +0000 (22:26 +0000)]
* Finish moving sftp:// into a state machine so it won't block in multi mode
* Move scp:// into a state machine so it won't block in multi mode
* When available use the full directory entry from the sftp:// server
Dan Fandrich [Tue, 10 Jul 2007 22:23:16 +0000 (22:23 +0000)]
Fixed a curl memory leak reported by Song Ma with a modified version
of the patch he suggested. Added his test case as test289 to verify.
Daniel Stenberg [Tue, 10 Jul 2007 22:07:33 +0000 (22:07 +0000)]
start working on 7.16.5...
Daniel Stenberg [Tue, 10 Jul 2007 21:36:30 +0000 (21:36 +0000)]
7.16.4 preps
Gunter Knauf [Mon, 9 Jul 2007 02:00:39 +0000 (02:00 +0000)]
added better CodeWarrior detection (forgot to add with previos version).
Gunter Knauf [Sun, 8 Jul 2007 23:19:24 +0000 (23:19 +0000)]
added better CodeWarrior detection;
added defines for setlocale().
Gunter Knauf [Sun, 8 Jul 2007 23:18:47 +0000 (23:18 +0000)]
added better CodeWarrior detection;
moved autounload flag so that its used for both lib architectures.
Gunter Knauf [Sun, 8 Jul 2007 23:17:56 +0000 (23:17 +0000)]
added better CodeWarrior detection.
Gunter Knauf [Sat, 7 Jul 2007 16:26:02 +0000 (16:26 +0000)]
removed some obsolete include paths and defines.
Daniel Stenberg [Fri, 6 Jul 2007 22:14:29 +0000 (22:14 +0000)]
Thomas J. Moore made it build with less warnings
Daniel Stenberg [Fri, 6 Jul 2007 21:56:42 +0000 (21:56 +0000)]
Gavrie Philipson's change, updated numbers
Daniel Stenberg [Fri, 6 Jul 2007 20:14:03 +0000 (20:14 +0000)]
add note about windows and dlls with CURLOPT_WRITEDATA
Gunter Knauf [Fri, 6 Jul 2007 14:58:59 +0000 (14:58 +0000)]
fixed NetWare CLIB implementation of getpass_r()
James Housley [Thu, 5 Jul 2007 12:48:34 +0000 (12:48 +0000)]
Gavrie Philipson provided a patch that will use a more specific error
message for an scp:// upload failure. If libssh2 has his matching
patch, then the error message return by the server will be used instead
of a more generic error.
Dan Fandrich [Thu, 5 Jul 2007 01:38:00 +0000 (01:38 +0000)]
Add -a when running torture tests now that it's supported.