Yang Tse [Fri, 2 Feb 2007 02:12:34 +0000 (02:12 +0000)]
reported in bug: #1566077 the former URL mentioned in the generated cookie
jar has died and we now instead point out our own version of that
Yang Tse [Fri, 2 Feb 2007 01:36:08 +0000 (01:36 +0000)]
fix test case 62 which was failing due to cookies expiring 1 Feb 2007
Yang Tse [Fri, 2 Feb 2007 01:05:50 +0000 (01:05 +0000)]
more fixes for the testsuite cookie expiration issue
Yang Tse [Fri, 2 Feb 2007 00:10:40 +0000 (00:10 +0000)]
cookie expiration time got us with pants at our knees.
Next time in 2038 :-)
Yang Tse [Thu, 1 Feb 2007 15:36:56 +0000 (15:36 +0000)]
compiler warning fix
Gisle Vanem [Thu, 1 Feb 2007 12:23:00 +0000 (12:23 +0000)]
Suppress the "'convbuf' might be used uninitialized in this function" warning.
Yang Tse [Thu, 1 Feb 2007 11:27:42 +0000 (11:27 +0000)]
fogot to change Curl_mk_connc in header file
Yang Tse [Thu, 1 Feb 2007 01:42:13 +0000 (01:42 +0000)]
compiler warning fix
Dan Fandrich [Wed, 31 Jan 2007 23:15:47 +0000 (23:15 +0000)]
Properly use libtool macros to fix OpenLDAP library name detection on Darwin.
Yang Tse [Wed, 31 Jan 2007 19:47:49 +0000 (19:47 +0000)]
add debug messages for initialization failures
Yang Tse [Wed, 31 Jan 2007 15:34:53 +0000 (15:34 +0000)]
when using select() instead of poll, skip the test if the number of
open file descriptors is greater than FD_SETSIZE minus SAFETY_MARGIN,
also skip the test if any of the open file descriptors has a number
greater than FD_SETSIZE minus SAFETY_MARGIN.
Daniel Stenberg [Wed, 31 Jan 2007 09:37:39 +0000 (09:37 +0000)]
Marty Kuhrt's VMS updates
Yang Tse [Tue, 30 Jan 2007 13:21:39 +0000 (13:21 +0000)]
fix temp string buffer variable name
Gisle Vanem [Tue, 30 Jan 2007 13:15:07 +0000 (13:15 +0000)]
Support for OpenWatcom (Win32): It do have getpid(), but no
<sys/time.h>.
Daniel Stenberg [Tue, 30 Jan 2007 12:25:55 +0000 (12:25 +0000)]
start working on 7.16.2
Yang Tse [Tue, 30 Jan 2007 03:48:29 +0000 (03:48 +0000)]
skip test on platforms on which we use select() instead
of poll() and select() happens to be bound by FD_SETSIZE
Yang Tse [Mon, 29 Jan 2007 20:56:27 +0000 (20:56 +0000)]
fix compiler warning "discards qualifiers from pointer target type" in debug builds
Daniel Stenberg [Mon, 29 Jan 2007 20:37:02 +0000 (20:37 +0000)]
the same source file is re-used for multiple tests and I missed to add the
timval.c dependency on some of those
Gisle Vanem [Mon, 29 Jan 2007 20:24:00 +0000 (20:24 +0000)]
Some compilers lacks <sys/time.h>. Include "timeval.h" to simplify the #ifdefs.
Gisle Vanem [Mon, 29 Jan 2007 19:08:04 +0000 (19:08 +0000)]
Use DOS line-endings.
Daniel Stenberg [Mon, 29 Jan 2007 14:53:01 +0000 (14:53 +0000)]
release time
Daniel Stenberg [Mon, 29 Jan 2007 10:12:30 +0000 (10:12 +0000)]
the user-agent fix
Daniel Stenberg [Mon, 29 Jan 2007 10:09:06 +0000 (10:09 +0000)]
the libtest source codes that use curlx_tv* functions MUST use the
lib/timeval.c source code since those functions are not in the API (and might
not be accessible)
Daniel Stenberg [Mon, 29 Jan 2007 09:26:36 +0000 (09:26 +0000)]
- Michael Wallner reported that when doing a CONNECT with a custom User-Agent
header, you got _two_ User-Agent headers in the CONNECT request...! Added
test case 287 to verify the fix.
Gunter Knauf [Mon, 29 Jan 2007 00:51:02 +0000 (00:51 +0000)]
fixed segfault when compiled with MingW32 and cmd or command shell.
Daniel Stenberg [Sun, 28 Jan 2007 22:45:22 +0000 (22:45 +0000)]
Andreas Rieke added extra infof() for when a connection is not re-used due to
SSL conditions not being the same
Daniel Stenberg [Sun, 28 Jan 2007 22:36:23 +0000 (22:36 +0000)]
silence compiler warnings
Gunter Knauf [Sun, 28 Jan 2007 21:54:10 +0000 (21:54 +0000)]
enabled build with sspi.
Gunter Knauf [Sun, 28 Jan 2007 15:31:06 +0000 (15:31 +0000)]
enabled build with hardcoded ca-bundle path;
added distclean target.
Gunter Knauf [Sun, 28 Jan 2007 15:07:53 +0000 (15:07 +0000)]
force to create ca-bunde.h even if it exists already.
Gunter Knauf [Sun, 28 Jan 2007 14:43:25 +0000 (14:43 +0000)]
use var for awk.
Daniel Stenberg [Sun, 28 Jan 2007 12:58:13 +0000 (12:58 +0000)]
curl_easy_reset() now resets the CA bundle path correctly
Gunter Knauf [Sun, 28 Jan 2007 12:35:39 +0000 (12:35 +0000)]
another small fix to directory listing output; disabled CURL_LIBSSH2_DEBUG.
Daniel Stenberg [Sun, 28 Jan 2007 09:59:11 +0000 (09:59 +0000)]
recent contributors
Yang Tse [Sun, 28 Jan 2007 03:51:10 +0000 (03:51 +0000)]
Compiler warning fix
Daniel Stenberg [Sat, 27 Jan 2007 23:02:17 +0000 (23:02 +0000)]
- David McCreedy fixed the Curl command line tool for HTTP on non-ASCII
platforms.
Gunter Knauf [Sat, 27 Jan 2007 12:14:02 +0000 (12:14 +0000)]
fix sftp directory listing so that it works without -v and is redirectable with -o/-O.
Gunter Knauf [Sat, 27 Jan 2007 11:50:42 +0000 (11:50 +0000)]
tell us what we put out here...
Yang Tse [Sat, 27 Jan 2007 03:43:05 +0000 (03:43 +0000)]
update copyright year notice
Yang Tse [Sat, 27 Jan 2007 03:14:25 +0000 (03:14 +0000)]
Compiler warning fix
Yang Tse [Sat, 27 Jan 2007 01:56:57 +0000 (01:56 +0000)]
sync with lib/setup_once.h
Yang Tse [Sat, 27 Jan 2007 01:56:20 +0000 (01:56 +0000)]
sync comment with reality
Gunter Knauf [Fri, 26 Jan 2007 21:00:02 +0000 (21:00 +0000)]
remove the res file too with clean target.
Gunter Knauf [Fri, 26 Jan 2007 20:05:38 +0000 (20:05 +0000)]
removed CFLAGS from linking.
Gunter Knauf [Fri, 26 Jan 2007 20:00:55 +0000 (20:00 +0000)]
fix redefine warning when build from CVS.
Dan Fandrich [Fri, 26 Jan 2007 17:50:06 +0000 (17:50 +0000)]
Fixed compiler warning.
Gisle Vanem [Fri, 26 Jan 2007 16:36:59 +0000 (16:36 +0000)]
Remove LoadLibrary() (from my private build).
Gisle Vanem [Fri, 26 Jan 2007 16:24:52 +0000 (16:24 +0000)]
Free 'config->libcurl' at exit.
Gisle Vanem [Fri, 26 Jan 2007 16:18:47 +0000 (16:18 +0000)]
Use "%Od" instead of CURL_FORMAT_OFF_T for <curlx.h> functions.
Gisle Vanem [Fri, 26 Jan 2007 15:15:27 +0000 (15:15 +0000)]
Options of type CURLOPTTYPE_FUNCTIONPOINT are never printable.
Gunter Knauf [Fri, 26 Jan 2007 13:55:18 +0000 (13:55 +0000)]
updated mingw build instructions for libssh2.
Gunter Knauf [Fri, 26 Jan 2007 08:53:03 +0000 (08:53 +0000)]
added project header to lib resource file; fixed header copyright.
Gunter Knauf [Fri, 26 Jan 2007 08:50:06 +0000 (08:50 +0000)]
use provided resource file for exe.
Daniel Stenberg [Thu, 25 Jan 2007 21:00:03 +0000 (21:00 +0000)]
fix compiler warnings for SSL-disabled builds
Daniel Stenberg [Thu, 25 Jan 2007 20:47:47 +0000 (20:47 +0000)]
ugha, prevent a buffer overflow and allow very long strings in the generated
libcurl source...
Daniel Stenberg [Thu, 25 Jan 2007 15:58:00 +0000 (15:58 +0000)]
- Added the --libcurl [file] option to curl. Append this option to any
ordinary curl command line, and you will get a libcurl-using source code
written to the file that does the equivalent operation of what your command
line operation does!
Gunter Knauf [Thu, 25 Jan 2007 15:00:01 +0000 (15:00 +0000)]
removed unused define.
Gunter Knauf [Thu, 25 Jan 2007 14:06:38 +0000 (14:06 +0000)]
set proper lib extension for non-configure mingw32 builds on Win32.
Gunter Knauf [Thu, 25 Jan 2007 13:17:20 +0000 (13:17 +0000)]
fixed copyright for new year.
Gunter Knauf [Thu, 25 Jan 2007 13:15:47 +0000 (13:15 +0000)]
added targets for libssh2 builds.
Gunter Knauf [Thu, 25 Jan 2007 13:14:42 +0000 (13:14 +0000)]
enabled build with libssh2.
Daniel Stenberg [Thu, 25 Jan 2007 11:09:56 +0000 (11:09 +0000)]
fix non-SSL builds again
Dan Fandrich [Thu, 25 Jan 2007 01:35:43 +0000 (01:35 +0000)]
Fixed a dangling pointer problem that prevented the http_proxy environment
variable from being properly used in many cases (and caused test case 63
to fail).
Gunter Knauf [Thu, 25 Jan 2007 00:26:29 +0000 (00:26 +0000)]
removed not used define.
Dan Fandrich [Wed, 24 Jan 2007 19:09:12 +0000 (19:09 +0000)]
Only shut down SSL if the CCC command succeeded.
Daniel Stenberg [Wed, 24 Jan 2007 17:19:08 +0000 (17:19 +0000)]
moved the SSL pending function to the proper place and name
Daniel Stenberg [Wed, 24 Jan 2007 12:34:23 +0000 (12:34 +0000)]
bail out on strdup() errors
Daniel Stenberg [Tue, 23 Jan 2007 22:57:42 +0000 (22:57 +0000)]
- David McCreedy did NTLM changes mainly for non-ASCII platforms:
#1
There's a compilation error in http_ntlm.c if USE_NTLM2SESSION is NOT
defined. I noticed this while testing various configurations. Line 867 of
the current http_ntlm.c is a closing bracket for an if/else pair that only
gets compiled in if USE_NTLM2SESSION is defined. But this closing bracket
wasn't in an #ifdef so the code fails to compile unless USE_NTLM2SESSION was
defined. Lines 198 and 140 of my patch wraps that closing bracket in an
#ifdef USE_NTLM2SESSION.
#2
I noticed several picky compiler warnings when DEBUG_ME is defined. I've
fixed them with casting. By the way, DEBUG_ME was a huge help in
understanding this code.
#3
Hopefully the last non-ASCII conversion patch for libcurl in a while. I
changed the "NTLMSSP" literal to hex since this signature must always be in
ASCII.
Conversion code was strategically added where necessary. And the
Curl_base64_encode calls were changed so the binary "blobs" http_ntlm.c
creates are NOT translated on non-ASCII platforms.
Daniel Stenberg [Tue, 23 Jan 2007 22:13:52 +0000 (22:13 +0000)]
recount
Daniel Stenberg [Tue, 23 Jan 2007 22:13:34 +0000 (22:13 +0000)]
#79 is no problem to me (and no response on my mail)
Daniel Stenberg [Tue, 23 Jan 2007 22:13:05 +0000 (22:13 +0000)]
very minor indent change
Dan Fandrich [Tue, 23 Jan 2007 20:24:26 +0000 (20:24 +0000)]
Ignore XML DOCTYPEs and declarations.
Gisle Vanem [Tue, 23 Jan 2007 08:57:12 +0000 (08:57 +0000)]
Speed-up djgpp's stat() by avoid checking for uneeded stuff.
Dan Fandrich [Tue, 23 Jan 2007 02:25:56 +0000 (02:25 +0000)]
Convert (most of) the test data files into genuine XML. A handful still
are not, due mainly to the lack of support for XML character entities
(e.g. & => & ). This will make it easier to validate test files using
tools like xmllint, as well as edit and view them using XML tools.
Gunter Knauf [Tue, 23 Jan 2007 00:26:45 +0000 (00:26 +0000)]
enabled build with libssh2; fixed copyright for new year..
Dan Fandrich [Thu, 18 Jan 2007 20:32:46 +0000 (20:32 +0000)]
Make the test script tag parser a bit more robust.
Check for the .exe extension on mingw32 builds.
Dan Fandrich [Thu, 18 Jan 2007 18:04:20 +0000 (18:04 +0000)]
Added precheck that curl supports the 'openssl' engine in test 307.
Dan Fandrich [Wed, 17 Jan 2007 20:36:56 +0000 (20:36 +0000)]
Fixed some tag typos in the test data files.
Dan Fandrich [Wed, 17 Jan 2007 19:23:32 +0000 (19:23 +0000)]
Disabled test 307 for now.
Gisle Vanem [Wed, 17 Jan 2007 15:15:21 +0000 (15:15 +0000)]
Supress "comparison between signed and unsigned" warning.
Daniel Stenberg [Wed, 17 Jan 2007 12:00:08 +0000 (12:00 +0000)]
two other still outstanding issues
Daniel Stenberg [Wed, 17 Jan 2007 10:15:09 +0000 (10:15 +0000)]
more reported bugs we need to address at some point, possibly before a release
Daniel Stenberg [Wed, 17 Jan 2007 08:57:20 +0000 (08:57 +0000)]
clarify the INFILESIZE option(s)
Daniel Stenberg [Tue, 16 Jan 2007 22:26:50 +0000 (22:26 +0000)]
David McCreedy fixed a flaw from his previous non-ascii HTTP patch
Daniel Stenberg [Tue, 16 Jan 2007 22:22:10 +0000 (22:22 +0000)]
- Armel Asselin improved libcurl to behave a lot better when an easy handle
doing an FTP transfer is removed from a multi handle before completion. The
fix also fixed the "alive counter" to be correct on "premature removal" for
all protocols.
Daniel Stenberg [Tue, 16 Jan 2007 21:28:45 +0000 (21:28 +0000)]
restore previous addition to the amount of data that is returned
Dan Fandrich [Tue, 16 Jan 2007 18:34:58 +0000 (18:34 +0000)]
Added simple OpenSSL crypto engine tests.
Dan Fandrich [Tue, 16 Jan 2007 18:33:25 +0000 (18:33 +0000)]
Fixed a small memory leak in tftp uploads discovered by curl's memory leak
detector. Also changed tftp downloads to URL-unescape the downloaded
file name.
Dan Fandrich [Mon, 15 Jan 2007 21:06:12 +0000 (21:06 +0000)]
Added TFTP upload tests.
Dan Fandrich [Mon, 15 Jan 2007 21:03:53 +0000 (21:03 +0000)]
Leave the TFTPD test server running after a file upload.
Flush the protocol log data so it's immediately available to the test harness.
Daniel Stenberg [Sun, 14 Jan 2007 14:57:51 +0000 (14:57 +0000)]
- David McCreedy provided libcurl changes for doing HTTP communication on
non-ASCII platforms. It does add some complexity, most notably with more
#ifdefs, but I want to see this supported added and I can't see how we can
add it without the extra stuff added.
Daniel Stenberg [Sat, 13 Jan 2007 23:33:50 +0000 (23:33 +0000)]
4GB download and cookielist "ALL" fixes
Daniel Stenberg [Sat, 13 Jan 2007 23:33:21 +0000 (23:33 +0000)]
fixed bad variable use when getting the size which we should read when
attempting not to read data that might belong to the next response (if
pipelining)
Daniel Stenberg [Sat, 13 Jan 2007 23:32:14 +0000 (23:32 +0000)]
make Curl_cookie_clearall() survive getting called with a NULL pointer
Dan Fandrich [Wed, 10 Jan 2007 23:40:22 +0000 (23:40 +0000)]
Added test for TFTP retrieve of boundary case 512 byte file.
Dan Fandrich [Wed, 10 Jan 2007 21:21:53 +0000 (21:21 +0000)]
Display crypto engine name correctly in debug message.
Dan Fandrich [Wed, 10 Jan 2007 03:32:19 +0000 (03:32 +0000)]
Added test of TFTP server error reporting.
Daniel Stenberg [Tue, 9 Jan 2007 18:58:16 +0000 (18:58 +0000)]
corrected example
Linus Nielsen Feltzing [Mon, 8 Jan 2007 11:24:11 +0000 (11:24 +0000)]
Correct error code for CCC/SSL shutdown failure
Linus Nielsen Feltzing [Mon, 8 Jan 2007 10:03:19 +0000 (10:03 +0000)]
Removed unused variable in Curl_ossl_shutdown()