Yang Tse
882fbb0433
sync with reality
2008-05-15 10:04:15 +00:00
Yang Tse
15eee5dbbb
remove compilation time generated files
2008-05-15 09:18:05 +00:00
Yang Tse
cfc1d037ff
use same time source for timeout initialization and processing
2008-05-15 00:00:19 +00:00
Dan Fandrich
c24ed07596
Reduced the required stack size.
2008-05-14 23:38:21 +00:00
Dan Fandrich
08aab6a620
Move the CURLDEBUG check after setup.h so it can be set there if necessary.
2008-05-14 23:36:26 +00:00
Yang Tse
2748c64d60
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.
2008-05-14 19:42:17 +00:00
Yang Tse
c4f1ab3cc5
remove duplicate check
2008-05-14 16:17:23 +00:00
Yang Tse
5e06ec8409
skip checks for Windows specific header files
...
when build target is not a native Windows one
2008-05-14 16:14:35 +00:00
Yang Tse
04d0a84ae5
WinCE cross compilation adjustments:
...
HAVE_WINSOCK2_H shall not be defined.
HAVE_WS2TCPIP_H shall not be defined.
2008-05-14 13:54:36 +00:00
Daniel Stenberg
c1dfe2c529
wait for all 129 bytes
2008-05-13 21:43:37 +00:00
Daniel Stenberg
7f88e8badb
Added test case 556 that uses curl_easy_send() and curl_easy_recv()
2008-05-13 21:42:07 +00:00
Daniel Stenberg
2f66ff2e4f
Three out of the four issues are now extinct.
2008-05-13 21:12:07 +00:00
Daniel Stenberg
76c251513e
- Introducing millisecond resolution support for the timeout option. See
...
ares_init_options()'s ARES_OPT_TIMEOUTMS.
2008-05-13 20:48:48 +00:00
Yang Tse
80afddacc8
also ignore this
2008-05-13 18:27:18 +00:00
Dan Fandrich
7543c9df50
Added curl_easy_recv & curl_easy_send Symbian exports.
...
Cleaned up Symbian files.
2008-05-13 17:50:03 +00:00
Yang Tse
83fb13329d
also ignore this
2008-05-13 17:23:01 +00:00
Yang Tse
e06c923605
ignore this compilation time generated files
2008-05-13 17:11:16 +00:00
Yang Tse
ab1169895f
don't keep in CVS this compilation time generated file
2008-05-13 17:03:28 +00:00
Yang Tse
01e81c7e10
add MSVC6 project for acountry sample program
2008-05-13 15:37:49 +00:00
Yang Tse
7bf1142ae0
update MSVC6 projects to use the multithreaded DLL runtime library
2008-05-13 15:34:22 +00:00
Yang Tse
af9f7a952b
add MSVC6 project for acountry sample program
2008-05-13 15:31:19 +00:00
Daniel Stenberg
514592b892
- 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.
2008-05-12 21:43:24 +00:00
Yang Tse
d72efff878
skip libtool C++ preprocessor compiler and linker checks
2008-05-12 15:02:51 +00:00
Yang Tse
e4c60e2030
ignore libcares.pc
2008-05-12 12:22:23 +00:00
Yang Tse
ed80eb5b0f
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.
2008-05-12 02:04:21 +00:00
Yang Tse
60dd765b3d
fix syntax error: missing semicolon
2008-05-10 23:50:55 +00:00
Yang Tse
b380dd030f
Add library checking for clock_gettime() support
2008-05-10 15:46:08 +00:00
Yang Tse
19479ea021
Internal time differences now use monotonic time source if available.
...
This also implies the removal of the winmm.lib dependency for WIN32.
2008-05-09 16:31:51 +00:00
Yang Tse
d708ef6731
Use monotonic time source if available.
2008-05-09 16:30:24 +00:00
Daniel Stenberg
d1238baecb
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
2008-05-09 13:10:34 +00:00
Daniel Stenberg
0510759bc4
- 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.
2008-05-09 12:59:24 +00:00
Daniel Stenberg
6d5cca5ed0
Removed an unused variable and one do-while loop that wasn't used either.
...
Added a few comments while at it.
2008-05-09 12:53:42 +00:00
Michal Marek
e2b82b4325
- Make Curl_write and it's callees accept a const pointer, in preparation
...
of tetetest's patch for curl_easy_send()
2008-05-09 11:27:54 +00:00
Daniel Stenberg
cf4570a06f
include strings.h (if available) for the strcasecmp() proto
2008-05-08 22:14:17 +00:00
Daniel Stenberg
6df5dddd90
check for strings.h in configure and use it for the strcasecmp() proto
2008-05-08 22:11:38 +00:00
Yang Tse
d4e9b141db
fix compiler warning: format '%ld' expects type 'long int'
2008-05-08 05:45:01 +00:00
Daniel Stenberg
ec0665a931
adjusted to work with the updated configure.ac
2008-05-07 21:27:35 +00:00
Daniel Stenberg
836fa69e2e
- 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.
2008-05-07 21:20:45 +00:00
Daniel Stenberg
9026dc2da4
- 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).
2008-05-07 21:16:06 +00:00
Daniel Stenberg
98c9af4c59
-135 - Busy looping bug in multi_socket interface by
...
- Christopher Palow
2008-05-07 21:11:27 +00:00
Daniel Stenberg
e481d679b2
- 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.
2008-05-07 21:02:21 +00:00
Yang Tse
eb68aa38e3
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
2008-05-07 15:41:41 +00:00
Yang Tse
082237e2b5
fix compiler warning: enumerated type mixed with another type
2008-05-06 04:37:06 +00:00
Daniel Stenberg
dd08a7a4f6
mention four outstanding issues we should deal with before release
2008-05-05 22:27:28 +00:00
Yang Tse
a60c9ef88e
Improved parsing of resolver configuration files
2008-05-05 17:48:25 +00:00
Daniel Stenberg
4e3d235e04
- Yuriy Sosov pointed out a configure fix for detecting c-ares when that is
...
built debug-enabled.
2008-05-03 22:04:39 +00:00
Daniel Stenberg
19da3606f9
minor spell and language fix of a comment
2008-05-03 21:49:16 +00:00
Daniel Stenberg
fc9e0d2249
- 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.
2008-05-03 21:45:12 +00:00
Daniel Stenberg
21a0f09081
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.
2008-05-03 21:44:50 +00:00
Daniel Stenberg
b84b71f524
- 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
2008-05-03 13:43:35 +00:00