aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-05-09Kristian Gunstone fixed a problem where overwriting an uploaded file withDan Fandrich
sftp didn't truncate it first, which would corrupt the file if the new file was shorter than the old.
2007-05-08CURLE_FTP_COULDNT_STOR_FILE is now known as CURLE_UPLOAD_FAILED. This isDaniel Stenberg
because I just made SCP uploads return this value if the file size of the upload file isn't given with CURLOPT_INFILESIZE*. Docs updated to reflect this news, and a define for the old name was added to the public header file.
2007-05-07James Bursa fixed a bug in the multi handle code that made the connectionDaniel Stenberg
cache grow a bit too much, beyond the normal 4 * easy_handles.
2007-05-02Anders Gustafsson remarked that requiring CURLOPT_HTTP_VERSION set to 1.0Daniel Stenberg
when CURLOPT_HTTP200ALIASES is used to avoid the problem mentioned below is not very nice if the client wants to be able to use _either_ a HTTP 1.1 server or one within the aliases list... so starting now, libcurl will simply consider 200-alias matches the to be HTTP 1.0 compliant.
2007-05-02Fixed an out of memory handling issue with HTTP pipelines.Dan Fandrich
2007-05-02Tobias Rundstrom reported a problem they experienced with xmms2 and recentDaniel Stenberg
libcurls, which turned out to be the 25-nov-2006 change which treats HTTP responses without Content-Length or chunked encoding as without bodies. We now added the conditional that the above mentioned response is only without body if the response is HTTP 1.1.
2007-05-02- Set the timeout for easy handles to expire really soon after addition orDaniel Stenberg
when CURLM_CALL_MULTI_PERFORM is returned from curl_multi_socket*/perform, to make applications using only curl_multi_socket() to properly function when adding easy handles "on the fly". Bug report and test app provided by Michael Wallner.
2007-05-02spell and language fixDaniel Stenberg
2007-05-01Use memcpy instead of strcpy to improve performance.Dan Fandrich
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