Dan Fandrich [Thu, 4 Dec 2008 06:24:00 +0000 (06:24 +0000)]
Fixed the getifaddrs version of Curl_if2ip to work on systems without IPv6
support (e.g. Minix)
Daniel Stenberg [Wed, 3 Dec 2008 15:20:27 +0000 (15:20 +0000)]
- Igor Novoseltsev filed bug #2351645
(http://curl.haxx.se/bug/view.cgi?id=2351645) that identified a problem with
the multi interface that occured if you removed an easy handle while in
progress and the handle was used in a HTTP pipeline.
Daniel Stenberg [Wed, 3 Dec 2008 15:20:06 +0000 (15:20 +0000)]
filled in SONAME number bump info, after some CVS digging
Daniel Stenberg [Wed, 3 Dec 2008 15:08:09 +0000 (15:08 +0000)]
- Pawel Kierski pointed out a mistake in the cookie code that could lead to a
bad fclose() after a fatal error had occured.
(http://curl.haxx.se/bug/view.cgi?id=2382219)
Daniel Stenberg [Wed, 3 Dec 2008 10:03:07 +0000 (10:03 +0000)]
Let's not call ares_save_options() deprecated just yet
Daniel Stenberg [Wed, 3 Dec 2008 09:59:50 +0000 (09:59 +0000)]
Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.
Also discussed on the ml.
Daniel Stenberg [Tue, 2 Dec 2008 23:00:10 +0000 (23:00 +0000)]
explain the two *channel_inuse fields somewhat better
Dan Fandrich [Tue, 2 Dec 2008 02:58:04 +0000 (02:58 +0000)]
Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C, and condoned by SUS)
Daniel Stenberg [Mon, 1 Dec 2008 22:36:39 +0000 (22:36 +0000)]
minor indent fix
Daniel Stenberg [Mon, 1 Dec 2008 19:06:24 +0000 (19:06 +0000)]
Convert the public config struct to the same binary size/construct as in the
latest releases to remain ABI compatible.
Daniel Stenberg [Mon, 1 Dec 2008 18:46:31 +0000 (18:46 +0000)]
added some more entries for stuff done the last ~2 years
Daniel Stenberg [Sun, 30 Nov 2008 22:51:54 +0000 (22:51 +0000)]
People have successfully ran libcurl on iphone
Yang Tse [Sat, 29 Nov 2008 17:45:16 +0000 (17:45 +0000)]
Further adjust a libssh2 preprocessor function-symbol definition check
Yang Tse [Sat, 29 Nov 2008 16:39:56 +0000 (16:39 +0000)]
Adjust some libssh2 preprocessor symbol definition checks
Gisle Vanem [Sat, 29 Nov 2008 15:19:46 +0000 (15:19 +0000)]
Added '-DHAVE_GETHOSTNAME'.
Dan Fandrich [Sat, 29 Nov 2008 00:26:07 +0000 (00:26 +0000)]
Make sure sys/socket.h is included before netinet/in.h (required by
OpenWatcom C)
Dan Fandrich [Fri, 28 Nov 2008 23:34:39 +0000 (23:34 +0000)]
Netware has gethostname()
Dan Fandrich [Fri, 28 Nov 2008 23:24:06 +0000 (23:24 +0000)]
Fixed a couple of typos
Dan Fandrich [Fri, 28 Nov 2008 23:12:11 +0000 (23:12 +0000)]
Don't tweak the HAVE_* macros when using autoconf
Dan Fandrich [Fri, 28 Nov 2008 22:41:14 +0000 (22:41 +0000)]
Make use of gethostname() conditional on it being available
Dan Fandrich [Fri, 28 Nov 2008 22:07:40 +0000 (22:07 +0000)]
Only set TCP_NODELAY when it exists
Daniel Stenberg [Fri, 28 Nov 2008 15:44:01 +0000 (15:44 +0000)]
updated with changes, preparing for a release soon
Yang Tse [Wed, 26 Nov 2008 17:04:35 +0000 (17:04 +0000)]
Gerald Combs fixed a bug in ares_parse_ptr_reply() which would cause a
buffer to shrink instead of expand if a reply contained 8 or more records.
Yang Tse [Wed, 26 Nov 2008 16:51:51 +0000 (16:51 +0000)]
Brad Spencer provided changes to allow buildconf to work on OS X.
Daniel Stenberg [Wed, 26 Nov 2008 12:35:24 +0000 (12:35 +0000)]
narrow the comment to < 80 columns
Dan Fandrich [Tue, 25 Nov 2008 23:30:53 +0000 (23:30 +0000)]
Added tests 1087 and 1088 to test Basic authentication on a redirect
with and without --location-trusted
Dan Fandrich [Tue, 25 Nov 2008 23:23:47 +0000 (23:23 +0000)]
If a HTTP request is Basic and num is already >=1000, the HTTP test server
adds 1 to num to get the data section to return. This allows testing
authentication negotiations using the Basic authentication method.
Yang Tse [Tue, 25 Nov 2008 16:26:58 +0000 (16:26 +0000)]
In preparation for the upcomming IPv6 nameservers patch, the internal
ares_addr union is now changed into an internal struct which also holds
the address family.
Dan Fandrich [Mon, 24 Nov 2008 22:06:43 +0000 (22:06 +0000)]
Fully clean up after test 608 so that it can be run twice in succession.
Daniel Stenberg [Mon, 24 Nov 2008 14:05:05 +0000 (14:05 +0000)]
191 - "proposed patch for curl/libssh2 bugfix"
http://curl.haxx.se/mail/archive-2008-10/0000.html
Done!
Daniel Stenberg [Mon, 24 Nov 2008 13:59:51 +0000 (13:59 +0000)]
- Based on a patch by Vlad Grachov, libcurl now uses a new libssh2 0.19
function when built to support SCP and SFTP that helps the library to know
in which direction a particular libssh2 operation would return EAGAIN so
that libcurl knows what socket conditions to wait for before trying the
function call again. Previously (and still when using libssh2 0.18 or
earlier), libcurl will busy-loop in this situation when the easy interface
is used!
Daniel Stenberg [Fri, 21 Nov 2008 10:10:33 +0000 (10:10 +0000)]
Markus Koetter's adaptation of hiperfifo.c to instead use libev
Daniel Stenberg [Fri, 21 Nov 2008 07:47:31 +0000 (07:47 +0000)]
restored from my messy previous commit mistake
Dan Fandrich [Fri, 21 Nov 2008 06:36:21 +0000 (06:36 +0000)]
Automatically detect OpenBSD's CA cert bundle.
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.