Dan Fandrich [Fri, 23 May 2008 20:52:46 +0000 (20:52 +0000)]
Added some more to do items and a known bug.
Daniel Stenberg [Fri, 23 May 2008 17:56:03 +0000 (17:56 +0000)]
Dan Fandrich pointed out that this is the way we should increase the number
for 7.18.2 since we have added functions in this release.
http://curl.haxx.se/mail/lib-2008-05/0240.html
Dan Fandrich [Thu, 22 May 2008 21:49:52 +0000 (21:49 +0000)]
Made sure to pass longs in to curl_easy_setopt where necessary in the
libtest code.
Dan Fandrich [Thu, 22 May 2008 21:20:07 +0000 (21:20 +0000)]
Fixed a surprising number of example programs that were passing int arguments
to curl_easy_setopt instead of long.
Daniel Stenberg [Thu, 22 May 2008 20:34:47 +0000 (20:34 +0000)]
we bump the SO "revision" for next release due to the new functions added
Dan Fandrich [Thu, 22 May 2008 19:44:10 +0000 (19:44 +0000)]
Fixed some include file problems on Windows reported by David Rosenstrauch
Daniel Stenberg [Thu, 22 May 2008 17:41:29 +0000 (17:41 +0000)]
make sure the configure.ac file with the correct version number is shipped
in the tarball
Yang Tse [Thu, 22 May 2008 16:10:57 +0000 (16:10 +0000)]
MSVC6+ clean-up targets must also remove acountry.exe
Yang Tse [Thu, 22 May 2008 15:31:06 +0000 (15:31 +0000)]
sync with reality
Dan Fandrich [Wed, 21 May 2008 21:36:42 +0000 (21:36 +0000)]
Renamed MSDOS_FILESYSTEM to avoid conflict with MIT GSS
Dan Fandrich [Wed, 21 May 2008 21:08:31 +0000 (21:08 +0000)]
Removed some duplicated #includes
Yang Tse [Wed, 21 May 2008 18:24:09 +0000 (18:24 +0000)]
fix: [action-if-found] part of AC_CHECK_TYPE macro cannot be quoted when empty
Yang Tse [Wed, 21 May 2008 14:04:14 +0000 (14:04 +0000)]
fix: remove need and definition of HAVE_SOCKLEN_T symbol
Yang Tse [Wed, 21 May 2008 13:57:50 +0000 (13:57 +0000)]
fix: socklen_t definition comment
Yang Tse [Tue, 20 May 2008 17:30:41 +0000 (17:30 +0000)]
When unable to properly detect gethostbyname_r() usage, configure
script will simply issue a warning and gethostbyname() will be used.
Yang Tse [Tue, 20 May 2008 15:55:31 +0000 (15:55 +0000)]
update several macros using AC_TRY_LINK with AC_LINK_IFELSE
Patrick Monnerat [Tue, 20 May 2008 10:21:50 +0000 (10:21 +0000)]
Adapting last changes to OS400:
_ Updated packages/OS400/curl.inc.in with new definitions.
_ New connect/bind/sendto/recvfrom wrappers to support AF_UNIX sockets.
_ Include files line length shortened below 100 chars.
_ Const parameter in lib/qssl.[ch].
_ Typos in packages/OS400/initscript.sh.
Yang Tse [Tue, 20 May 2008 04:23:30 +0000 (04:23 +0000)]
fix underquoting of AC_LANG_PROGRAM arguments
Yang Tse [Tue, 20 May 2008 01:24:19 +0000 (01:24 +0000)]
if'def out private function ares__tvdiff(), it is not in use yet.
Yang Tse [Tue, 20 May 2008 01:03:45 +0000 (01:03 +0000)]
update several macros using AC_TRY_LINK with AC_LINK_IFELSE
Daniel Stenberg [Mon, 19 May 2008 20:58:12 +0000 (20:58 +0000)]
- When trying to repeat a multi interface problem I fell over a few multi
interface problems:
o with pipelining disabled, the state should never be set to WAITDO but
rather go straight to DO
o we had multiple states for which the internal function returned no socket
at all to wait for, with the effect that libcurl calls the socket callback
(when curl_multi_socket() is used) with REMOVE prematurely (as it would be
added again within very shortly)
o when in DO and DOING states, the HTTP and HTTPS protocol handler functions
didn't return that the socket should be waited for writing, but instead it
was treated as if no socket was needing monitoring so again REMOVE was
called prematurely.
Daniel Stenberg [Mon, 19 May 2008 20:58:01 +0000 (20:58 +0000)]
with pipelining disabled, the state should never be set to WAITDO but rather
go straight to DO
we had multiple states for which the internal function returned no socket at
all to wait for, with the effect that libcurl calls the socket callback (when
curl_multi_socket() is used) with REMOVE prematurely (as it would be added
again within very shortly)
Daniel Stenberg [Mon, 19 May 2008 20:57:28 +0000 (20:57 +0000)]
when the multi handle was in DO and DOING states, the HTTP and HTTPS protocol
handler functions didn't return that the socket should be waited for writing,
but instead it was treated as if no socket was needing monitoring so REMOVE
was called prematurely
Daniel Stenberg [Mon, 19 May 2008 20:40:53 +0000 (20:40 +0000)]
change the code style to be more curlish, and changed some of the output
to be more descriptive and finally set VERBOSE mode to 1 by default
Yang Tse [Mon, 19 May 2008 16:57:56 +0000 (16:57 +0000)]
better select() function detection that works
even when cross compiling a Windows target.
Yang Tse [Mon, 19 May 2008 12:31:11 +0000 (12:31 +0000)]
fix socklen_t equivalent detection when cross compiling Windows target
Yang Tse [Mon, 19 May 2008 02:50:29 +0000 (02:50 +0000)]
if WINSOCK2 API is used link with 'ws2_32', else
if WINSOCK API is used under WinCE link with 'winsock', else
if WINSOCK API is used link with 'wsock32'.
Yang Tse [Sun, 18 May 2008 20:13:13 +0000 (20:13 +0000)]
on winsock systems linking is done using library 'ws2_32' when
winsock2.h is available, and library 'winsock' is used when only
winsock.h is available.
Yang Tse [Sat, 17 May 2008 01:20:56 +0000 (01:20 +0000)]
minor change for wince-cegcc and wince-mingw32ce support
Daniel Stenberg [Fri, 16 May 2008 21:14:50 +0000 (21:14 +0000)]
removed lots of warnings
Yang Tse [Thu, 15 May 2008 22:57:33 +0000 (22:57 +0000)]
millisecond resolution support followup
Dan Fandrich [Thu, 15 May 2008 22:31:23 +0000 (22:31 +0000)]
Included stdint.h to get the intptr_t type (needed on OpenBSD at least).
Daniel Stenberg [Thu, 15 May 2008 22:02:47 +0000 (22:02 +0000)]
ten days with no further response or feedback, removing:
136 - adding easy handles when using curl_multi_socket* by
Markus Koetter
Gisle Vanem [Thu, 15 May 2008 20:47:45 +0000 (20:47 +0000)]
Replaced "-DHAVE_FIONBIO" with "-DHAVE_IOCTLSOCKET".
Added "-DHAVE_GETTIMEOFDAY". Trimmed lines.
Yang Tse [Thu, 15 May 2008 10:04:15 +0000 (10:04 +0000)]
sync with reality
Yang Tse [Thu, 15 May 2008 09:18:05 +0000 (09:18 +0000)]
remove compilation time generated files
Yang Tse [Thu, 15 May 2008 00:00:19 +0000 (00:00 +0000)]
use same time source for timeout initialization and processing
Dan Fandrich [Wed, 14 May 2008 23:38:21 +0000 (23:38 +0000)]
Reduced the required stack size.
Dan Fandrich [Wed, 14 May 2008 23:36:26 +0000 (23:36 +0000)]
Move the CURLDEBUG check after setup.h so it can be set there if necessary.
Yang Tse [Wed, 14 May 2008 19:42:17 +0000 (19:42 +0000)]
Improve toolchain detection for WinCE cross compilation:
When cross compiling WinCE with the arm-wince-cegcc-gcc C compiler
symbol __CEGCC__ is defined and the unix-like compatibility layer
is used. For our purposes this is not a native Windows build.
When cross compiling WinCE with the arm-wince-mingw32ce-gcc C compiler
symbol __MINGW32CE__ is defined and the unix-like compatibility layer
is not used. For our purposes this _is_ a native Windows build.
Yang Tse [Wed, 14 May 2008 16:17:23 +0000 (16:17 +0000)]
remove duplicate check
Yang Tse [Wed, 14 May 2008 16:14:35 +0000 (16:14 +0000)]
skip checks for Windows specific header files
when build target is not a native Windows one
Yang Tse [Wed, 14 May 2008 13:54:36 +0000 (13:54 +0000)]
WinCE cross compilation adjustments:
HAVE_WINSOCK2_H shall not be defined.
HAVE_WS2TCPIP_H shall not be defined.
Daniel Stenberg [Tue, 13 May 2008 21:43:37 +0000 (21:43 +0000)]
wait for all 129 bytes
Daniel Stenberg [Tue, 13 May 2008 21:42:07 +0000 (21:42 +0000)]
Added test case 556 that uses curl_easy_send() and curl_easy_recv()
Daniel Stenberg [Tue, 13 May 2008 21:12:07 +0000 (21:12 +0000)]
Three out of the four issues are now extinct.
Daniel Stenberg [Tue, 13 May 2008 20:48:48 +0000 (20:48 +0000)]
- Introducing millisecond resolution support for the timeout option. See
ares_init_options()'s ARES_OPT_TIMEOUTMS.
Yang Tse [Tue, 13 May 2008 18:27:18 +0000 (18:27 +0000)]
also ignore this
Dan Fandrich [Tue, 13 May 2008 17:50:03 +0000 (17:50 +0000)]
Added curl_easy_recv & curl_easy_send Symbian exports.
Cleaned up Symbian files.
Yang Tse [Tue, 13 May 2008 17:23:01 +0000 (17:23 +0000)]
also ignore this
Yang Tse [Tue, 13 May 2008 17:11:16 +0000 (17:11 +0000)]
ignore this compilation time generated files
Yang Tse [Tue, 13 May 2008 17:03:28 +0000 (17:03 +0000)]
don't keep in CVS this compilation time generated file
Yang Tse [Tue, 13 May 2008 15:37:49 +0000 (15:37 +0000)]
add MSVC6 project for acountry sample program
Yang Tse [Tue, 13 May 2008 15:34:22 +0000 (15:34 +0000)]
update MSVC6 projects to use the multithreaded DLL runtime library
Yang Tse [Tue, 13 May 2008 15:31:19 +0000 (15:31 +0000)]
add MSVC6 project for acountry sample program
Daniel Stenberg [Mon, 12 May 2008 21:43:24 +0000 (21:43 +0000)]
- Introducing curl_easy_send() and curl_easy_recv(). They can be used to send
and receive data over a connection previously setup with curl_easy_perform()
and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to
show how they can be used.
Yang Tse [Mon, 12 May 2008 15:02:51 +0000 (15:02 +0000)]
skip libtool C++ preprocessor compiler and linker checks
Yang Tse [Mon, 12 May 2008 12:22:23 +0000 (12:22 +0000)]
ignore libcares.pc
Yang Tse [Mon, 12 May 2008 02:04:21 +0000 (02:04 +0000)]
configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol only
when function clock_gettime() is available and the monotonic timer is
also available. Otherwise, in some cases, librt or libposix4 could be used
for linking even when finally not using the clock_gettime() function due
to lack of the monotonic clock.
Yang Tse [Sat, 10 May 2008 23:50:55 +0000 (23:50 +0000)]
fix syntax error: missing semicolon
Yang Tse [Sat, 10 May 2008 15:46:08 +0000 (15:46 +0000)]
Add library checking for clock_gettime() support
Yang Tse [Fri, 9 May 2008 16:31:51 +0000 (16:31 +0000)]
Internal time differences now use monotonic time source if available.
This also implies the removal of the winmm.lib dependency for WIN32.
Yang Tse [Fri, 9 May 2008 16:30:24 +0000 (16:30 +0000)]
Use monotonic time source if available.
Daniel Stenberg [Fri, 9 May 2008 13:10:34 +0000 (13:10 +0000)]
Removed AC_PROG_CC_STDC again. It enforces C99/gnu99 stdandard which is too
liberal for me. Also, autoconf 2.61 and earlier doesn't work with icc 10.1
for this macro. (2.62 confirmed to work though). See discusson on the mailing
list starting here:
http://daniel.haxx.se/projects/c-ares/mail/c-ares-archive-2008-05/0001.shtml
Daniel Stenberg [Fri, 9 May 2008 12:59:24 +0000 (12:59 +0000)]
- Stefan Krause reported a busy-looping case when using the multi interface
and doing CONNECT to a proxy. The app would then busy-loop until the proxy
completed its response.
Daniel Stenberg [Fri, 9 May 2008 12:53:42 +0000 (12:53 +0000)]
Removed an unused variable and one do-while loop that wasn't used either.
Added a few comments while at it.
Michal Marek [Fri, 9 May 2008 11:27:54 +0000 (11:27 +0000)]
- Make Curl_write and it's callees accept a const pointer, in preparation
of tetetest's patch for curl_easy_send()
Daniel Stenberg [Thu, 8 May 2008 22:14:17 +0000 (22:14 +0000)]
include strings.h (if available) for the strcasecmp() proto
Daniel Stenberg [Thu, 8 May 2008 22:11:38 +0000 (22:11 +0000)]
check for strings.h in configure and use it for the strcasecmp() proto
Yang Tse [Thu, 8 May 2008 05:45:01 +0000 (05:45 +0000)]
fix compiler warning: format '%ld' expects type 'long int'
Daniel Stenberg [Wed, 7 May 2008 21:27:35 +0000 (21:27 +0000)]
adjusted to work with the updated configure.ac
Daniel Stenberg [Wed, 7 May 2008 21:20:45 +0000 (21:20 +0000)]
- Sebastian made c-ares able to return all PTR-records when doing reverse
lookups. It is not common practice to have multiple PTR-Records for a single
IP, but its perfectly legal and some sites have those.
Daniel Stenberg [Wed, 7 May 2008 21:16:06 +0000 (21:16 +0000)]
- Doug Goldstein provided a configure patch: updates autoconf 2.13 usage to
autoconf 2.57 usage (which is the version you have specified as the minimum
version). It's a minor change but it does clean up some warnings with newer
autoconf (specifically 2.62).
Daniel Stenberg [Wed, 7 May 2008 21:11:27 +0000 (21:11 +0000)]
-135 - Busy looping bug in multi_socket interface by
- Christopher Palow
Daniel Stenberg [Wed, 7 May 2008 21:02:21 +0000 (21:02 +0000)]
- Liam Healy filed the debian bug report #480044
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480044) identifying a
segfault when using krb5 ftp, but the krb4 code had the same problem.
Yang Tse [Wed, 7 May 2008 15:41:41 +0000 (15:41 +0000)]
Christopher Palow provided the patch (edited by me) that introduces
the use of microsecond resolution keys for internal splay trees.
http://curl.haxx.se/mail/lib-2008-04/0513.html
Yang Tse [Tue, 6 May 2008 04:37:06 +0000 (04:37 +0000)]
fix compiler warning: enumerated type mixed with another type
Daniel Stenberg [Mon, 5 May 2008 22:27:28 +0000 (22:27 +0000)]
mention four outstanding issues we should deal with before release
Yang Tse [Mon, 5 May 2008 17:48:25 +0000 (17:48 +0000)]
Improved parsing of resolver configuration files
Daniel Stenberg [Sat, 3 May 2008 22:04:39 +0000 (22:04 +0000)]
- Yuriy Sosov pointed out a configure fix for detecting c-ares when that is
built debug-enabled.
Daniel Stenberg [Sat, 3 May 2008 21:49:16 +0000 (21:49 +0000)]
minor spell and language fix of a comment
Daniel Stenberg [Sat, 3 May 2008 21:45:12 +0000 (21:45 +0000)]
- Ben Van Hof filed bug report #1945240: "libcurl sometimes sends body twice
when using CURL_AUTH_ANY" (http://curl.haxx.se/bug/view.cgi?id=1945240).
The problem was that when libcurl rewound a stream meant for upload when it
would prepare for a second request, it could accidentally continue the
sending of the rewound data on the first request instead of on the second.
Ben also provided test case 1030 that verifies this fix.
Daniel Stenberg [Sat, 3 May 2008 21:44:50 +0000 (21:44 +0000)]
Added comments, check Curl_http_auth_act()'s return code and added a check
that closes the connection somewhat faster when perhapsrewind() has marked
the connection for closure.
Daniel Stenberg [Sat, 3 May 2008 13:43:35 +0000 (13:43 +0000)]
- Jean-Francois Bertrand reported a libcurl crash with CURLOPT_TCP_NODELAY
since libcurl used getprotobyname() and that isn't thread-safe. We now
switched to use IPPROTO_TCP unconditionally, but perhaps the proper fix is
to detect the thread-safe version of the function and use that.
http://curl.haxx.se/mail/lib-2008-05/0011.html
Daniel Stenberg [Thu, 1 May 2008 21:34:34 +0000 (21:34 +0000)]
- Bart Whiteley provided a patch that made libcurl work properly when an app
uses the CURLOPT_OPENSOCKETFUNCTION callback to create a unix domain socket
to a http server.
Daniel Stenberg [Thu, 1 May 2008 20:58:38 +0000 (20:58 +0000)]
53. SFTP busy-loop problem when doing SFTP uploads.
Dan Fandrich [Thu, 1 May 2008 17:48:00 +0000 (17:48 +0000)]
Document that variable replacement now takes place in the test file <stdout> section.
Daniel Stenberg [Thu, 1 May 2008 10:52:12 +0000 (10:52 +0000)]
use variables to support other IPs and port numbers
Daniel Stenberg [Thu, 1 May 2008 10:51:16 +0000 (10:51 +0000)]
do variable replacement in the stdout data read from the test case
Dan Fandrich [Thu, 1 May 2008 00:20:01 +0000 (00:20 +0000)]
Added precheck for hard-coded test server address and port
Dan Fandrich [Thu, 1 May 2008 00:18:16 +0000 (00:18 +0000)]
Made file XML compatible
Daniel Stenberg [Wed, 30 Apr 2008 21:32:35 +0000 (21:32 +0000)]
Christian Vogt told us about OS21 in
http://curl.haxx.se/mail/lib-2008-04/0443.html
Daniel Stenberg [Wed, 30 Apr 2008 21:20:08 +0000 (21:20 +0000)]
- To make it easier for applications that want lots of magic stuff done on
redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now
introduce the new CURLINFO_REDIRECT_URL option that lets applications
extract the URL libcurl would've redirected to if it had been told to. This
then enables the application to continue to that URL as it thinks is
suitable, without having to re-implement the magic of creating the new URL
from the Location: header etc. Test 1029 verifies it.
Yang Tse [Tue, 29 Apr 2008 04:28:40 +0000 (04:28 +0000)]
improved easy interface resolving timeout handling in c-ares enabled builds
Yang Tse [Tue, 29 Apr 2008 04:18:02 +0000 (04:18 +0000)]
improve easy interface resolving timeout handling in c-ares enabled builds
Dan Fandrich [Tue, 29 Apr 2008 02:30:09 +0000 (02:30 +0000)]
Added test 1028 to test an HTTP redirect to a FTP URL.
Daniel Stenberg [Mon, 28 Apr 2008 21:29:17 +0000 (21:29 +0000)]
- Norbert Frese filed bug report #1951588: "Problem with curlftpfs and
libcurl" (http://curl.haxx.se/bug/view.cgi?id=1951588) which seems to be an
identical report to what Denis Golovan reported in
http://curl.haxx.se/mail/lib-2008-02/0108.html The FTP code didn't reset the
user/password pointers properly even though there might've been a new
struct/cconnection getting used.
Daniel Stenberg [Sat, 26 Apr 2008 22:02:07 +0000 (22:02 +0000)]
mention the automake problems and solution even though it doesn't strictly
caused any change in curl-related files
Dan Fandrich [Fri, 25 Apr 2008 22:49:18 +0000 (22:49 +0000)]
Updated Symbian UIDs. Added .pkg files for creating .sis packages.
Yang Tse [Fri, 25 Apr 2008 11:01:26 +0000 (11:01 +0000)]
tests/libtest/delay.pl no longer used. The 'delay' attribute of the
test harness <command> subsection now provides this functionality.