aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-06-11Squelsh some warnings for libssh older than 0.1.5.Gisle Vanem
2007-06-08Curl_scp_done() needs to call libssh2_channel_free() to prevent aJames Housley
memory leak, and it is the right thing to do.
2007-06-08Fix to work with the latest CVS version of libssh2James Housley
* As of (LIBSSH2_APINO >= 200706012030) there are not *nb() functions * As of (LIBSSH2_APINO >= 200706012030) most libssh2_*() functions can return LIBSSH2_ERROR_EAGAIN to indicate that the call would block. To make the code work as previously, blocking, all the code has been updated so that when (LIBSSH2_APINO >= 200706012030) it loops simulating blocking. This allows the existing code to function and not hold up the upcoming release.
2007-06-07Fixed a compiler warning on uClibc.Dan Fandrich
2007-06-05if we read zero bytes from the proxy, the connection is broken and we needDaniel Stenberg
to bail out
2007-06-05mark connect failures as non-connected when ConnectPlease() fails, like whenDaniel Stenberg
a connection through a socks proxy doesn't work
2007-06-01ouch, two conditionals were turned backwards!Daniel Stenberg
2007-06-01do the update timer stuff even when CURLM_CALL_MULTI_PERFORM is returnedDaniel Stenberg
2007-05-31When transferring 500 downloads in parallel with a c-ares enabled build onlyDaniel Stenberg
to find that it crashed miserably, and this was due to some select()isms left in the code. This was due to API restrictions in c-ares 1.3.x, but with the upcoming c-ares 1.4.0 this is no longer the case so now libcurl runs much better with c-ares and the multi interface with > 1024 file descriptors in use.
2007-05-31Feng Tu made (lib)curl support "upload" resuming work for file:// URLs.Daniel Stenberg
2007-05-30Added CURLMOPT_MAXCONNECTS which is a curl_multi_setopt() option for settingDaniel Stenberg
the maximum size of the connection cache maximum size of the multi handle.
2007-05-30remove really annoying debug output that makes life miserable when you doDaniel Stenberg
hundreds of parallel transfers...
2007-05-26Primarily this fixes an off-by-one buffer overwrite (rare but still existing).Daniel Stenberg
I also switched from calloc() to malloc() as a minor performance boost since the rest of the code fills in the structs fine anyway - and they must for the case when we use the stack-based auto variable array instead of the allocated one. I made the loop filling in poll_fds[] break when poll_nfds is reached as a minor speed improvement.
2007-05-25Rob Crittenden fixed bug #1705802Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1705802), which was filed by Daniel Black identifying several FTP-SSL test cases fail when we build libcurl with NSS for TLS/SSL. Listed as #42 in KNOWN_BUGS.
2007-05-24Song Ma filed bug report #1724016Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1724016) noticing that downloading glob-ranges for TFTP was broken in CVS.
2007-05-24stay within 80 colsDaniel Stenberg
2007-05-22Andre Guibert de Bruet fixed a memory leak when PKCS #12 parsing failedDaniel Stenberg
2007-05-22Andre Guibert de Bruet fixed a memory leak in the function that verifies theDaniel Stenberg
peer's name in the SSL certificate when built for OpenSSL. The leak happens for libcurls with CURL_DOES_CONVERSIONS enabled that fail to convert the CN name from UTF8.
2007-05-20WaitForSingleObject() uses a millisecond timeout and CURL_TIMEOUT_RESOLVE isDaniel Stenberg
counted in seconds...
2007-05-18better fix for the dl/ul countersDaniel Stenberg
2007-05-18Feng Tu reported that curl -w did wrong on TFTP transfers inDaniel Stenberg
bug report #1715394 (http://curl.haxx.se/bug/view.cgi?id=1715394), and the transfer-related info "variables" were indeed overwritten with zeroes wrongly and have now been adjusted. The upload size still isn't accurate.
2007-05-18bail out with error codes on failuresDaniel Stenberg
2007-05-17Feng Tu pointed out a division by zero error in the TFTP connect timeoutDaniel Stenberg
code for timeouts less than fice seconds, and also provided a fix for it.
2007-05-17Added support for compiling under Minix 3.1.3 using ACK.Dan Fandrich
2007-05-15Added call to setvbuf (disabled by default for speed) to flush theDan Fandrich
memdebug log file after every line and avoid losing the last few log entries if curl crashes.
2007-05-15Added support for quote commands before a transfer using SFTP and testDan Fandrich
case 614. Allow SFTP quote commands chmod, chown, chgrp to set a value of 0.
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