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.
Yang Tse [Fri, 25 Apr 2008 04:19:50 +0000 (04:19 +0000)]
Add 'timeout' and 'delay' attributes support for the test harness <command> subsection
Dan Fandrich [Fri, 25 Apr 2008 00:41:44 +0000 (00:41 +0000)]
Made --stderr able to redirect all stderr messages.
Dan Fandrich [Thu, 24 Apr 2008 23:24:57 +0000 (23:24 +0000)]
Reduced the requested Symbian capabilities.
Correctly noted what happens to stderr.
Yang Tse [Wed, 23 Apr 2008 23:58:00 +0000 (23:58 +0000)]
<postcheck> delay no longer needed for this test.
http://curl.haxx.se/mail/lib-2008-04/0392.html
Yang Tse [Wed, 23 Apr 2008 23:55:34 +0000 (23:55 +0000)]
improve synchronization between test harness runtests.pl script
and test harness servers to minimize risk of false test failures.
http://curl.haxx.se/mail/lib-2008-04/0392.html
Dan Fandrich [Wed, 23 Apr 2008 18:29:44 +0000 (18:29 +0000)]
Symbian OS is a.k.a. EPOC32
Dan Fandrich [Wed, 23 Apr 2008 18:14:25 +0000 (18:14 +0000)]
Mention that P.I.P.S. is needed for Symbian.
Dan Fandrich [Wed, 23 Apr 2008 05:14:14 +0000 (05:14 +0000)]
List extra files individually instead of by directory to avoid including
CVS directories.
Dan Fandrich [Tue, 22 Apr 2008 22:53:53 +0000 (22:53 +0000)]
Added support for running on Symbian OS.
Yang Tse [Tue, 22 Apr 2008 13:07:27 +0000 (13:07 +0000)]
fix minor memory leak triggered upon test failure
Yang Tse [Tue, 22 Apr 2008 12:40:05 +0000 (12:40 +0000)]
Remove fflush() + fsync() previously introduced accelerated writing of
server input and response request files of the test harness sws server.
Reintroduce, for test # 1001, the <postcheck> small delay. The delay is
needed even with the accelerated writing of server input and response
request files in test harness sws server.
http://curl.haxx.se/mail/lib-2008-04/0385.html
Yang Tse [Tue, 22 Apr 2008 00:23:18 +0000 (00:23 +0000)]
Remove previously introduced small delay to verify if it can be avoided
with the accelerated writing of server input and response request files
in test harness sws server.
Dan Fandrich [Mon, 21 Apr 2008 23:17:20 +0000 (23:17 +0000)]
Allocate the decompression buffer for the --manual option on the heap
instead of the stack.
Dan Fandrich [Mon, 21 Apr 2008 23:16:24 +0000 (23:16 +0000)]
Fixed typo in log message
Daniel Stenberg [Mon, 21 Apr 2008 21:44:03 +0000 (21:44 +0000)]
added Haskell binding, unified the formatting somewhat
Yang Tse [Mon, 21 Apr 2008 19:17:42 +0000 (19:17 +0000)]
HAVE_FFLUSH and HAVE_FSYNC symbol definitions for WIN32 systems
Dan Fandrich [Mon, 21 Apr 2008 17:19:44 +0000 (17:19 +0000)]
Ignore the result of the postcheck command in torture mode
Dan Fandrich [Mon, 21 Apr 2008 16:57:27 +0000 (16:57 +0000)]
Make the test work with nroffs that use special escaping for bold output.
Yang Tse [Sun, 20 Apr 2008 19:15:08 +0000 (19:15 +0000)]
accelerate the writing of server input and response request files
to disk, trying to defeat file and disk write-behind algorithms
Dan Fandrich [Fri, 18 Apr 2008 22:31:52 +0000 (22:31 +0000)]
Added test cases 1026 and 1027 to do some rudimentary tests on the --manual
and --help options.
Yang Tse [Fri, 18 Apr 2008 17:25:54 +0000 (17:25 +0000)]
test 1001 needs a small delay between client part execution and test
result file verifications to allow the test server to completely write
out all files
Yang Tse [Fri, 18 Apr 2008 17:17:14 +0000 (17:17 +0000)]
test 1001 needs a small delay between client part execution and test
result file verifications to allow the test server to completely write
out all files
Yang Tse [Thu, 17 Apr 2008 11:59:46 +0000 (11:59 +0000)]
fix compiler warning: enumerated type mixed with another type