Yang Tse [Sun, 24 Aug 2008 10:40:38 +0000 (10:40 +0000)]
x86_64 fixes
Yang Tse [Sun, 24 Aug 2008 03:59:43 +0000 (03:59 +0000)]
x86_64 fixes
Yang Tse [Sun, 24 Aug 2008 00:15:59 +0000 (00:15 +0000)]
Test if type casting a 'signed int' to a 'signed long long' fails to do sign extension on x86_64.
Daniel Stenberg [Sat, 23 Aug 2008 22:02:41 +0000 (22:02 +0000)]
- Running 'make ca-firefox' in the root build dir will now run the new
firefox-db2pem.sh conversion script that converts a local Firefox db of ca
certs into PEM format, suitable for use with a OpenSSL or GnuTLS built
libcurl.
Gunter Knauf [Sat, 23 Aug 2008 21:31:09 +0000 (21:31 +0000)]
removed obsolete slash in URL.
Daniel Stenberg [Sat, 23 Aug 2008 21:27:58 +0000 (21:27 +0000)]
added test case 1067 to verify --referer "firstone.html;auto"
Daniel Stenberg [Sat, 23 Aug 2008 12:14:35 +0000 (12:14 +0000)]
revert accidental commit of test code
Daniel Stenberg [Sat, 23 Aug 2008 12:14:05 +0000 (12:14 +0000)]
revert accidental commit
Daniel Stenberg [Sat, 23 Aug 2008 12:11:38 +0000 (12:11 +0000)]
- Constantine Sapuntzakis fixed a bug when doing proxy CONNECT with the multi
interface, and the proxy would send Connection: close during the
authentication phase. http://curl.haxx.se/bug/view.cgi?id=2069047
Daniel Stenberg [Sat, 23 Aug 2008 11:37:42 +0000 (11:37 +0000)]
mention the no soname bump too
Daniel Stenberg [Sat, 23 Aug 2008 11:34:42 +0000 (11:34 +0000)]
my first take at documenting the curl_off_t situation when doing an upgrade
< 7.19.0 to >= 7.19.x
Daniel Stenberg [Sat, 23 Aug 2008 11:25:14 +0000 (11:25 +0000)]
Andy Tsouladze's fix to kill the knowledge of servers properly after they have
been killed.
Yang Tse [Sat, 23 Aug 2008 02:35:16 +0000 (02:35 +0000)]
explicit value assignment for comparison result
Yang Tse [Sat, 23 Aug 2008 02:04:55 +0000 (02:04 +0000)]
typecast constant in comparison
Dan Fandrich [Fri, 22 Aug 2008 22:57:25 +0000 (22:57 +0000)]
Fixed a problem when --dump-header - was given with more than one URL,
which caused an error when the second header was dumped due to stdout
being closed. Added test case 1066 to verify. Also fixed a potential
problem where a closed file descriptor might be used for an upload
when more than one URL is given.
Daniel Stenberg [Fri, 22 Aug 2008 21:37:10 +0000 (21:37 +0000)]
161 - test case 1065 failure (HTTP PUT with one file but two URLs)
http://curl.haxx.se/mail/archive-2008-08/0075.html
Yang Tse [Fri, 22 Aug 2008 19:01:00 +0000 (19:01 +0000)]
Reinstate struct_stat definition that got lost in previous commit.
Yang Tse [Fri, 22 Aug 2008 18:18:20 +0000 (18:18 +0000)]
Increase to 20 the number of CVS update retries.
Yang Tse [Fri, 22 Aug 2008 18:09:03 +0000 (18:09 +0000)]
Adjustments to better select/differentiate when large/small file
support is provided using WIN32 functions directly.
Yang Tse [Fri, 22 Aug 2008 11:11:33 +0000 (11:11 +0000)]
Improved curl_m*printf() integral data type size and signedness handling
Daniel Stenberg [Fri, 22 Aug 2008 09:00:47 +0000 (09:00 +0000)]
Removed issue #154 due to the massive problems I've had to repeat it and since
this really hasn't bitten anyone else. The issuer of the report (Felix) suggested
the closure himself and he will get back when (if?) he manage to get a more
reliable way to see the problem.
154 - bug #2041827 "Segfault in http_output_auth w/ FORBID_REUSE (7.18.2)"
Daniel Stenberg [Fri, 22 Aug 2008 07:59:42 +0000 (07:59 +0000)]
Jamie Lokier is always helpful and this time around too...
Daniel Stenberg [Fri, 22 Aug 2008 07:58:30 +0000 (07:58 +0000)]
Sort of hackish approach to get the off_t size before large file support
is enabled (or skipped). Thanks to Jamie Lokier for the nice work-around the
cached-check-problem: http://curl.haxx.se/mail/lib-2008-08/0331.html
Yang Tse [Fri, 22 Aug 2008 06:53:01 +0000 (06:53 +0000)]
cleanup the BOOL usage
Daniel Stenberg [Thu, 21 Aug 2008 18:28:58 +0000 (18:28 +0000)]
57. On VMS-Alpha: When using an http-file-upload the file is not sent to the
Server with the correct content-length. Sending a file with 511 or less
bytes, content-length 512 is used. Sending a file with 513 - 1023 bytes,
content-length 1024 is used. Files with a length of a multiple of 512 Bytes
show the correct content-length. Only these files work for upload.
http://curl.haxx.se/bug/view.cgi?id=2057858
Daniel Stenberg [Thu, 21 Aug 2008 17:51:22 +0000 (17:51 +0000)]
use a more updated certdata.txt URL
Gisle Vanem [Thu, 21 Aug 2008 16:20:38 +0000 (16:20 +0000)]
Work around a scanf() bug in djgpp 2.04. The assignments for this
format is working okay. But the return value is incorrectly EOF.
Gisle Vanem [Thu, 21 Aug 2008 14:08:47 +0000 (14:08 +0000)]
Added '#define HAVE_STRUCT_IN6_ADDR 1' needed when
building with 'USE_ARES'.
Gisle Vanem [Thu, 21 Aug 2008 13:51:07 +0000 (13:51 +0000)]
Added rule to generate '../include/curl/curlbuild.h'.
Gisle Vanem [Thu, 21 Aug 2008 13:47:18 +0000 (13:47 +0000)]
Assume we have 'CRYPTO_cleanup_all_ex_data()' on OpenSSL/DOS too.
Yang Tse [Thu, 21 Aug 2008 06:58:12 +0000 (06:58 +0000)]
MSVC's __int64 data type is only available when _INTEGRAL_MAX_BITS >= 64
Yang Tse [Thu, 21 Aug 2008 05:19:40 +0000 (05:19 +0000)]
Test case 557 now also verifies signed and unsigned int formatting.
Yang Tse [Thu, 21 Aug 2008 03:16:38 +0000 (03:16 +0000)]
Old logic based on ENABLE_64BIT and HAVE_LONGLONG already revisited and adjusted.
Old logic based on CURL_SIZEOF_CURL_OFF_T is only partially adjusted.
Yang Tse [Thu, 21 Aug 2008 01:55:33 +0000 (01:55 +0000)]
Fixed a couple of bugs in libcurl's internal curl_m*printf() functions.
Yang Tse [Thu, 21 Aug 2008 01:49:19 +0000 (01:49 +0000)]
Fix a LONG_MIN and LLONG_MIN related bug in internal m*printf()
Yang Tse [Thu, 21 Aug 2008 00:13:48 +0000 (00:13 +0000)]
fix the output name
Yang Tse [Thu, 21 Aug 2008 00:12:03 +0000 (00:12 +0000)]
Fix one bug detected thanks to test case 557.
Yang Tse [Thu, 21 Aug 2008 00:10:27 +0000 (00:10 +0000)]
Some data type size adjustments.
Yang Tse [Thu, 21 Aug 2008 00:06:15 +0000 (00:06 +0000)]
Get rid of ENABLE_64BIT symbol definition and usage.
Improve HAVE_LONGLONG symbol description.
Yang Tse [Wed, 20 Aug 2008 23:40:40 +0000 (23:40 +0000)]
Update of lib/Makefile.Watcom.
Yang Tse [Wed, 20 Aug 2008 23:38:36 +0000 (23:38 +0000)]
Export 'ares_process_fd' too.
Yang Tse [Wed, 20 Aug 2008 23:35:48 +0000 (23:35 +0000)]
Added option to use c-ares resolver lib.
Yang Tse [Wed, 20 Aug 2008 23:32:50 +0000 (23:32 +0000)]
Use 'Curl_inet_pton()' instead of 'inet_pton()'.
Yang Tse [Wed, 20 Aug 2008 23:29:07 +0000 (23:29 +0000)]
Simplify condition check
Daniel Stenberg [Wed, 20 Aug 2008 21:06:56 +0000 (21:06 +0000)]
the .netrc curl checks for is called _netrc on windows bug report #2061610
Dan Fandrich [Wed, 20 Aug 2008 19:45:43 +0000 (19:45 +0000)]
Added an edited version of Vincent Le Normand's documentation of SFTP quote
commands to the man pages.
Daniel Stenberg [Wed, 20 Aug 2008 19:29:00 +0000 (19:29 +0000)]
- Phil Pellouchoud pointed out that the windows version of libcurl had a
memory leak because it never called the OpenSSL function
CRYPTO_cleanup_all_ex_data() as it was supposed to. This was because of a
missing define in config-win32.h!
Yang Tse [Mon, 18 Aug 2008 18:52:13 +0000 (18:52 +0000)]
Update test case 557
Yang Tse [Mon, 18 Aug 2008 10:11:26 +0000 (10:11 +0000)]
#159 and #160 already done.
Add more tasks to #144.
Yang Tse [Mon, 18 Aug 2008 09:58:08 +0000 (09:58 +0000)]
Added test case 557 to verify libcurl's internal curl_m*printf() functions
formatting functionality when handling signed and unsigned longs, as well as
our curl_off_t data type.
Gisle Vanem [Sun, 17 Aug 2008 16:20:23 +0000 (16:20 +0000)]
Pick-up programs from Makefile.inc.
Gisle Vanem [Sun, 17 Aug 2008 13:55:24 +0000 (13:55 +0000)]
Replace 'HttpPost' with 'curl_httppost'.
Gisle Vanem [Sun, 17 Aug 2008 13:34:15 +0000 (13:34 +0000)]
Rewritten to also produce a static library (libcurl_wc.lib).
Yang Tse [Sun, 17 Aug 2008 13:25:54 +0000 (13:25 +0000)]
OpenSSl enabled NetWare builds are changed to use the 'openssl' subdirectory
when including the OpenSSL header files. This is the recommended setting, this
prevents the undesired inclusion of header files with the same name as those
of OpenSSL but which do not belong to the OpenSSL package. The visible change
from previously released libcurl versions is that now OpenSSl enabled NetWare
builds also define USE_OPENSSL in config files, and that OpenSSL header files
must be located in a subdirectory named 'openssl'.
Yang Tse [Sun, 17 Aug 2008 01:57:10 +0000 (01:57 +0000)]
Adjust usage of conditional definition of USE_OPENSSL
Yang Tse [Sun, 17 Aug 2008 00:25:38 +0000 (00:25 +0000)]
libcurl internal base64.h header file renamed to curl_base64.h
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.