Yang Tse [Sun, 17 Aug 2008 00:01:26 +0000 (00:01 +0000)]
libcurl internal md5.h header file renamed to curl_md5.h
Yang Tse [Sat, 16 Aug 2008 17:12:42 +0000 (17:12 +0000)]
Added #159 and #160
Gisle Vanem [Sat, 16 Aug 2008 17:05:42 +0000 (17:05 +0000)]
Ops, remove 'use_vc'.
Gisle Vanem [Sat, 16 Aug 2008 16:42:44 +0000 (16:42 +0000)]
Support Watt-32 under Win32.
Yang Tse [Sat, 16 Aug 2008 03:40:25 +0000 (03:40 +0000)]
Oops, missed FORMAT_OFF_TU
Yang Tse [Sat, 16 Aug 2008 03:27:07 +0000 (03:27 +0000)]
Fix Use of conditional definition of USE_OPENSSL
Yang Tse [Sat, 16 Aug 2008 01:33:59 +0000 (01:33 +0000)]
Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
remain in use as internal curl_off_t print formatting strings for the internal
*printf functions which still cannot handle print formatting string directives
such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and
other DOS/Windows compilers.
This reverts previous commit part which did:
FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
Dan Fandrich [Fri, 15 Aug 2008 19:18:46 +0000 (19:18 +0000)]
Added test case 1065 to test a PUT with a single file but two URLs. This
was discovered to be problematic while investigating an incident reported by
Von back in May. curl in this case doesn't include a Content-Length: or
Transfer-Encoding: chunked header which is illegal. This test case is
added to DISABLED until a solution is found.
Yang Tse [Fri, 15 Aug 2008 02:58:15 +0000 (02:58 +0000)]
For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,
the names of the curl_off_t formatting string directives now become
CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU.
CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T
CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
Remove the use of an internal name for the curl_off_t formatting string directives
and use the common one available from the inside and outside of the library.
FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
Yang Tse [Thu, 14 Aug 2008 23:55:24 +0000 (23:55 +0000)]
curlbuild.h is a generated file on configure-capable systems
Dan Fandrich [Thu, 14 Aug 2008 19:18:18 +0000 (19:18 +0000)]
Added Range keyword
Dan Fandrich [Thu, 14 Aug 2008 19:18:01 +0000 (19:18 +0000)]
Added test 1063 to test an invalid large range on a file:
Dan Fandrich [Thu, 14 Aug 2008 18:41:37 +0000 (18:41 +0000)]
Fixed unused variable warning
Yang Tse [Thu, 14 Aug 2008 18:30:19 +0000 (18:30 +0000)]
Take three at trying to detect signed and unsigned curl_off_t integer constant
suffixes, using a test-and-try suffix approach letting the compiler validate it.
Yang Tse [Thu, 14 Aug 2008 11:56:55 +0000 (11:56 +0000)]
When using our internal curlx_strtoll function NEED_CURL_STRTOLL must be defined,
the source code of curlx_strtoll is excluded if NEED_CURL_STRTOLL isn't defined.
Yang Tse [Thu, 14 Aug 2008 10:30:45 +0000 (10:30 +0000)]
CURL_LLONG_MIN should now be signed
Yang Tse [Thu, 14 Aug 2008 03:39:45 +0000 (03:39 +0000)]
Use our CURL_LLONG_MAX and CURL_LLONG_MIN which are defined with the proper suffix.
Yang Tse [Thu, 14 Aug 2008 01:39:49 +0000 (01:39 +0000)]
Change CURL_CHECK_DEF_INTXX_C suffix definition detection.
Add debug tracing for CURL_CHECK_DEF_INTXX_C.
Daniel Stenberg [Wed, 13 Aug 2008 21:05:13 +0000 (21:05 +0000)]
Fixed:
155 - bug #2038004 "Curl OpenSSL not compatible with 7.17 or 7.18"
156 - proxy CONNECT issue (details not public yet due to possible security impact)
Yang Tse [Wed, 13 Aug 2008 19:49:19 +0000 (19:49 +0000)]
Use autoconf's result of AC_CHECK_SIZEOF(long) in CURL_CONFIGURE_LONG
Yang Tse [Wed, 13 Aug 2008 18:57:48 +0000 (18:57 +0000)]
Ensure that the compiler 'knows' the 'long' type in CURL_CONFIGURE_LONG
Yang Tse [Wed, 13 Aug 2008 18:43:53 +0000 (18:43 +0000)]
Sync config.h generation from lib/Makefile.netware and src/Makefile.netware
Yang Tse [Wed, 13 Aug 2008 17:23:13 +0000 (17:23 +0000)]
Using the name of a macro inside AC_MSG_WARN takes aclocal to NeverLand.
Yang Tse [Wed, 13 Aug 2008 16:14:22 +0000 (16:14 +0000)]
Adjust IBM C compiler CURL_SIZEOF_LONG
Yang Tse [Wed, 13 Aug 2008 15:48:44 +0000 (15:48 +0000)]
Remove first version of comment not intended to be finally committed.
Yang Tse [Wed, 13 Aug 2008 15:32:20 +0000 (15:32 +0000)]
The size of long is a build time characteristic and as such it is now recorded
in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process
and in CVS curlbuild.h.dist for non-configure systems.
Yang Tse [Wed, 13 Aug 2008 13:07:50 +0000 (13:07 +0000)]
Split comparison among several lines for debugging
Daniel Stenberg [Wed, 13 Aug 2008 10:57:11 +0000 (10:57 +0000)]
on second thought, let's remove this number from here since it doesn't really
belong among the release numbers anyway
Daniel Stenberg [Wed, 13 Aug 2008 10:55:23 +0000 (10:55 +0000)]
dead mirrors removed => curl.haxx.se/mail/lib-2008-08/0208.html
Daniel Stenberg [Wed, 13 Aug 2008 08:51:52 +0000 (08:51 +0000)]
httpcustomheader.c is a new tiny example showing a HTTP request with a custom
header replacing an internal one
Gisle Vanem [Wed, 13 Aug 2008 08:32:22 +0000 (08:32 +0000)]
Watcom doesn't have <sys/time.h>.
Gisle Vanem [Wed, 13 Aug 2008 08:19:51 +0000 (08:19 +0000)]
Remved '-dDEBUG_THREADING_GETADDRINFO' (no longer used).
Gisle Vanem [Wed, 13 Aug 2008 08:17:50 +0000 (08:17 +0000)]
Update dependencies.
Gisle Vanem [Wed, 13 Aug 2008 07:30:21 +0000 (07:30 +0000)]
Update dependencies.
Gisle Vanem [Wed, 13 Aug 2008 07:16:20 +0000 (07:16 +0000)]
MingW uses gcc. Hence the suffixes for 64-bit are 'LL' and 'ULL'.
Yang Tse [Wed, 13 Aug 2008 03:05:00 +0000 (03:05 +0000)]
Adjustment due to curl_off_t no longer following off_t
Dan Fandrich [Wed, 13 Aug 2008 00:43:46 +0000 (00:43 +0000)]
Added a few user-visible bug fixes
Gunter Knauf [Tue, 12 Aug 2008 21:25:11 +0000 (21:25 +0000)]
sync src makefile with lib makefile.
Dan Fandrich [Tue, 12 Aug 2008 20:21:40 +0000 (20:21 +0000)]
Removed unneeded header files
Dan Fandrich [Tue, 12 Aug 2008 20:07:52 +0000 (20:07 +0000)]
Fixed a buffer overflow problem in Curl_proxyCONNECT that could occur
when a server responded with long headers and data. Luckily, the buffer
overflowed into another unused buffer, so no actual harm was done.
Added test cases 1060 and 1061 to verify.
Yang Tse [Tue, 12 Aug 2008 19:09:20 +0000 (19:09 +0000)]
Fix 'result' may be used uninitialized in function readwrite_data()
Yang Tse [Tue, 12 Aug 2008 18:49:33 +0000 (18:49 +0000)]
Fix curl_off_t sized constants usage
Dan Fandrich [Tue, 12 Aug 2008 18:32:55 +0000 (18:32 +0000)]
Handle short reads
Yang Tse [Tue, 12 Aug 2008 10:08:14 +0000 (10:08 +0000)]
DOS/Windows 'shells' eat echoed percent sign characters unless escaped.
Daniel Stenberg [Tue, 12 Aug 2008 07:21:39 +0000 (07:21 +0000)]
- Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnel
_directory_ if that happened to appear in the path!
Yang Tse [Tue, 12 Aug 2008 07:20:44 +0000 (07:20 +0000)]
Fix CURL_CHECK_DEF_INTXX_C suffix definition detection
Yang Tse [Tue, 12 Aug 2008 03:00:24 +0000 (03:00 +0000)]
Added macros for minimum-width signed and unsigned curl_off_t integer
constants CURL_OFF_T_C and CURL_OFF_TU_C. The clever double helper macro
used internally to provide its functionality is thanks to Lars Nilsson.
Dan Fandrich [Mon, 11 Aug 2008 23:16:48 +0000 (23:16 +0000)]
Added HTTP CONNECT keywords
Dan Fandrich [Mon, 11 Aug 2008 23:16:08 +0000 (23:16 +0000)]
Fixed a boundary condition error in ftp_readresp() whereby a non-terminal
line of a multiline FTP response whose last byte landed exactly at the end
of the BUFSIZE-length buffer would be treated as the terminal response
line. The following response code read in would then actually be the
end of the previous response line, and all responses from then on would
correspond to the wrong command. Test case 1062 verifies this.
Stop closing a never-opened ftp socket.
Daniel Stenberg [Mon, 11 Aug 2008 20:30:37 +0000 (20:30 +0000)]
152 + 153 are fixed!
Daniel Stenberg [Mon, 11 Aug 2008 20:29:36 +0000 (20:29 +0000)]
- Constantine Sapuntzakis filed bug report #2042430
(http://curl.haxx.se/bug/view.cgi?id=2042430) with a patch. "NTLM Windows
SSPI code is not thread safe". This was due to libcurl using static
variables to tell wether to load the necessary SSPI DLL, but now the loading
has been moved to the more suitable curl_global_init() call.
Daniel Stenberg [Mon, 11 Aug 2008 19:26:01 +0000 (19:26 +0000)]
- Constantine Sapuntzakis filed bug report #2042440
(http://curl.haxx.se/bug/view.cgi?id=2042440) with a patch. He identified a
problem when using NTLM over a proxy but the end-point does Basic, and then
libcurl would do wrong when the host sent "Connection: close" as the proxy's
NTLM state was erroneously cleared.
Yang Tse [Mon, 11 Aug 2008 19:00:26 +0000 (19:00 +0000)]
Ooops
Yang Tse [Mon, 11 Aug 2008 18:27:21 +0000 (18:27 +0000)]
Added missing signed and unsigned curl_off_t integer constant suffixes for
internal and external use. CURL_SUFFIX_CURL_OFF_T, CURL_SUFFIX_CURL_OFF_TU.
Daniel Stenberg [Mon, 11 Aug 2008 12:41:13 +0000 (12:41 +0000)]
added two known topics for 7.19.1
Daniel Stenberg [Mon, 11 Aug 2008 10:55:47 +0000 (10:55 +0000)]
five more bugs I'd like to get fixed or at least considered before 7.19.0
Yang Tse [Mon, 11 Aug 2008 03:26:23 +0000 (03:26 +0000)]
Old logic based on CURL_SIZEOF_CURL_OFF_T, ENABLE_64BIT, HAVE_LONGLONG,
has to be revisited and adjusted as appropriate.
Enabling and disabling of large file support needs further inspection.
Yang Tse [Mon, 11 Aug 2008 02:40:19 +0000 (02:40 +0000)]
Fix NetWare missing curl_off_t typedef!!
Yang Tse [Mon, 11 Aug 2008 01:22:57 +0000 (01:22 +0000)]
s/SIZEOF_CURL_OFF_T/CURL_SIZEOF_CURL_OFF_T/g
Yang Tse [Mon, 11 Aug 2008 00:15:20 +0000 (00:15 +0000)]
Die when curlbuild.h is not created or available
Gunter Knauf [Sun, 10 Aug 2008 22:28:51 +0000 (22:28 +0000)]
fixed creation of curlbuild.h.
Yang Tse [Sun, 10 Aug 2008 18:33:41 +0000 (18:33 +0000)]
Fix NetWare curlbuild.h
NetWare curlbuild.h settings depend on whether LIBC or CLIB is used.
The NetWare specific Makefile is capable of knowing which target is being built.
So, finally, the NetWare Makefile will take care of generating curlbuild.h
Yang Tse [Sun, 10 Aug 2008 00:39:45 +0000 (00:39 +0000)]
Fix: Remove now this SIZEOF_CURL_OFF_T symbol definition.
This should have been done with the initial 64-bit curl_off_t patch.
Yang Tse [Sat, 9 Aug 2008 23:14:40 +0000 (23:14 +0000)]
When running testcurl.pl display definitions from curlbuild.h
Yang Tse [Sat, 9 Aug 2008 21:10:31 +0000 (21:10 +0000)]
Remove debug tracing for DO_CURL_OFF_T_CHECK and CURL_CHECK_DEF
Yang Tse [Sat, 9 Aug 2008 17:46:25 +0000 (17:46 +0000)]
Use int64_t in favour of __int64 for curl_off_t when both are available.
Yang Tse [Sat, 9 Aug 2008 17:26:24 +0000 (17:26 +0000)]
Improve CURL_CHECK_DEF
Yang Tse [Sat, 9 Aug 2008 17:01:17 +0000 (17:01 +0000)]
Fix IBM C and DEC/Compaq C compiler detection
Yang Tse [Sat, 9 Aug 2008 15:28:13 +0000 (15:28 +0000)]
Remove some redundancy
Dan Fandrich [Fri, 8 Aug 2008 20:37:54 +0000 (20:37 +0000)]
Refactored Curl_readwrite() into a number of smaller functions.
Yang Tse [Fri, 8 Aug 2008 17:42:58 +0000 (17:42 +0000)]
Add debug tracing for DO_CURL_OFF_T_CHECK
Yang Tse [Fri, 8 Aug 2008 16:53:02 +0000 (16:53 +0000)]
Remove some redundancy
Yang Tse [Fri, 8 Aug 2008 16:25:07 +0000 (16:25 +0000)]
Remove potential overquoting
Yang Tse [Fri, 8 Aug 2008 15:16:59 +0000 (15:16 +0000)]
Remove rule no longer needed since tests/testcurl.pl revision 1.63
See CVS commit comment on tests/testcurl.pl revision 1.63
Yang Tse [Fri, 8 Aug 2008 12:34:01 +0000 (12:34 +0000)]
Reintroduce the adjustment previously done in testcurl.pl so that it copies the
CVS checked out curlbuild.h.dist as curlbuild.h for any non-configure target
when host system is not running buildconf.bat.
All the curlbuild.h stuff was done taking in consideration that no adjustment
would be needed in non-configure makefiles.
As it is documented, when trying to build on non-configure capable systems or on
systems which for any reason don't run the true configure script, it is required
to have the proper curlbuild.h in place before calling any makefile.
Due to the hardcore memory debugging stuff c-ares enabled debug builds also need
the file in the proper place before attempting to build c-ares.
Yang Tse [Fri, 8 Aug 2008 11:34:08 +0000 (11:34 +0000)]
Add debug tracing for CURL_CHECK_DEF
Dan Fandrich [Fri, 8 Aug 2008 07:51:50 +0000 (07:51 +0000)]
Made ftp a required feature
Dan Fandrich [Fri, 8 Aug 2008 07:26:30 +0000 (07:26 +0000)]
Added test1059 to test the FTP proxy tunnel problem fixed July 11.
Yang Tse [Fri, 8 Aug 2008 05:58:08 +0000 (05:58 +0000)]
Peek at predefined symbols done. and now removed.
Netware's autobuilds gcc can not been told apart from a standard built gcc.
Yang Tse [Fri, 8 Aug 2008 05:53:01 +0000 (05:53 +0000)]
Add metroworks and generic gcc
Yang Tse [Fri, 8 Aug 2008 03:09:16 +0000 (03:09 +0000)]
Take a peek at netware's gcc predefined symbols.
Dan Fandrich [Fri, 8 Aug 2008 01:52:08 +0000 (01:52 +0000)]
Fixed an uninitialized variable in multi_runsingle() that could cause a
request to prematurely end.
Yang Tse [Thu, 7 Aug 2008 22:40:06 +0000 (22:40 +0000)]
Remove last adjustment done to testcurl.pl to verify if change introduced by
Guenter Knauf in lib/Makefile.netware is enough to get the netware autobuilds
going again.
Gunter Knauf [Thu, 7 Aug 2008 21:43:30 +0000 (21:43 +0000)]
use CP macro rather than cp command.
Gunter Knauf [Thu, 7 Aug 2008 21:34:35 +0000 (21:34 +0000)]
added rule to create include/curl/curlbuild.h from include/curl/curlbuild.h.dist.
Yang Tse [Thu, 7 Aug 2008 20:41:12 +0000 (20:41 +0000)]
Adjust testcurl.pl to copy checked out curlbuild.h.dist as curlbuild.h
for non-configure targets when host system doesn't run buildconf.bat.
Yang Tse [Thu, 7 Aug 2008 19:03:46 +0000 (19:03 +0000)]
Skip data type check in DO_CURL_OFF_T_CHECK macro when argument is empty.
Yang Tse [Thu, 7 Aug 2008 16:22:25 +0000 (16:22 +0000)]
Prevent buildconf from removing 'Makefile' and 'missing' files. This would blow
away our CVS checked 'missing' file and also CVS checked 'hiper/Makefile'.
Yang Tse [Thu, 7 Aug 2008 16:07:26 +0000 (16:07 +0000)]
Fix CURL_CHECK_DEF so that when the expansion of the preprocessor symbol results
in a set of double-quoted strings, this macro will now return an expansion which
consists of a single double-quoted string result of concatenating all of them.
Yang Tse [Thu, 7 Aug 2008 02:46:23 +0000 (02:46 +0000)]
sync with reality
Yang Tse [Thu, 7 Aug 2008 00:29:08 +0000 (00:29 +0000)]
Initial support of curlbuild.h and curlrules.h which allows
to have a curl_off_t data type no longer gated to off_t.
Daniel Stenberg [Wed, 6 Aug 2008 21:22:07 +0000 (21:22 +0000)]
- mention curl_multi_socket_action() rather than the deprecated
curl_multi_socket()
- don't claim that it has an argument named 'easy' because it doesn't!
Daniel Stenberg [Wed, 6 Aug 2008 09:54:34 +0000 (09:54 +0000)]
remove debug code I accidentally left in here
Gisle Vanem [Wed, 6 Aug 2008 08:05:09 +0000 (08:05 +0000)]
Removed TRACE() code.
Yang Tse [Tue, 5 Aug 2008 09:08:43 +0000 (09:08 +0000)]
The minimum autoconf version required for this file is 2.50
Avoid dot notation in aclocal serial file number, use a single number now.
Yang Tse [Tue, 5 Aug 2008 06:44:21 +0000 (06:44 +0000)]
#148 Removed.
Rebooting the problematic system, releasing allocated memory and swap,
has allowed buildconf and configure to complete sucessfully since then.
Yang Tse [Tue, 5 Aug 2008 06:20:18 +0000 (06:20 +0000)]
Validate that autom4te and autoconf versions match.
Validate that aclocal and automake versions match.
Improve removal of previous run generated files.
Remove verbose debug logging of aclocal on Solaris.
Daniel Stenberg [Mon, 4 Aug 2008 22:07:50 +0000 (22:07 +0000)]
- Yehoshua Hershberg found a problem that would make libcurl re-use a
connection with the multi interface even if a previous use of it caused a
CURLE_PEER_FAILED_VERIFICATION to get returned. I now make sure that failed
SSL connections properly close the connections.
Daniel Stenberg [Mon, 4 Aug 2008 22:00:22 +0000 (22:00 +0000)]
- Test cases 1051, 1052 and 1055 were added by Daniel Fandrich on July 30 and
proved how PUT and POST with a redirect could lead to a "hang" due to the
data stream not being rewound properly when it had to in order to get sent
properly (again) to the subsequent URL. This is now fixed and these test
cases are no longer disabled.
Daniel Stenberg [Mon, 4 Aug 2008 20:23:12 +0000 (20:23 +0000)]
- Fix by Tofu Linden:
The symptom:
* Users (usually, but not always) on 2-Wire routers and the Comcast service
and a wired connection to their router would find that the second and
subsequent DNS lookups from fresh processes using c-ares to resolve the same
address would cause the process to never see a reply (it keeps polling for
around 1m15s before giving up).
The repro:
* On such a machine (and yeah, it took us a lot of QA to find the systems
that reproduce such a specific problem!), do 'ahost www.secondlife.com',
then do it again. The first process's lookup will work, subsequent lookups
will time-out and fail.
The cause:
* init_id_key() was calling randomize_key() *before* it initialized
key->state, meaning that the randomness generated by randomize_key() is
immediately overwritten with deterministic values. (/dev/urandom was also
being read incorrectly in the c-ares version we were using, but this was
fixed in a later version.)
* This makes the stream of generated query-IDs from any new c-ares process
be an identical and predictable sequence of IDs.
* This makes the 2-Wire's default built-in DNS server detect these queries
as probable-duplicates and (erroneously) not respond at all.