aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-19- When trying to repeat a multi interface problem I fell over a few multiDaniel Stenberg
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.
2008-05-19with pipelining disabled, the state should never be set to WAITDO but ratherDaniel Stenberg
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)
2008-05-19when the multi handle was in DO and DOING states, the HTTP and HTTPS protocolDaniel Stenberg
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
2008-05-19change the code style to be more curlish, and changed some of the outputDaniel Stenberg
to be more descriptive and finally set VERBOSE mode to 1 by default
2008-05-19better select() function detection that worksYang Tse
even when cross compiling a Windows target.
2008-05-19fix socklen_t equivalent detection when cross compiling Windows targetYang Tse
2008-05-19if WINSOCK2 API is used link with 'ws2_32', elseYang Tse
if WINSOCK API is used under WinCE link with 'winsock', else if WINSOCK API is used link with 'wsock32'.
2008-05-18on winsock systems linking is done using library 'ws2_32' whenYang Tse
winsock2.h is available, and library 'winsock' is used when only winsock.h is available.
2008-05-17minor change for wince-cegcc and wince-mingw32ce supportYang Tse
2008-05-16removed lots of warningsDaniel Stenberg
2008-05-15millisecond resolution support followupYang Tse
2008-05-15Included stdint.h to get the intptr_t type (needed on OpenBSD at least).Dan Fandrich
2008-05-15ten days with no further response or feedback, removing:Daniel Stenberg
136 - adding easy handles when using curl_multi_socket* by Markus Koetter
2008-05-15Replaced "-DHAVE_FIONBIO" with "-DHAVE_IOCTLSOCKET".Gisle Vanem
Added "-DHAVE_GETTIMEOFDAY". Trimmed lines.
2008-05-15sync with realityYang Tse
2008-05-15remove compilation time generated filesYang Tse
2008-05-15use same time source for timeout initialization and processingYang Tse
2008-05-14Reduced the required stack size.Dan Fandrich
2008-05-14Move the CURLDEBUG check after setup.h so it can be set there if necessary.Dan Fandrich
2008-05-14Improve toolchain detection for WinCE cross compilation:Yang Tse
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-14remove duplicate checkYang Tse
2008-05-14skip checks for Windows specific header filesYang Tse
when build target is not a native Windows one
2008-05-14WinCE cross compilation adjustments:Yang Tse
HAVE_WINSOCK2_H shall not be defined. HAVE_WS2TCPIP_H shall not be defined.
2008-05-13wait for all 129 bytesDaniel Stenberg
2008-05-13Added test case 556 that uses curl_easy_send() and curl_easy_recv()Daniel Stenberg
2008-05-13Three out of the four issues are now extinct.Daniel Stenberg
2008-05-13- Introducing millisecond resolution support for the timeout option. SeeDaniel Stenberg
ares_init_options()'s ARES_OPT_TIMEOUTMS.
2008-05-13also ignore thisYang Tse
2008-05-13Added curl_easy_recv & curl_easy_send Symbian exports.Dan Fandrich
Cleaned up Symbian files.
2008-05-13also ignore thisYang Tse
2008-05-13ignore this compilation time generated filesYang Tse
2008-05-13don't keep in CVS this compilation time generated fileYang Tse
2008-05-13add MSVC6 project for acountry sample programYang Tse
2008-05-13update MSVC6 projects to use the multithreaded DLL runtime libraryYang Tse
2008-05-13add MSVC6 project for acountry sample programYang Tse
2008-05-12- Introducing curl_easy_send() and curl_easy_recv(). They can be used to sendDaniel Stenberg
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-12skip libtool C++ preprocessor compiler and linker checksYang Tse
2008-05-12ignore libcares.pcYang Tse
2008-05-12configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol onlyYang Tse
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-10fix syntax error: missing semicolonYang Tse
2008-05-10Add library checking for clock_gettime() supportYang Tse
2008-05-09Internal time differences now use monotonic time source if available.Yang Tse
This also implies the removal of the winmm.lib dependency for WIN32.
2008-05-09Use monotonic time source if available.Yang Tse
2008-05-09Removed AC_PROG_CC_STDC again. It enforces C99/gnu99 stdandard which is tooDaniel Stenberg
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- Stefan Krause reported a busy-looping case when using the multi interfaceDaniel Stenberg
and doing CONNECT to a proxy. The app would then busy-loop until the proxy completed its response.
2008-05-09Removed an unused variable and one do-while loop that wasn't used either.Daniel Stenberg
Added a few comments while at it.
2008-05-09- Make Curl_write and it's callees accept a const pointer, in preparationMichal Marek
of tetetest's patch for curl_easy_send()
2008-05-08include strings.h (if available) for the strcasecmp() protoDaniel Stenberg
2008-05-08check for strings.h in configure and use it for the strcasecmp() protoDaniel Stenberg
2008-05-08fix compiler warning: format '%ld' expects type 'long int'Yang Tse