Dan Fandrich [Thu, 20 Nov 2008 07:59:26 +0000 (07:59 +0000)]
Make checking for struct ifreq a prerequisite for setting
HAVE_IOCTL_SIOCGIFADDR since it's needed to use SIOCGIFADDR and Watcom C
doesn't currently define it.
Daniel Stenberg [Thu, 20 Nov 2008 07:50:48 +0000 (07:50 +0000)]
use unsigned short better intead of mixing with ints to prevent compiler
warnings
Daniel Stenberg [Thu, 20 Nov 2008 07:41:26 +0000 (07:41 +0000)]
please the picky compilers by staying with short as the data we get is short
only
Daniel Stenberg [Wed, 19 Nov 2008 22:02:38 +0000 (22:02 +0000)]
194 - remove "Pragma: no-cache" from default HTTP requests
done!
Daniel Stenberg [Wed, 19 Nov 2008 22:00:14 +0000 (22:00 +0000)]
- I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
used. It has been used since forever but it was never a good idea to use
unless explicitly asked for.
Daniel Stenberg [Wed, 19 Nov 2008 21:56:11 +0000 (21:56 +0000)]
Josef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when
you use runtests.pl -g, will be sourced by gdb to allow additional fancy
or whatever you see fit
Daniel Stenberg [Wed, 19 Nov 2008 15:31:55 +0000 (15:31 +0000)]
and now it compiles too!
Daniel Stenberg [Wed, 19 Nov 2008 15:30:41 +0000 (15:30 +0000)]
I updated this example to use the modern paradigms of the socket API where
*_socket_all() and *_socket() aren't used at all but only *_socket_action()
is.
Daniel Stenberg [Wed, 19 Nov 2008 15:16:16 +0000 (15:16 +0000)]
- Brad Spencer brought the new function ares_gethostbyname_file() which simply
resolves a host name from the given file, using the regular hosts syntax.
Daniel Stenberg [Wed, 19 Nov 2008 14:22:01 +0000 (14:22 +0000)]
- Christian Krause reported and fixed a memory leak that would occur with HTTP
GSS/kerberos authentication (http://curl.haxx.se/bug/view.cgi?id=2284386)
Daniel Stenberg [Wed, 19 Nov 2008 10:15:19 +0000 (10:15 +0000)]
- Andreas Wurf and Markus Koetter helped me analyze a problem that Andreas got
when uploading files to a single FTP server using multiple easy handle
handles with the multi interface. Occasionally a handle would stall in
mysterious ways.
The problem turned out to be a side-effect of the ConnectionExists()
function's eagerness to re-use a handle for HTTP pipelining so it would
select it even if already being in use, due to an inadequate check for its
chances of being used for pipelnining.
Yang Tse [Wed, 19 Nov 2008 01:57:27 +0000 (01:57 +0000)]
user provided PATH_SEPARATOR always overrides auto-detected one
Yang Tse [Tue, 18 Nov 2008 20:13:55 +0000 (20:13 +0000)]
attempting to keep lines below 80 chars
Dan Fandrich [Tue, 18 Nov 2008 19:58:44 +0000 (19:58 +0000)]
Avoid creating garbage on an OOM error
Yang Tse [Tue, 18 Nov 2008 19:29:31 +0000 (19:29 +0000)]
provide a common PATH_SEPARATOR check method which is required by
upcomming work to support the broadest range of Autoconf versions
Dan Fandrich [Tue, 18 Nov 2008 09:11:34 +0000 (09:11 +0000)]
Made an array static const
Dan Fandrich [Tue, 18 Nov 2008 08:53:51 +0000 (08:53 +0000)]
Added #include "rawstr.h"
Yang Tse [Tue, 18 Nov 2008 01:57:28 +0000 (01:57 +0000)]
check for gethostbyaddr and gethostbyname as it is done for other functions
Daniel Stenberg [Mon, 17 Nov 2008 21:43:39 +0000 (21:43 +0000)]
curl also builds fine for microblaze uclinux
Daniel Stenberg [Mon, 17 Nov 2008 21:41:03 +0000 (21:41 +0000)]
libcurl has been built and ran on Cell OS on the Cell processor (playstation 3)
Dan Fandrich [Mon, 17 Nov 2008 21:11:10 +0000 (21:11 +0000)]
Added more compiler warning options for gcc 4.3
Dan Fandrich [Mon, 17 Nov 2008 20:24:13 +0000 (20:24 +0000)]
Display the time in verbose mode during the torture tests to help determine
when the tests stall.
Yang Tse [Mon, 17 Nov 2008 19:08:35 +0000 (19:08 +0000)]
the IP address we want/request/use from the interface is the 'local'
address, the one on the box libcurl is running, not the 'remote' one.
Yang Tse [Mon, 17 Nov 2008 14:26:22 +0000 (14:26 +0000)]
fix comment
Yang Tse [Mon, 17 Nov 2008 14:24:15 +0000 (14:24 +0000)]
if2ip.c related preprocessor cleanup
Yang Tse [Mon, 17 Nov 2008 13:13:15 +0000 (13:13 +0000)]
Make configure script check if ioctl with the SIOCGIFADDR command can be
used, and define HAVE_IOCTL_SIOCGIFADDR if appropriate.
Yang Tse [Mon, 17 Nov 2008 10:05:35 +0000 (10:05 +0000)]
fix leftover from previous commit
Daniel Stenberg [Mon, 17 Nov 2008 09:35:10 +0000 (09:35 +0000)]
pipelining for PUT is a good idea
Dan Fandrich [Mon, 17 Nov 2008 08:16:25 +0000 (08:16 +0000)]
Fixed an outdated mention of having keep strings around in curl_easy_setopt
calls. Added a paragraph explaining that libcurl takes care of low-level
protocol details. Made a few minor edits.
Yang Tse [Mon, 17 Nov 2008 04:11:29 +0000 (04:11 +0000)]
update with my last changes
Yang Tse [Mon, 17 Nov 2008 03:54:05 +0000 (03:54 +0000)]
fix inet_pton() runtime configure check
Yang Tse [Mon, 17 Nov 2008 02:40:41 +0000 (02:40 +0000)]
backport fix for failures to reject certain malformed literals
Daniel Stenberg [Sun, 16 Nov 2008 12:42:53 +0000 (12:42 +0000)]
Christian Krause fixed a build failure when building with gss support
enabled and FTP disabled.
Daniel Stenberg [Sun, 16 Nov 2008 12:26:50 +0000 (12:26 +0000)]
fix OOM problem reported by Jim Meyering
Yang Tse [Sun, 16 Nov 2008 02:23:18 +0000 (02:23 +0000)]
trim down configure script size
Daniel Stenberg [Sat, 15 Nov 2008 23:47:01 +0000 (23:47 +0000)]
my recent changes
Daniel Stenberg [Sat, 15 Nov 2008 23:43:10 +0000 (23:43 +0000)]
based on a report by Jim Meyering, I went over and added checks for return
codes for all calls to malloc and strdup that were missing. I also changed
a few malloc(13) to use arrays on the stack and a few malloc(PATH_MAX) to
instead use aprintf() to lower memory use.
I also fixed a memory leak in Curl_nss_connect() when CURLOPT_ISSUERCERT is
in use.
Daniel Stenberg [Sat, 15 Nov 2008 23:07:35 +0000 (23:07 +0000)]
Fixed an OOM condition reported by Jim Meyering
Dan Fandrich [Fri, 14 Nov 2008 23:19:18 +0000 (23:19 +0000)]
Added some more examples of options to reduce binary size. Added x86_64 Linux
as a known-working environment.
Dan Fandrich [Fri, 14 Nov 2008 23:17:32 +0000 (23:17 +0000)]
Added some #ifdefs around header files and change the EAGAIN test to
fix compilation on Cell (reported by Jeff Curley).
Dan Fandrich [Fri, 14 Nov 2008 19:22:40 +0000 (19:22 +0000)]
Added .xml as one of the few common file extensions known by the multipart
form generator. Made the extensions part of the MIME type struct to reduce
the size and run-time relocations necessary to build the table.
Daniel Stenberg [Fri, 14 Nov 2008 16:42:05 +0000 (16:42 +0000)]
check for NULL returns from strdup() - reported by Jim Meyering
also prevent buffer overflow on MSDOS when you do for example -O on a url
with a file name part longer than PATH_MAX letters
Daniel Stenberg [Fri, 14 Nov 2008 16:26:39 +0000 (16:26 +0000)]
fix an OOM problem detected by Jim Meyering
Daniel Stenberg [Fri, 14 Nov 2008 16:22:18 +0000 (16:22 +0000)]
Remove a chunk of unused code that was #ifdef'de on defines we never set.
We do testing of code functions using the test suite instead!
Yang Tse [Fri, 14 Nov 2008 15:26:27 +0000 (15:26 +0000)]
fix typo affecting inclusion of <arpa/inet.h> in configure
checks for inet_ntoa_r() inet_ntop() and inet_pton()
Yang Tse [Fri, 14 Nov 2008 14:47:53 +0000 (14:47 +0000)]
#include <string.h> in the getaddrinfo() runtime check for the memset() prototype
Yang Tse [Fri, 14 Nov 2008 05:18:08 +0000 (05:18 +0000)]
fix symbol definition check for fcntl.h inclusion
Yang Tse [Fri, 14 Nov 2008 02:51:41 +0000 (02:51 +0000)]
#include <stdlib.h> in the getifaddrs() runtime check for the exit() prototype
Daniel Stenberg [Thu, 13 Nov 2008 23:19:01 +0000 (23:19 +0000)]
curl runs fine on Linux on Cell (PS3)
Yang Tse [Thu, 13 Nov 2008 18:56:55 +0000 (18:56 +0000)]
Refactor configure script detection of functions used to set sockets into
non-blocking mode, and decouple function detection from function capability.
Daniel Stenberg [Thu, 13 Nov 2008 13:24:00 +0000 (13:24 +0000)]
and we are now on the 7.19.3 road
Daniel Stenberg [Thu, 13 Nov 2008 12:42:20 +0000 (12:42 +0000)]
7.19.2 coming up
Daniel Stenberg [Thu, 13 Nov 2008 10:46:10 +0000 (10:46 +0000)]
two more things for 7.19.3
Michal Marek [Thu, 13 Nov 2008 08:20:23 +0000 (08:20 +0000)]
- Fixed a potential data loss in Curl_client_write() when the transfer is
paused.
Dan Fandrich [Thu, 13 Nov 2008 01:45:59 +0000 (01:45 +0000)]
Shortened some FTP responses to allow the timeout to be reduced by a second
while still causing a timeout during the data phase.
Gunter Knauf [Thu, 13 Nov 2008 01:39:10 +0000 (01:39 +0000)]
changed to latest libidn version.
Gunter Knauf [Thu, 13 Nov 2008 01:36:04 +0000 (01:36 +0000)]
changed defines to make autobuild logs display libidn usage.
Dan Fandrich [Wed, 12 Nov 2008 22:26:06 +0000 (22:26 +0000)]
Fixed an OOM problem with test 560
Dan Fandrich [Wed, 12 Nov 2008 01:04:27 +0000 (01:04 +0000)]
Give the test an extra second to run so it passes on slow machines
Daniel Stenberg [Tue, 11 Nov 2008 22:19:27 +0000 (22:19 +0000)]
- Rainer Canavan filed bug #2255627
(http://curl.haxx.se/bug/view.cgi?id=2255627) which pointed out that a
program using libcurl's multi interface to download a HTTPS page with a
libcurl built powered by OpenSSL, would easily get silly and instead hand
over SSL details as data instead of the actual HTTP headers and body. This
happened because libcurl would consider the connection handshake done too
early. This problem was introduced at September 22nd 2008 with my fix of the
bug #2107377
The correct fix is now instead done within the GnuTLS-handling code, as both
the OpenSSL and the NSS code already deal with this situation in similar
fashion. I added test case 560 in an attempt to verify this fix, but
unfortunately it didn't trigger it even before this fix!
Daniel Stenberg [Tue, 11 Nov 2008 22:01:15 +0000 (22:01 +0000)]
bump them all to 7.19.3 and remove some of the pending ones until they are
either sorted out or more/new details come up
Daniel Stenberg [Tue, 11 Nov 2008 21:59:25 +0000 (21:59 +0000)]
Added test case 560:
This test was added after the HTTPS-using-multi-interface with OpenSSL
regression of 7.19.1 to hopefully prevent this embarassing mistake from
appearing again... Unfortunately the bug wasn't triggered by this test, which
presumably is because the connect to a local server is too fast/different
compared to the real/distant servers we saw the bug happen with.
Daniel Stenberg [Tue, 11 Nov 2008 21:58:41 +0000 (21:58 +0000)]
Added missing <keywords>
Gunter Knauf [Tue, 11 Nov 2008 19:43:35 +0000 (19:43 +0000)]
updated OpenSSL version.
Gunter Knauf [Tue, 11 Nov 2008 19:42:35 +0000 (19:42 +0000)]
added libidn build.
Gunter Knauf [Tue, 11 Nov 2008 17:46:31 +0000 (17:46 +0000)]
updated coment, updated OpenSSL version.
Gunter Knauf [Tue, 11 Nov 2008 17:43:02 +0000 (17:43 +0000)]
added libidn build.
Daniel Stenberg [Tue, 11 Nov 2008 13:33:01 +0000 (13:33 +0000)]
cleaned up entries that have been implemented already or are deemed not really
wanted anyway
Yang Tse [Tue, 11 Nov 2008 01:12:17 +0000 (01:12 +0000)]
Related with bug #2230535 (curl.haxx.se/bug/view.cgi?id=2230535)
Daniel Fandrich noticed that curl_addrinfo was also missing in the build
process of other four non-configure platforms. Added now.
Daniel Stenberg [Sun, 9 Nov 2008 12:38:54 +0000 (12:38 +0000)]
11 new contributors from the 7.19.1 release
Yang Tse [Sat, 8 Nov 2008 03:27:15 +0000 (03:27 +0000)]
check for getifaddrs and freeifaddrs as it is done for other functions
Dan Fandrich [Fri, 7 Nov 2008 18:33:20 +0000 (18:33 +0000)]
The getifaddrs() version of Curl_if2ip() crashed when used on a Linux
system with a TEQL load-balancing device configured, which doesn't
have an address. Thanks to Adam Sampson for spotting this (bug #2234923).
Yang Tse [Fri, 7 Nov 2008 12:22:43 +0000 (12:22 +0000)]
terminate with appropriate exit code
Yang Tse [Fri, 7 Nov 2008 01:42:34 +0000 (01:42 +0000)]
give credit where credit is due
Yang Tse [Thu, 6 Nov 2008 19:11:46 +0000 (19:11 +0000)]
Bug #2230535 (curl.haxx.se/bug/view.cgi?id=2230535) pointed out a
problem with MSVC 6 makefile that caused a build failure. It was noted that
the curl_addrinfo.obj reference was missing. I took the opportunity to sort
the list in which this was missing.
Yang Tse [Thu, 6 Nov 2008 18:50:32 +0000 (18:50 +0000)]
Add missing curl_addrinfo, and sort the list.
Yang Tse [Thu, 6 Nov 2008 17:19:56 +0000 (17:19 +0000)]
Merged existing IPv4 and IPv6 Curl_ip2addr functions into a single one
which now also takes a protocol address family argument.
Dan Fandrich [Thu, 6 Nov 2008 00:13:18 +0000 (00:13 +0000)]
Added test 1086 to test a timeout the occurs during an FTP data transfer.
Dan Fandrich [Thu, 6 Nov 2008 00:10:58 +0000 (00:10 +0000)]
Make the SLOWDOWN option slow the FTP data connection, not just the
control connection.
Dan Fandrich [Thu, 6 Nov 2008 00:01:13 +0000 (00:01 +0000)]
Factored out some common code into a new function output_auth_headers
Daniel Stenberg [Wed, 5 Nov 2008 21:48:00 +0000 (21:48 +0000)]
mention the speed unit for the _SPEED_LARGE options from bug #2226722
Daniel Stenberg [Wed, 5 Nov 2008 21:46:40 +0000 (21:46 +0000)]
corrected and clarified the *_SPEED_LARGE comments
Daniel Stenberg [Wed, 5 Nov 2008 21:28:04 +0000 (21:28 +0000)]
7.19.1 is now history
Daniel Stenberg [Wed, 5 Nov 2008 12:17:30 +0000 (12:17 +0000)]
and we're back on square one working on the next release...
Daniel Stenberg [Wed, 5 Nov 2008 12:00:08 +0000 (12:00 +0000)]
7.19.1 coming up
Daniel Stenberg [Tue, 4 Nov 2008 22:36:50 +0000 (22:36 +0000)]
oops, use the correct option name
Daniel Stenberg [Tue, 4 Nov 2008 21:17:18 +0000 (21:17 +0000)]
the pending bugs are now moved to next release
Daniel Stenberg [Tue, 4 Nov 2008 09:57:36 +0000 (09:57 +0000)]
CURLINFO_FILETIME now works for file:// transfers as well
Yang Tse [Mon, 3 Nov 2008 17:39:40 +0000 (17:39 +0000)]
Sync up with reality
Daniel Stenberg [Mon, 3 Nov 2008 16:24:56 +0000 (16:24 +0000)]
- Bug #2218480 (curl.haxx.se/bug/view.cgi?id=2218480) pointed out a
problem with my CURLINFO_PRIMARY_IP fix from October 7th that caused a NULL
pointer read. I also took the opportunity to clean up this logic (storing of
the connection's IP address) somewhat as we had it stored in two different
places and ways previously and they are now unified.
Gisle Vanem [Mon, 3 Nov 2008 15:51:40 +0000 (15:51 +0000)]
If building with CURLDEBUG, sprintf() is defined away. So use curl_msprintf()
and not sprintf().
Gisle Vanem [Mon, 3 Nov 2008 15:24:44 +0000 (15:24 +0000)]
Added '#define HAVE_GETNAMEINFO' and qualifiers/types
for it.
Gisle Vanem [Mon, 3 Nov 2008 15:15:53 +0000 (15:15 +0000)]
djgpp/DOS does have getaddrinfo().
Yang Tse [Mon, 3 Nov 2008 14:58:08 +0000 (14:58 +0000)]
fix length of longest IPv6 address string
Daniel Stenberg [Mon, 3 Nov 2008 08:50:58 +0000 (08:50 +0000)]
I liked Daniel Johnson's simplified version bumper guide so I modified the
instruction in the comments to use that instead! Original mail:
http://curl.haxx.se/mail/lib-2008-11/0019.html
Dan Fandrich [Sun, 2 Nov 2008 05:01:39 +0000 (05:01 +0000)]
Marked with TODO comments a number of problems in the Kerberos code detected
while investigating the issue in http://curl.haxx.se/mail/lib-2008-09/0262.html
I'm hesitant to fix them because I have no way of testing the result.
Daniel Stenberg [Sat, 1 Nov 2008 23:50:18 +0000 (23:50 +0000)]
183 - "libcurl issue with IPv6 and c-ares"
done!
Daniel Stenberg [Sat, 1 Nov 2008 23:49:54 +0000 (23:49 +0000)]
Daniel Johnson reported and fixed ipv4 name resolves when libcurl is built
with ipv6-enabled c-ares
Daniel Stenberg [Sat, 1 Nov 2008 23:39:07 +0000 (23:39 +0000)]
Added a TODO file to list things we want changed, added or fixed.
Daniel Stenberg [Sat, 1 Nov 2008 23:05:48 +0000 (23:05 +0000)]
bump VERSIONINFO for the upcoming release