aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-10-26Fix Curl_open() not reporting failure when allocation of theYang Tse
buffer used to store headers in the SessionHandle failed.
2006-10-25Fixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for theDaniel Stenberg
case when 401 or 407 are returned, *IF* no auth credentials have been given. The CURLOPT_FAILONERROR option is not possible to make fool-proof for 401 and 407 cases when auth credentials is given, but we've now covered this somewhat more. You might get some amounts of headers transferred before this situation is detected, like for when a "100-continue" is received as a response to a POST/PUT and a 401 or 407 is received immediately afterwards. Added test 281 to verify this change.
2006-10-25updated copyright yearDaniel Stenberg
2006-10-24other pipelining fixes by Ravi Pratap, that now makes pipelines get used betterDaniel Stenberg
2006-10-23the check in ConnectionExists() for not re-using a non-resolved connection nowDaniel Stenberg
applies for asynch name resolves in general and not only ares
2006-10-23Ravi Pratap provided a major update with pipelining fixes. We also no longerDaniel Stenberg
re-use connections (for pipelining) before the name resolving is done.
2006-10-22Nir Soffer fixed a cp line and got rid of an rmDaniel Stenberg
2006-10-22until we learn how to use Makefile.inc from here, I've added socks.o in hereDaniel Stenberg
as well
2006-10-21Fix misplaced runtime library specification for 'release-dll' targetYang Tse
2006-10-21Fix copy-paste errorYang Tse
2006-10-21Compiler warning fixYang Tse
2006-10-21Armel Asselin separated CA cert verification problems from problems withDaniel Stenberg
reading the (local) CA cert file to let users easier pinpoint the actual problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code.
2006-10-20Compiler warning fixYang Tse
2006-10-20When a resolve is made on a pipelined connection we need to detect it properlyDaniel Stenberg
(when the resoling isn't completede yet) and not confuse it with a simple connection re-use (non-pipelined).
2006-10-19Builds using synchronous name resolver dislike marking the connection as async.Yang Tse
2006-10-18Check for USE_WINSOCK instead of WIN32 where the check was doneYang Tse
to verify winsock API availability.
2006-10-18Introduce symbol USE_WINSOCK which will be defined whenYang Tse
using winsock or winsock2 API.
2006-10-18the expire timer is a bit too annoying to see all the time ;-)Daniel Stenberg
2006-10-18When a connection is re-used, it can be flagged for re-use before the nameDaniel Stenberg
resolving is completed so we must make sure to survive it and mark the connection as async (ie not yet connected completely).
2006-10-18use the return code from lseek() to detect problems and bail out if soDaniel Stenberg
2006-10-18Added ISPRINT() required for src/main.c.Gisle Vanem
2006-10-18Tor's spell fixesDaniel Stenberg
2006-10-18cut out matching host names starting with telnet or ftps, since they hardlyDaniel Stenberg
ever actually are used
2006-10-18Move definition of IS*() macros to setup_once.hYang Tse
2006-10-17Fixed compile error in HAVE_SIGACTION case.Dan Fandrich
2006-10-17Avoid typecasting a signed char to an int when using is*() functions, as thatDaniel Stenberg
could very well cause a negate number get passed in and thus cause reading outside of the array usually used for this purpose. We avoid this by using the uppercase macro versions introduced just now that does some extra crazy typecasts to avoid byte codes > 127 to cause negative int values.
2006-10-17clear the struct size not the pointer size, pointed out in bug reportDaniel Stenberg
#1579171
2006-10-17Explicit typecast for Curl_debug() size argumentYang Tse
2006-10-17TypoYang Tse
2006-10-17make the low_speed check set the expire timer so that it has a chance to workDaniel Stenberg
even when using curl_multi_socket() or even using the multi_perform() when relying on multi_timeout() to be good.
2006-10-17Jeff helped me pinpoint that we didn't properly set the expire timer duringDaniel Stenberg
c-ares name resolves, but now we do!
2006-10-17fix the name resolve abort timeout calculation (when signals are used)Daniel Stenberg
2006-10-17Compiler warning fixYang Tse
2006-10-15Compiler warning fixYang Tse
2006-10-15Replace ";;" with ";".Gisle Vanem
2006-10-15Rearranged target HAVE_x section.Gisle Vanem
2006-10-14Declare our own timeval struct if HAVE_STRUCT_TIMEVAL is not definedYang Tse
2006-10-14Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools ↵Yang Tse
support
2006-10-13The tagging of application/x-www-form-urlencoded POST body data sentDan Fandrich
to the CURLOPT_DEBUGFUNCTION callback has been fixed (it was erroneously included as part of the header). A message was also added to the command line tool to show when data is being sent, enabled when --verbose is used.
2006-10-13print the actual (externally known) easy handle and not the internal containerDaniel Stenberg
for it
2006-10-13Added curl_multi_dump() when built with CURLDEBUG - this is not a stable publicDaniel Stenberg
function, this is only meant to allow easier tracking of the internal handle's state and what sockets they use. Only for research and development.
2006-10-13Check for struct timeval at configuration timeYang Tse
2006-10-12Starting now, adding an easy handle to a multi stack that was already addedDaniel Stenberg
to a multi stack will cause CURLM_BAD_EASY_HANDLE to get returned.
2006-10-12Jeff Pohlmeyer has been working with the hiperfifo.c example source code,Daniel Stenberg
and while doing so it became apparent that the current timeout system for the socket API really was a bit awkward since it become quite some work to be sure we have the correct timeout set. Jeff then provided the new CURLMOPT_TIMERFUNCTION that is yet another callback the app can set to get to know when the general timeout time changes and thus for an application like hiperfifo.c it makes everything a lot easier and nicer. There's a CURLMOPT_TIMERDATA option too of course in good old libcurl tradition.
2006-10-12Inclusion of time header files based on header existanceYang Tse
2006-10-11Remove redundant __CYGWIN__ symbol checkYang Tse
2006-10-10mark the handle as no longer having a broken pipe when a transfer has failedDaniel Stenberg
2006-10-09minor indent fixDaniel Stenberg
2006-10-09when going to completed due to error, mark the handle as not in a pipelineDaniel Stenberg
anymore
2006-10-09Compiler warning fixYang Tse