aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-04-29Rearranged some allocs so they will be freed correctly in the error path.Dan Fandrich
2007-04-28Peter O'Gorman fixed libcurl to not init GnuTLS as early as we did before,Daniel Stenberg
since it then inits libgcrypt and libgcrypt is being evil and EXITS the application if it fails to get a fine random seed. That's really not a nice thing to do by a library.
2007-04-28Frank Hempel fixed a curl_easy_duphandle() crash on a handle that hadDaniel Stenberg
been removed from a multi handle, and then fixed another flaw that prevented curl_easy_duphandle() to work even after the first fix - the handle was still marked as using the multi interface.
2007-04-27Move the explictit free of the range string to Curl_close() from ↵Daniel Stenberg
Curl_disconnect() since it easy-handle related and not connection-related.
2007-04-27oops, this was supposed to be properly removedDaniel Stenberg
2007-04-27As a follow-up to the removal of the free of the range data in Curl_done() - ↵Daniel Stenberg
this moves and re-arranges how range/resume is setup and freed.
2007-04-26Peter O'Gorman found a problem with SCP downloads when the downloaded fileDaniel Stenberg
was 16385 bytes (16K+1) and it turned out we didn't properly always "suck out" all data from libssh2. The effect being that libcurl would hang on the socket waiting for data when libssh2 had in fact already read it all...
2007-04-25Fixed an out of memory handling issue.Dan Fandrich
2007-04-25Sonia Subramanian brought our attention to a problem that happens if you setDaniel Stenberg
the CURLOPT_RESUME_FROM or CURLOPT_RANGE options and an existing connection in the connection cache is closed to make room for the new one when you call curl_easy_perform(). It would then wrongly free range-related data in the connection close funtion.
2007-04-25Steve Little's fixes to allow compilation on VMS 64-bit modeYang Tse
2007-04-24Robert Iakobashvili made the 'master_buffer' get allocated first once it isDaniel Stenberg
can/will be used as it then makes the common cases save 16KB of data for each easy handle that isn't used for pipelining.
2007-04-22Avoid an unnecessary call to gettimeofday() whenYang Tse
using custom timeout values.
2007-04-21Daniel Black filed bug #1704675 (http://curl.haxx.se/bug/view.cgi?id=1704675)Daniel Stenberg
identifying a double-free problem in the SSL-dealing layer, telling GnuTLS to free NULL credentials on closedown after a failure and a bad #ifdef for NSS when closing down SSL.
2007-04-21Curl_ssl_close(): mark the connection as not using SSL anymore, to betterDaniel Stenberg
survive getting called twice
2007-04-21fixed ARFLAGS for CodeWarrior build.Gunter Knauf
2007-04-20initialize pending_ms to zero to avoid compiler warning:Yang Tse
'pending_ms' may be used uninitialized in this function
2007-04-20- Save one call to curlx_tvnow(), which calls gettimeofday(), in each ofYang Tse
Curl_socket_ready(), Curl_poll() and Curl_select() when these are called with a zero timeout or a timeout value indicating a blocking call should be performed. These unnecessary calls to gettimeofday() got introduced in 7.16.2 when fixing 'timeout would restart when signal caught while awaiting socket events' on 20 March 2007. - Move some loop breaking logic from the while clause into the loop, avoiding compiler warning 'assignment within conditional expression'
2007-04-19keep lines < 80 columnsDaniel Stenberg
2007-04-19fix comment and line spacingYang Tse
2007-04-18clarify the comment about libssh2_sftp_write's return typeDaniel Stenberg
2007-04-18- James Housley made SFTP uploads use libssh2's non-blocking API (if available)Daniel Stenberg
2007-04-18- Prevent the internal progress meter from updating more frequently than onceDaniel Stenberg
per second.
2007-04-16added ranlib when library is created with ar.Gunter Knauf
2007-04-16- Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is aDaniel Stenberg
function that deprecates the curl_multi_socket() function. Using the new function the application tell libcurl what action that was found in the socket that it passes in. This gives a significant performance boost as it allows libcurl to avoid a call to poll()/select() for every call to curl_multi_socket*().
2007-04-13proper fix for compiler warningYang Tse
2007-04-13Take in account that it can be built with compiler debug info andYang Tse
without the curl memory debugging leak detection code enabled.
2007-04-13fix compiler warningYang Tse
2007-04-12Song Ma found a memory leak in the if2ip code if you pass in an interfaceDaniel Stenberg
name longer than the name field of the ifreq struct (typically 6 bytes), as then it wouldn't close the used dummy socket.
2007-04-12Work around an out of memory situation in Curl_ftp_done instead ofDan Fandrich
returning an error code, to allow connections to be torn down cleanly since this function can be called AFTER an OOM situation has already been reached.
2007-04-11convenience SIG_ATOMIC_T macro definitionYang Tse
2007-04-11Fixed some out of memory handling issues.Dan Fandrich
2007-04-10Fixed some out of memory handling issues.Dan Fandrich
2007-04-10Ravi Pratap provided fixes for HTTP pipeliningDaniel Stenberg
2007-04-10Update NTLM flag and descriptionYang Tse
2007-04-10Fixed an out of memory handling issue.Dan Fandrich
2007-04-09VC8+ (VS2005+) has C99 variadic macro supportYang Tse
2007-04-08fix out of memory handling issueYang Tse
2007-04-08Nick Zitzmann did ssh.c cleanupsDaniel Stenberg
2007-04-07fix out of memory handling issueYang Tse
2007-04-07fix out of memory handling issueYang Tse
2007-04-07fix compiler warningYang Tse
2007-04-06fix out of memory handling issueYang Tse
2007-04-06Fixed a few memory leaks in OOM conditions.Dan Fandrich
Made libssh2 logging more verbose when debugging is enabled.
2007-04-05runtests -t discovered this out of memory handling issuesYang Tse
2007-04-04Fixes some more out of memory handling bugs.Dan Fandrich
2007-04-04Fixed file handle leak in OOM condition.Dan Fandrich
2007-04-04move WinSock definitions of EBADF, EINTR, EINVAL and EAFNOSUPPORT to ↵Yang Tse
setup_once.h
2007-04-04Fixed a memory leak and improper shutdown on SFTP post-quote command failure.Dan Fandrich
2007-04-03Rob Jones fixed better #ifdef'ing for a bunch of #include lines.Daniel Stenberg
2007-04-03update copyright yearYang Tse