aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-14OpenSSL: multi interface handshake could hangDaniel Stenberg
John-Mark Bell filed bug #3000052 that identified a problem (with an associated patch) with the OpenSSL handshake state machine when the multi interface is used: Performing an https request using a curl multi handle and using select or epoll to wait for events results in a hang. It appears that the cause is the fix for bug #2958179, which makes ossl_connect_common unconditionally return from the step 2 loop when fetching from a multi handle. When ossl_connect_step2 has completed, it updates connssl->connecting_state to ssl_connect_3. ossl_connect_common will then return to the caller, as a multi handle is in use. Eventually, the client code will call curl_multi_fdset to obtain an updated fdset to select or epoll on. For https requests, curl_multi_fdset will cause https_getsock to be called. https_getsock will only return a socket handle if the connecting_state is ssl_connect_2_reading or ssl_connect_2_writing. Therefore, the client will never obtain a valid fdset, and thus not drive the multi handle, resulting in a hang. (http://curl.haxx.se/bug/view.cgi?id=3000052)
2010-05-14changelog: add link to bug reportDaniel Stenberg
2010-05-14Added directories.pm to the source tar ballDan Fandrich
2010-05-14follow redirect: ignore response-body on redirect even if compressedDaniel Stenberg
Sebastian V reported bug #3000056 identifying a problem with redirect following. It showed that when curl followed redirects it didn't properly ignore the response body of the 30X response if that response was using compressed Content-Encoding! (http://curl.haxx.se/bug/view.cgi?id=3000056)
2010-05-14version: we're now going for 7.21.0Daniel Stenberg
2010-05-13Remove support for BSD version of PolarSSLHoi-Ho Chan
"The BSD version of PolarSSL was made for migratory purposes only and is not maintained. The GPL version of PolarSSL is actually the only actively developed version, so I would be very reluctant to use the BSD version." / Paul Bakker, PolarSSL hacker. Signed-off-by: Hoi-Ho Chan <hoiho.chan@gmail.com>
2010-05-12Added Polar SSL and RTMP files to the non-autoconf build filesDan Fandrich
I didn't bother with a few that have little hope of running the required dependent libraries.
2010-05-12Added the new ftp source files to the non-autoconf build filesDan Fandrich
2010-05-12Copy the license file so it's seen by the Android build systemDan Fandrich
2010-05-13updated with symbols added in recent commits for 7.21.0Daniel Stenberg
2010-05-13changelogs: mention RTMP and the FTP wildcard supportDaniel Stenberg
2010-05-12ftp wildcards: mention they're added in 7.21.0Daniel Stenberg
2010-05-12style: minor whitespace changeDaniel Stenberg
2010-05-12syntax: cleanupsDaniel Stenberg
2010-05-12FTP: WILDCARDMATCH/CHUNKING/FNMATCH addedPavel Raiskup
2010-05-12RTMP: initial support added, powered by librtmpHoward Chu
librtmp is found at http://rtmpdump.mplayerhq.hu/
2010-05-11sendrecv: make them two pairs of send/recv to properly deal with FTPSHoward Chu
FTP(S) use two connections that can be set to different recv and send functions independently, so by introducing recv+send pairs in the same manner we already have sockets/connections we can work with FTPS fine. This commit fixes the FTPS regression introduced in change d64bd82.
2010-05-11changelog: fixed CRL support in libcurl-NSSKamil Dudka
2010-05-11nss: make it possible to read ASCII and DER CRLKamil Dudka
2010-05-11nss: add CRL to cache instead of read-only NSS dbKamil Dudka
2010-05-10git: how to write a fine commit messageDaniel Stenberg
2010-05-09findtool: file name as a full path requires a slashDaniel Stenberg
Kalle Vahlman's patch applied a while ago broke how the findtool function searches for tools, as it would always check if "$file" was present first, which thus made the bad assumption that a file in the current directory would be a match. I noticed when it found 'libtool' in the current directory but libtoolize is not there, which confused the script.
2010-05-08moved vars into conditional since seems that winsock implementation doesnt ↵Hacki
use them.
2010-05-07multi interface: missed storing connection timeDaniel Stenberg
Dirk Manske reported a regression. When connecting with the multi interface, there were situations where libcurl wouldn't store connect time correctly as it used to (and is documented to) do. Using his fine sample program we could repeat it, and I wrote up test case 573 using that code. The problem does not easily show itself using the local test suite though. The fix, also as suggested by Dirk, is a bit on the ugly side as it adds yet another call to Curl_verboseconnect() and setting the TIMER_CONNECT time. That situation is subject for some closer inspection in the future.
2010-05-07verboseconnect: so the verbose checking within the functionDaniel Stenberg
As the function is used more than once and libcurl can be built without it, do the conditional check within the verboseconnect() function itself.
2010-05-07changelogs: split the I/O handlingDaniel Stenberg
2010-05-07sendrecv: split the I/O handling into private handlerHoward Chu
Howard Chu brought the bulk work of this patch that properly moves out the sending and recving of data to the parts of the code that are properly responsible for the various ways of doing so. Daniel Stenberg assisted with polishing a few bits and fixed some minor flaws in the original patch. Another upside of this patch is that we now abuse CURLcodes less with the "magic" -1 return codes and instead use CURLE_AGAIN more consistently.
2010-05-05changelog: PolarSSLDaniel Stenberg
2010-05-05PolarSSL: initial support addedHoi-Ho Chan
This is Hoi-Ho Chan's patch with some minor fixes by me. There are some potential issues in this, but none worse than we can sort out on the list and over time.
2010-04-29TODO: we've done PRET already, consider HOST for the futureDaniel Stenberg
... and GnuTLS connects are non-blocking, TFTP is better integrated as a "real" protocol and RTSP is supported.
2010-04-29TODO: GnuTLS connects are now non-blockingDaniel Stenberg
Since commit c288860 by Jerome Vouillon
2010-04-29INTERNALS: tftp is decent now, ldap is notDaniel Stenberg
It's not quite fair to list TFTP is a "crappy" member of the libcurl family so I removed its mentioning.
2010-04-29changelog: mention Ben Greear's telnet workDaniel Stenberg
2010-04-29telnet: Allow programatic use of telnet.Ben Greear
The main change is to allow input from user-specified methods, when they are specified with CURLOPT_READFUNCTION. All calls to fflush(stdout) in telnet.c were removed, which makes using 'curl telnet://foo.com' painful since prompts and other data are not always returned to the user promptly. Use 'curl --no-buffer telnet://foo.com' instead. In general, the user should have their CURLOPT_WRITEFUNCTION do a fflush for interactive use. Also fix assumption that reading from stdin never returns < 0. Old code could crash in that case. Call progress functions in telnet main loop. Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-04-28test: enable valgrind for 604, seems to workDaniel Stenberg
2010-04-28add 1s post-command delay to tests 513 and 514Paul Howarth
addressing http://curl.haxx.se/mail/lib-2009-12/0031.html
2010-04-26Allow tools to be defined with full path in buildconfKalle Vahlman
This is required in Scratchbox where LIBTOOL=/targets/links/arch_tools/bin/libtool is set in the environment.
2010-04-26progress callback: can be called more than once per secDaniel Stenberg
2010-04-26SSH: init and cleanup libssh2 in global_init/cleanupDaniel Stenberg
The necessary libssh2 functions require libssh2 1.2.5 or later.
2010-04-25new configure option --enable-threaded-resolverDaniel Stenberg
2010-04-25configure: check for libssh2_init and libssh2_exitDaniel Stenberg
2010-04-24nss: fix SSL handshake timeout underflowKamil Dudka
2010-04-24encourage users to take latest lib dependencies.Guenter Knauf
2010-04-24socks5: please static code analyzerDaniel Stenberg
Make sure we don't call memcpy() if the argument is NULL even though we also passed a zero length then, as the clang analyzer whined and we want to limit warnings (even false positives) when they're this easy to fix. The change of (char) to (unsigned char) will fix long user names and passwords on systems that have the char type signed by default.
2010-04-24gzip: Value stored to 'data' is never readDaniel Stenberg
2010-04-24RELEASE-NOTES: update top numbersDaniel Stenberg
2010-04-24changelog: added the --proto and -proto-redir optionsDaniel Stenberg
2010-04-24curl: added --proto and --proto-redirAlex Bligh
--proto tells curl to use the listed protocols for its initial retrieval --proto-redir tells curl to use the listed protocols after a redirect
2010-04-24test536: do not fail with threaded DNS resolverKamil Dudka
Also tweaked comments in certain examples using curl_multi_fdset().
2010-04-21curl: -O crash on windowsDaniel Stenberg
The -O option caused curl to crash on windows and DOS due to the tool writing out of boundary memory.