aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-05-12Curl_done() and the protocol-specific conn->curl_done() functions now allDaniel Stenberg
take a CURLcode as a second argument, that is non-zero when Curl_done() is called after an error was returned from Curl_do() (or similar).
2004-05-12return faster when we "hit a wall" while printfingDaniel Stenberg
2004-05-12general cleanup to bail out nice and clean when a memory function failsDaniel Stenberg
to deliver
2004-05-12even if Curl_do() fails, we must call Curl_done() to do proper cleaning upDaniel Stenberg
2004-05-12improved cleaning up in case of memory allocation failuresDaniel Stenberg
2004-05-12bail out if we can't allocate the new range string, and make use of aprintf()Daniel Stenberg
instead of using snprintf() + strdup().
2004-05-12use size_t better for buffer and alloc lengthsDaniel Stenberg
2004-05-12removed another jhrg-reference in a commentDaniel Stenberg
2004-05-12Edited comments only.Daniel Stenberg
2004-05-12The Curl_unencode_XXX_write() function take a ssize_t as third argument, soDaniel Stenberg
we typecast on invoke.
2004-05-12Left-over from before the return-code fix. This is probably the code thatDaniel Stenberg
causes xlc and gcc act differently on AIX.
2004-05-11fixed Curl_open() to not leak anything if one malloc() fails, fix byDaniel Stenberg
James Bursa only modified by me.
2004-05-11minor leak in case of error, thanks to "./runtests.pl -n -t 25"Daniel Stenberg
2004-05-11clear up memory on failure a little betterDaniel Stenberg
2004-05-11cut out the changelog, it is far from accurate anywayDaniel Stenberg
2004-05-11added curl_global_init_memDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-05-11*** empty log message ***Daniel Stenberg
2004-05-11Make this source code use our internal *printf().Daniel Stenberg
Also some minor edits.
2004-05-11new attempt at an improved DSP-file generationDaniel Stenberg
2004-05-10Moved the fetching of the list of matching cookies to make it easier to freeDaniel Stenberg
that list in case something goes wrong in the function and we must bail out. Courtesy of the torture testing.
2004-05-10curl_slist_append() fixed to clear up properly if a memory function failsDaniel Stenberg
2004-05-10if a malloc fails, clear up the memory and return failureDaniel Stenberg
2004-05-10typoDaniel Stenberg
2004-05-10the aprintf() versions now return NULL if _any_ alloc along the way failed,Daniel Stenberg
previously they could return a piece of the string, making it impossible for the caller to detect errors.
2004-05-10better detection for when add_buffer() returns failure, and return when thatDaniel Stenberg
happens
2004-05-10Curl_hash_add() was modified to clear up better in case of internal failure.Daniel Stenberg
When failing, it should not tamper at all with the data it was supposed to add to the cache.
2004-05-10make Curl_llist_insert_next() fail properly if malloc() failsDaniel Stenberg
2004-05-10better checking that strdup() worksDaniel Stenberg
2004-05-10Luca fixed the nc= in the digest line since it apparantly should not haveDaniel Stenberg
quotes...
2004-05-10James Bursa added better error checking for failer memory calls whenDaniel Stenberg
building formposts
2004-05-10build curllib.dsp from theseDaniel Stenberg
2004-05-07James Bursa changed two error message to use the display-name instead of theDaniel Stenberg
internally-used name.
2004-05-07We don't support any long protocol names so we can use a smaller buffer.Daniel Stenberg
Also, make sure we have room for the trailing zero, only scan to size-1. Gisle Vanem reported.
2004-05-07count the formdata size using a 64bit size if avaialbleDaniel Stenberg
2004-05-07don't use a magic define nameDaniel Stenberg
2004-05-07This file is now generated at dist-time.Daniel Stenberg
2004-05-07Generate curllib.dsp on dist.time from msvcproj.head msvcproj.foot and theDaniel Stenberg
known source files. Not actually verified to work yet.
2004-05-07get the display host name properlyDaniel Stenberg
2004-05-06removed two odd commentsDaniel Stenberg
2004-05-06Michael Benedict brought a fix that fills in the errorbuffer properlyDaniel Stenberg
when ares fails to resolve a name. This was fixed before but somehow has fallen out again!
2004-05-06if no strerror_r prototype is found, we provide our own to prevent pickyDaniel Stenberg
compilers to warn
2004-05-06removed the unused 'len' variable, made use of the ptr pointer even if noDaniel Stenberg
extra lib is used to prevent compiler warnings ("variable set but not used") on that case
2004-05-06typecast the unsigned long to plain long to prevent compiler warningsDaniel Stenberg
2004-05-06unused variable removedDaniel Stenberg
2004-05-06use %ld to printf now.tv_secDaniel Stenberg
2004-05-06curlx.h is a header to add to the release archive(s)Daniel Stenberg
2004-05-05hm, avoid division by zero more carefully with that new percentage mathDaniel Stenberg
2004-05-05Joe Halpin fixed the warning on the typecast from data pointer to functionDaniel Stenberg
pointer!
2004-05-05Gisle fixed the percentage to work, I adjusted it slightly to not as easilyDaniel Stenberg
overflow on 32bit filesize-systems