aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2001-11-08Marcus Webster reported and fixed this read-one-byte-too-many problem...Daniel Stenberg
2001-11-07we use signal() to ignore signals only as long as we have to, and we nowDaniel Stenberg
restore the previous (if any) signal handler properly on return.
2001-11-07get the previous struct keep_sigactDaniel Stenberg
2001-11-07adjusted after Ramana Mokkapati's commentsDaniel Stenberg
2001-11-06myalarm() is history, we now use HAVE_ALARM and we now do our very best toDaniel Stenberg
1 - restore the previous sigaction struct as soon as we are about to shut off our timeout 2 - restore the previous alarm() timeout, in case an application or similar had it running before we "borrowed" it for a while. No, this does not fix the multi-thread problem you get with alarm(). This patch should correct bug report #478780: //sourceforge.net/tracker/?func=detail&atid=100976&aid=478780&group_id=976 If not, please post details!
2001-11-05we can now tell ssl to use TLSv1 protocol, and we now use defines insteadDaniel Stenberg
of real integers for versions, the defines are added to curl.h
2001-11-05Ramana Mokkapati did some good bug hunting, and we these fixes ldap transfersDaniel Stenberg
should work a lot better!
2001-11-05corrected the Curl_tvnow prototype (-Wstrict-prototypes found it)Daniel Stenberg
2001-11-05Curl_ftpsendf() had wrong return typeDaniel Stenberg
2001-11-05John Lask's new makefileDaniel Stenberg
2001-11-02failf() now only overwrites the error buffer the first time it gets calledDaniel Stenberg
for each *_perform(). It makes things a lot easier, as the first one that detects the error get to write the final error reason...
2001-11-02Replaced read() and write() with recv() and send() for socket operationsDaniel Stenberg
even under normal unixes.
2001-11-02Added connect.c. I really need someone to better maintain this makefile...Daniel Stenberg
2001-11-02Jörn added connect.cDaniel Stenberg
2001-11-01ConnectionExists() now returns FALSE immediately if it finds a connectionDaniel Stenberg
that is dead, because it can only find one entry anyway and if that is dead there won't be any other entry that matches
2001-11-01added comments and function headersDaniel Stenberg
2001-11-01Update the byte counters in the loop so that aborted transfers have theDaniel Stenberg
information as well. Improves debug outputs etc.
2001-11-01Use Curl_tvdiff to compare timesDaniel Stenberg
2001-10-31fixed FTPSENDF for ipv6 compilesDaniel Stenberg
2001-10-31Removed the SocketIsDead() stuff for SSL again as it doesn't work. We mustDaniel Stenberg
rely on the new go-ahead-and-try mechanism that I just added to Transfer()
2001-10-31If Curl_do() fails with CURLE_WRITE_ERROR on a re-used connection, thisDaniel Stenberg
new logic can retry the same operation on a new connection!
2001-10-31Curl_sendf now returns a CURLcodeDaniel Stenberg
2001-10-31return type cleanupDaniel Stenberg
2001-10-31check Curl_ftpsendf return codesDaniel Stenberg
2001-10-31Added better checking of return codes when we send data to sockets/connectionsDaniel Stenberg
2001-10-31major commit, now we check the return code on every invoke of Curl_ftpsendfDaniel Stenberg
- which now is made using a macro named FTPSENDF. I turned it all caps just to make it more visible that it is in fact a macro.
2001-10-31check return code when issuing the requestDaniel Stenberg
2001-10-31added typecasts to make the timers calculate with doubles, not longs as theyDaniel Stenberg
accidentally did after the Curl_tvdiff() interface change
2001-10-31nonblock => Curl_nonblock, remade the check for a live SSL connection (again)Daniel Stenberg
2001-10-30Added an additional SSL check for a dead socket before we re-use an SSLDaniel Stenberg
connection. The simple socket-check is not enough in these cases.
2001-10-30prevent strdup()ing NULL -- Paul Harrington's reportDaniel Stenberg
2001-10-29added curl_formaddDaniel Stenberg
2001-10-29minor fix to support multiple files in one formadd() callDaniel Stenberg
2001-10-29fixed conn->name error on connection re-use and enlarged the 'gname' arrayDaniel Stenberg
to hold 512 bytes (for user+password+hostname)
2001-10-29SM's waitconnect return code fix!Daniel Stenberg
2001-10-26made 'timespent' a double, which makes more accurate calculations for quickDaniel Stenberg
downloads
2001-10-25bug report #474568 -Daniel Stenberg
We need to set "no further data to download" before the Curl_ldap() function returns, as otherwise it'll hang on that assumed transfer.
2001-10-24T. Bharath found this memory leak. It occurs when we replace an internallyDaniel Stenberg
already existing cookie with a new one.
2001-10-23pack_hostent() now aligns the data properly on 64bit boundaries to work onDaniel Stenberg
more CPU architectures
2001-10-22make sure the connect can't return OK but return a NULL as addrDaniel Stenberg
2001-10-22failed transfers will now close the connectionDaniel Stenberg
2001-10-19now counts header size return from server and if nothing is returned from aDaniel Stenberg
HTTP server we return error
2001-10-19curl_easy_duphandle() now properly clones the cookie optionDaniel Stenberg
- patch by T. Bharath
2001-10-19CURLOPT_FAILONERROR now only returns error if the HTTP code is 400 or aboveDaniel Stenberg
unconditionalliy. Previously, the code check was for >= 300 unless follow- location was enabled...
2001-10-17the malloc debug system only logs data if the logfile FILE * is set, whichDaniel Stenberg
makes it easier to disable debug output when built with debug functions
2001-10-17call Curl_done() in Curl_perform() after Transfer() was called, even it itDaniel Stenberg
returned an error as there might be stuff in there we must free/cleanup. This fixes the memory leak Yanick Pelletier posted about 16 Oct 2001
2001-10-16Kevin Roth's cygwin adjustmentDaniel Stenberg
2001-10-12Curl_tvdiff() now returns a millisecond diff, no double like beforeDaniel Stenberg
2001-10-12progress meter fixesDaniel Stenberg
2001-10-12extensively commented source code, parts refreshened, the "current speed" isDaniel Stenberg
now more accurate since it is based on actual spent time without the assumptions from before