Yang Tse [Sun, 31 Aug 2008 12:12:35 +0000 (12:12 +0000)]
MSVC adjustment
Daniel Stenberg [Sat, 30 Aug 2008 20:23:31 +0000 (20:23 +0000)]
Added:
165 - "Problem with CURLOPT_RESUME_FROM and CURLOPT_APPEND" by Daniele Pinau,
recipe: http://curl.haxx.se/mail/lib-2008-08/0439.html
Yang Tse [Sat, 30 Aug 2008 04:13:31 +0000 (04:13 +0000)]
vc6curl.dsw and MSVC 6 IDE build directions
Dan Fandrich [Fri, 29 Aug 2008 23:49:30 +0000 (23:49 +0000)]
Removed one, added two
Dan Fandrich [Fri, 29 Aug 2008 23:42:39 +0000 (23:42 +0000)]
Added tests 1071 through 1074 to test automatic downgrading from HTTP 1.1
to HTTP 1.0 upon receiving a response from the HTTP server. Tests 1072
and 1073 are similar to test 1069 in that they involve the impossible
scenario of sending chunked data to a HTTP 1.0 server. All these currently
fail and are added to DISABLED.
Added test 1075 to test --anyauth with Basic authentication.
Daniel Stenberg [Fri, 29 Aug 2008 10:48:27 +0000 (10:48 +0000)]
test 1070 added
Daniel Stenberg [Fri, 29 Aug 2008 10:47:59 +0000 (10:47 +0000)]
- When libcurl was doing a HTTP POST and the server would respond with
"Connection: close" and actually close the connection after the
response-body, libcurl could still have outstanding data to send and it
would not properly notice this and stop sending. This caused weirdness and
sad faces. http://curl.haxx.se/bug/view.cgi?id=2080222
Note that there are still reasons to consider libcurl's behavior when
getting a >= 400 response code while sending data, as Craig Perras' note
"http upload: how to stop on error" specifies:
http://curl.haxx.se/mail/archive-2008-08/0138.html
Daniel Stenberg [Fri, 29 Aug 2008 08:55:02 +0000 (08:55 +0000)]
we start over working towards 1.5.4
Daniel Stenberg [Fri, 29 Aug 2008 08:33:02 +0000 (08:33 +0000)]
Version 1.5.3
Daniel Stenberg [Fri, 29 Aug 2008 08:29:47 +0000 (08:29 +0000)]
added the three people from RELEASE-NOTES and sorted the list alphabetically
Yang Tse [Fri, 29 Aug 2008 02:08:11 +0000 (02:08 +0000)]
Project and workspace files for VC6 IDE supporting 4 configurations:
curl - Win32 using libcurl DLL Debug
curl - Win32 using libcurl DLL Release
curl - Win32 using libcurl LIB Debug
curl - Win32 using libcurl LIB Release
Yang Tse [Thu, 28 Aug 2008 22:41:35 +0000 (22:41 +0000)]
When not using large file support WIN32's lseek offset is a 'long'.
Daniel Stenberg [Thu, 28 Aug 2008 20:08:37 +0000 (20:08 +0000)]
Andres Garcia pointed out these Makefile mistakes...
Yang Tse [Thu, 28 Aug 2008 16:08:31 +0000 (16:08 +0000)]
Adjust curl_off_t definitions for DJGPP.
Ancient versions of DJGPP do not have a 64-bit data type.
Yang Tse [Thu, 28 Aug 2008 14:06:12 +0000 (14:06 +0000)]
Issue #144 seems to be complete. It should no longer be a show-stopper.
Yang Tse [Thu, 28 Aug 2008 13:58:07 +0000 (13:58 +0000)]
ignore curlver.h.dist
Yang Tse [Thu, 28 Aug 2008 13:53:44 +0000 (13:53 +0000)]
Adjust generation of MSVC project files
Daniel Stenberg [Thu, 28 Aug 2008 11:40:37 +0000 (11:40 +0000)]
don't use the mirrors anymore
Daniel Stenberg [Thu, 28 Aug 2008 11:35:54 +0000 (11:35 +0000)]
- I'm abandoning the system with the web site mirrors (but keeping download
files bing mirrored) and thus I've changed the URL in the cookiejar header
to no longer use curlm.haxx.se but instead use the main site curl.haxx.se
Daniel Stenberg [Thu, 28 Aug 2008 08:57:15 +0000 (08:57 +0000)]
we need to look over what libcurl does (not) do when error is received when it
wants to send data
Daniel Stenberg [Thu, 28 Aug 2008 07:41:15 +0000 (07:41 +0000)]
minor code indent fixes
Daniel Stenberg [Thu, 28 Aug 2008 07:37:29 +0000 (07:37 +0000)]
- Dengminwen reported that libcurl would lock a (cookie) share twice (without
an unlock in between) for a certain case and that in fact works when using
regular windows mutexes but not with pthreads'! Locks should of course not
get locked again so this is now fixed.
http://curl.haxx.se/mail/lib-2008-08/0422.html
Dan Fandrich [Thu, 28 Aug 2008 06:28:07 +0000 (06:28 +0000)]
Fixed test case 1065 by changing the handling of CURLOPT_UPLOAD to set
the HTTP method to GET (or HEAD) when given a value of 0.
Yang Tse [Thu, 28 Aug 2008 03:31:54 +0000 (03:31 +0000)]
This file must be kept in CVS with DOS style CR+LF line endings.
Dan Fandrich [Thu, 28 Aug 2008 02:32:41 +0000 (02:32 +0000)]
Fixed a couple of typos
Dan Fandrich [Thu, 28 Aug 2008 02:24:46 +0000 (02:24 +0000)]
Added test 1069 to test PUT from stdin without content length. It fails
in a similar manner to test 1065 so is added to DISABLED.
Dan Fandrich [Thu, 28 Aug 2008 02:18:44 +0000 (02:18 +0000)]
Added test 1069 to test PUT from stdin without content length. It fails
in a similar manner to test 1065 so is added to DISABLED.
Dan Fandrich [Thu, 28 Aug 2008 02:03:54 +0000 (02:03 +0000)]
Added test case 1068 to do a simple HTTP PUT from stdin
Yang Tse [Thu, 28 Aug 2008 01:22:26 +0000 (01:22 +0000)]
DLL's resource file specification for VC6 generated .dsp file
Yang Tse [Wed, 27 Aug 2008 23:46:33 +0000 (23:46 +0000)]
Add /D "CURL_STATICLIB" to LIB's BASE configuration
Yang Tse [Wed, 27 Aug 2008 23:31:58 +0000 (23:31 +0000)]
VC6 generated .dsp file now supports 4 configurations:
libcurl - Win32 DLL Debug
libcurl - Win32 DLL Release
libcurl - Win32 LIB Debug
libcurl - Win32 LIB Release
Daniel Stenberg [Wed, 27 Aug 2008 08:01:59 +0000 (08:01 +0000)]
s/you you/you/ thanks to hexo6 at wp.pl
Daniel Stenberg [Wed, 27 Aug 2008 06:10:47 +0000 (06:10 +0000)]
spell! (most of it fixed by Tor Arntsen)
Dan Fandrich [Wed, 27 Aug 2008 01:48:33 +0000 (01:48 +0000)]
Fix large file support for Symbian OS on the emulator.
Yang Tse [Wed, 27 Aug 2008 00:25:02 +0000 (00:25 +0000)]
Don't abort configuration if recvfrom() is not available.
Dan Fandrich [Tue, 26 Aug 2008 22:36:03 +0000 (22:36 +0000)]
Treat all ARM compilers (RVCT, GCC) equally on Symbian OS. They are both
compatible, and otherwise the dependency generation phase of the build
would throw warnings since the actual compiler isn't known at that time.
Dan Fandrich [Tue, 26 Aug 2008 21:28:57 +0000 (21:28 +0000)]
Fixed out of memory problems that caused torture test failures in tests
1021 and 1067.
Dan Fandrich [Tue, 26 Aug 2008 20:21:59 +0000 (20:21 +0000)]
Added multi keyword
Dan Fandrich [Tue, 26 Aug 2008 20:11:12 +0000 (20:11 +0000)]
Added multi keyword
Yang Tse [Tue, 26 Aug 2008 16:46:46 +0000 (16:46 +0000)]
Windows build targets don't use the 'SONAME' mechanism.
Yang Tse [Tue, 26 Aug 2008 13:40:19 +0000 (13:40 +0000)]
Another task completed and removed from #144:
- Enabling and disabling of large file support is now complete.
Yang Tse [Tue, 26 Aug 2008 13:35:06 +0000 (13:35 +0000)]
minor language adjustment
Daniel Stenberg [Tue, 26 Aug 2008 12:57:29 +0000 (12:57 +0000)]
spell out some benefits of this new approach of doing curl_off_t
Yang Tse [Tue, 26 Aug 2008 12:54:12 +0000 (12:54 +0000)]
Added check and symbol definition for WIN32 file API usage in configure,
supporting configure's --disable-largefile option for WIN32 targets also.
Non-configure systems which do not use config-win32.h configuration file,
and want to use the WIN32 file API, must define USE_WIN32_LARGE_FILES or
USE_WIN32_SMALL_FILES as appropriate in their own configuration files.
Yang Tse [Tue, 26 Aug 2008 10:48:52 +0000 (10:48 +0000)]
Fix default SIZEOF_OFF_T definition logic
Patrick Monnerat [Tue, 26 Aug 2008 09:26:06 +0000 (09:26 +0000)]
Fix _LARGE_FILES definition (thanks to Yang Tse for signaling the bug)
Yang Tse [Tue, 26 Aug 2008 03:08:27 +0000 (03:08 +0000)]
Functionality only possible if recvfrom() is available.
Yang Tse [Tue, 26 Aug 2008 01:55:05 +0000 (01:55 +0000)]
Three tasks completed and removed:
- Logic based on CURL_SIZEOF_CURL_OFF_T and SIZEOF_OFF_T already adjusted.
- Test case 557 already passes on all autobuilds.
- System off_t, or equivalent, size is finally not recorded in curlbuild.h
for this release. SIZEOF_OFF_T from config file is used.
Yang Tse [Tue, 26 Aug 2008 01:40:19 +0000 (01:40 +0000)]
Use SIZEOF_OFF_T definition from config file
Patrick Monnerat [Mon, 25 Aug 2008 13:58:45 +0000 (13:58 +0000)]
Adapting OS400 build scripts to new features: new curlbuild.h file and soname in VERSION --> VERSIONINFO
Yang Tse [Mon, 25 Aug 2008 13:42:53 +0000 (13:42 +0000)]
Add missing preprocessor symbol definition checks
Daniel Stenberg [Mon, 25 Aug 2008 12:50:02 +0000 (12:50 +0000)]
remove some leftover debug code
Daniel Stenberg [Mon, 25 Aug 2008 12:49:13 +0000 (12:49 +0000)]
if the size of off_t is not the same as curl_off_t, this is not like how libcurl
used to get built < 7.19.0 so we enforce an soname bump and display a warning
Yang Tse [Mon, 25 Aug 2008 03:50:51 +0000 (03:50 +0000)]
leftover
Yang Tse [Mon, 25 Aug 2008 03:44:43 +0000 (03:44 +0000)]
George Neill's fix acountry sample application compilation failure.
Yang Tse [Mon, 25 Aug 2008 03:34:50 +0000 (03:34 +0000)]
Brad House's validation that DNS response address matches the request address
Yang Tse [Mon, 25 Aug 2008 01:18:49 +0000 (01:18 +0000)]
For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,
the name of the curl_off_t data type used now becomes CURL_TYPEOF_CURL_OFF_T
CURL_OFF_T -> CURL_TYPEOF_CURL_OFF_T
Yang Tse [Mon, 25 Aug 2008 00:56:50 +0000 (00:56 +0000)]
Rename some shell vars with more descriptive names:
x_typeof -> curl_typeof_curl_off_t
x_sizeof -> curl_sizeof_curl_off_t
x_format -> curl_format_curl_off_t
u_format -> curl_format_curl_off_tu
Yang Tse [Sun, 24 Aug 2008 23:26:07 +0000 (23:26 +0000)]
Re-enable all tests on x86_64 and ia64.
Yang Tse [Sun, 24 Aug 2008 23:21:46 +0000 (23:21 +0000)]
Remove debug tracing and nearly all changes introduced since revision 1.72
The effective result of this commit is revision 1.72 plus two changed lines. These
can be viewed in http://cool.haxx.se/cvs.cgi/curl/lib/mprintf.c.diff?r1=1.72&r2=1.77
Daniel Stenberg [Sun, 24 Aug 2008 22:08:42 +0000 (22:08 +0000)]
58. It seems sensible to be able to use CURLOPT_NOBODY and
CURLOPT_FAILONERROR with FTP to detect if a file exists or not, but it is
not working: http://curl.haxx.se/mail/lib-2008-07/0295.html
Daniel Stenberg [Sun, 24 Aug 2008 21:26:42 +0000 (21:26 +0000)]
Introduced the configure option --enable-soname-bump that lets a user enforce
an SONAME bump.
Daniel Stenberg [Sun, 24 Aug 2008 20:42:51 +0000 (20:42 +0000)]
Added firefox-db2pem.sh to the release archive
Yang Tse [Sun, 24 Aug 2008 17:10:24 +0000 (17:10 +0000)]
Fix wrong signed int formatting string directive in test case #557.
This error did not cause test failures on systems where sizeof(int) == sizeof(long).
Yang Tse [Sun, 24 Aug 2008 16:01:15 +0000 (16:01 +0000)]
Debug trace curl_mprintf() on x86_64 and ia64 systems.
Yang Tse [Sun, 24 Aug 2008 15:57:52 +0000 (15:57 +0000)]
Disable all tests except #557 on x86_64 and ia64 to debug trace curl_mprintf() on these systems.
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.