Dan Fandrich [Wed, 10 Sep 2008 20:05:45 +0000 (20:05 +0000)]
Checked in some code improvements and minor fixes that I discovered in the
FreeBSD ports system.
Yang Tse [Wed, 10 Sep 2008 19:26:30 +0000 (19:26 +0000)]
improve detection of strdup() and ftruncate()
Yang Tse [Wed, 10 Sep 2008 19:03:00 +0000 (19:03 +0000)]
improve detection of sigaction() and strtok_r()
Yang Tse [Wed, 10 Sep 2008 17:35:22 +0000 (17:35 +0000)]
icc adjustments
Yang Tse [Wed, 10 Sep 2008 17:33:15 +0000 (17:33 +0000)]
improve detection of gmtime_r() and strtoll()
Dan Fandrich [Wed, 10 Sep 2008 16:37:16 +0000 (16:37 +0000)]
#170 is done
Yang Tse [Wed, 10 Sep 2008 13:39:35 +0000 (13:39 +0000)]
fix compiler warning
Dan Fandrich [Wed, 10 Sep 2008 07:11:45 +0000 (07:11 +0000)]
Checked in some grammatical and minor other fixes in the documentation and
examples that I found in the FreeBSD ports system.
Dan Fandrich [Tue, 9 Sep 2008 21:15:50 +0000 (21:15 +0000)]
Factored out Curl_isalnum
Dan Fandrich [Tue, 9 Sep 2008 18:45:52 +0000 (18:45 +0000)]
Mike Revi discovered some swapped speed switches documented in the curl man
page.
Yang Tse [Tue, 9 Sep 2008 12:19:16 +0000 (12:19 +0000)]
icc adjustments
Dan Fandrich [Tue, 9 Sep 2008 05:39:59 +0000 (05:39 +0000)]
Hammer home the fact that "multi interface" != "multi-threaded"
Yang Tse [Mon, 8 Sep 2008 19:34:58 +0000 (19:34 +0000)]
fix compiler warning
Yang Tse [Mon, 8 Sep 2008 16:50:04 +0000 (16:50 +0000)]
Disable all tests on i686 icc autobuilds to inspect build messages
Yang Tse [Mon, 8 Sep 2008 16:48:58 +0000 (16:48 +0000)]
Select strict ANSI C89 conformance for icc
Daniel Stenberg [Mon, 8 Sep 2008 12:49:23 +0000 (12:49 +0000)]
Removed: 166 167
Added : 172
Daniel Stenberg [Mon, 8 Sep 2008 12:15:09 +0000 (12:15 +0000)]
Dmitry Kurochkin fixed pipelining over proxy using the multi interface
Daniel Stenberg [Mon, 8 Sep 2008 11:36:19 +0000 (11:36 +0000)]
- Stefan Krause pointed out that libcurl would wrongly send away cookies to
sites in cases where the cookie clearly has a very old expiry date. The
condition was simply that libcurl's date parser would fail to convert the
date and it would then count as a (timed-based) match. Starting now, a
missed date due to an unsupported date format or date range will now cause
the cookie to not match.
Daniel Stenberg [Mon, 8 Sep 2008 07:39:05 +0000 (07:39 +0000)]
comment < 80 columns
Daniel Stenberg [Mon, 8 Sep 2008 07:37:57 +0000 (07:37 +0000)]
171 - [PATCH] add some locking for thread-safety to NSS implementation
Daniel Stenberg [Sun, 7 Sep 2008 21:33:50 +0000 (21:33 +0000)]
SOCKS5_RESOLVE_LOCAL was just never added as an option!
Dan Fandrich [Sat, 6 Sep 2008 18:24:04 +0000 (18:24 +0000)]
Added HTTP 1.0 downgrade tests with proxies
Yang Tse [Sat, 6 Sep 2008 05:29:05 +0000 (05:29 +0000)]
remove unnecessary typecasting of malloc()
Yang Tse [Sat, 6 Sep 2008 04:47:14 +0000 (04:47 +0000)]
remove unnecessary typecasting of calloc()
Yang Tse [Sat, 6 Sep 2008 04:28:43 +0000 (04:28 +0000)]
remove unnecessary typecasting of realloc()
Dan Fandrich [Fri, 5 Sep 2008 18:35:29 +0000 (18:35 +0000)]
Only compile Curl_ssl_free_certinfo when SSL is enabled
Dan Fandrich [Fri, 5 Sep 2008 17:58:53 +0000 (17:58 +0000)]
Improved the logic the decides whether to use HTTP 1.1 features or not in a
request.
Detect cases where an upload must be sent chunked and the server supports
only HTTP 1.0 and return CURLE_UPLOAD_FAILED.
Dan Fandrich [Fri, 5 Sep 2008 17:21:54 +0000 (17:21 +0000)]
Use realloc when paused in Curl_client_write
Daniel Stenberg [Fri, 5 Sep 2008 16:14:51 +0000 (16:14 +0000)]
Removed after commit:
158 - Martin Drasar's CURLOPT_POSTREDIR work:
http://curl.haxx.se/mail/lib-2008-08/0170.html
Daniel Stenberg [Fri, 5 Sep 2008 16:13:20 +0000 (16:13 +0000)]
- Martin Drasar provided the CURLOPT_POSTREDIR patch. It renames
CURLOPT_POST301 (but adds a define for backwards compatibility for you who
don't define CURL_NO_OLDIES). This option allows you to now also change the
libcurl behavior for a HTTP response 302 after a POST to not use GET in the
subsequent request (when CURLOPT_FOLLOWLOCATION is enabled). I edited the
patch somewhat before commit. The curl tool got a matching --post302
option. Test case 1076 was added to verify this.
Daniel Stenberg [Fri, 5 Sep 2008 14:29:21 +0000 (14:29 +0000)]
- Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. By
enabling this feature with CURLOPT_CERTINFO for a request using SSL (HTTPS
or FTPS), libcurl will gather lots of server certificate info and that info
can then get extracted by a client after the request has completed with
curl_easy_getinfo()'s CURLINFO_CERTINFO option. Linus Nielsen Feltzing
helped me test and smoothen out this feature.
Unfortunately, this feature currently only works with libcurl built to use
OpenSSL.
This feature was sponsored by networking4all.com - thanks!
Daniel Stenberg [Fri, 5 Sep 2008 09:37:37 +0000 (09:37 +0000)]
- Dmitriy Sergeyev pointed out that curl_easy_pause() didn't unpause properly
during certain conditions. I also changed this code to use realloc() based
on Daniel Fandrich's suggestion.
Daniel Stenberg [Fri, 5 Sep 2008 09:32:51 +0000 (09:32 +0000)]
five new recent issues to deal with
Daniel Stenberg [Fri, 5 Sep 2008 08:15:21 +0000 (08:15 +0000)]
Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these two
new date strings to get tested too.
Yang Tse [Fri, 5 Sep 2008 01:27:24 +0000 (01:27 +0000)]
somewhat protect Mac OS X users from using Mac OS 9 config file
Yang Tse [Fri, 5 Sep 2008 00:16:35 +0000 (00:16 +0000)]
sync with reality
Gunter Knauf [Thu, 4 Sep 2008 22:04:53 +0000 (22:04 +0000)]
fixed largefile feature for MingW32 non-configure builds.
Gunter Knauf [Thu, 4 Sep 2008 22:01:19 +0000 (22:01 +0000)]
enabled largefile feature for LIBC builds.
Dan Fandrich [Thu, 4 Sep 2008 19:43:35 +0000 (19:43 +0000)]
Made some variables const
Yang Tse [Thu, 4 Sep 2008 18:59:05 +0000 (18:59 +0000)]
fix print formatting string directives
Yang Tse [Thu, 4 Sep 2008 14:57:03 +0000 (14:57 +0000)]
remove duplicate va_start() call
Yang Tse [Thu, 4 Sep 2008 05:29:10 +0000 (05:29 +0000)]
fix print formatting string directives
Marty Kuhrt [Wed, 3 Sep 2008 20:51:36 +0000 (20:51 +0000)]
sync curlmsg* with curl.h for 7.19.0
Dan Fandrich [Wed, 3 Sep 2008 19:10:48 +0000 (19:10 +0000)]
Fixed curl-config when no features are enabled.
Dan Fandrich [Wed, 3 Sep 2008 18:04:47 +0000 (18:04 +0000)]
Search for the FreeBSD CA cert file /usr/local/share/certs/ca-root.crt
Yang Tse [Wed, 3 Sep 2008 11:17:20 +0000 (11:17 +0000)]
remove extra semicolon from curl-config.in
Dan Fandrich [Tue, 2 Sep 2008 23:12:00 +0000 (23:12 +0000)]
Fixed an out of memory problem that caused torture test failures in tests
706 and 707.
Dan Fandrich [Tue, 2 Sep 2008 18:36:39 +0000 (18:36 +0000)]
Removed some redundant type casts
Dan Fandrich [Tue, 2 Sep 2008 17:41:20 +0000 (17:41 +0000)]
Made some variables const which eliminated some casts
Daniel Stenberg [Tue, 2 Sep 2008 12:07:08 +0000 (12:07 +0000)]
- Keith Mok added supported_protocols and supported_features to the pkg-config
file for libcurl, and while doing that fix he unified with curl-config.in
how the supported protocols and features are extracted and used, so both those
tools should now always be synced.
Yang Tse [Tue, 2 Sep 2008 11:28:12 +0000 (11:28 +0000)]
hex version number for 7.19.1 is 0x071301
Daniel Stenberg [Tue, 2 Sep 2008 06:48:11 +0000 (06:48 +0000)]
in the --libcurl output, mention that the large file stuff is only needed for
pre 7.19.0 libcurl-using apps
Daniel Stenberg [Mon, 1 Sep 2008 15:31:12 +0000 (15:31 +0000)]
remove 7.19.0 and hint that 7.19.1 might not come until november
Daniel Stenberg [Mon, 1 Sep 2008 15:29:24 +0000 (15:29 +0000)]
an impressive 672 contributors (counter after the 7.19.0 release)
Daniel Stenberg [Mon, 1 Sep 2008 15:26:28 +0000 (15:26 +0000)]
clear the way for 7.19.1 work!
Daniel Stenberg [Mon, 1 Sep 2008 15:24:12 +0000 (15:24 +0000)]
18 new contributors from the 7.19.0 release notes
Daniel Stenberg [Mon, 1 Sep 2008 14:38:40 +0000 (14:38 +0000)]
the web mirror system is dropped
Daniel Stenberg [Mon, 1 Sep 2008 14:28:48 +0000 (14:28 +0000)]
stand back for 7.19.0
Daniel Stenberg [Mon, 1 Sep 2008 14:27:24 +0000 (14:27 +0000)]
mention the curl_off_t changes first
Daniel Stenberg [Mon, 1 Sep 2008 14:25:37 +0000 (14:25 +0000)]
Add README.curl_off_t to the release archive
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.