aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-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-26SSH: init and cleanup libssh2 in global_init/cleanupDaniel Stenberg
The necessary libssh2 functions require libssh2 1.2.5 or later.
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-20hmac.c related compilation adjustmentYang Tse
2010-04-20hmac.c related compilation adjustmentYang Tse
2010-04-20Add compilation directives for hmac in Watcom,riscos and vc6 ↵monnerat
platform-specific makefiles.
2010-04-20replaced wsock32.lib usage with ws2_32.lib in MSVC makefilesRuslan Gazizov
2010-04-19Merge branch 'master' of github.com:bagder/curlmonnerat
2010-04-19Remove null-effect leftover code.monnerat
2010-04-19Curl_HMAC_MD5: fix the array init to not warn with picky compilersDaniel Stenberg
2010-04-19Fix GnuTLS compilation problem in md5.cmonnerat
2010-04-19Fix compilation problem: declare Curl_HMAC_MD5 as extern in include file.monnerat
2010-04-19Merge branch 'master' of github.com:bagder/curlmonnerat
2010-04-19Implement SMTP authenticationmonnerat
2010-04-17parsedate: Value stored to 'found' is never readDaniel Stenberg
2010-04-17check_gzip_header: Value stored to 'data' is never readDaniel Stenberg
2010-04-16dprintf_formatf: Value stored to 'left' is never readDaniel Stenberg
2010-04-16curl_version: remove superfluous assignmentsDaniel Stenberg
2010-04-16FTP PORT: Value stored to 'rc' is never readDaniel Stenberg
2010-04-16Curl_setup_transfer: no longer returns anythingDaniel Stenberg
This function could only return CURLE_OK and by changing it to a void instead, we can simplify code all over.
2010-04-16PASV response: Value stored to 'rc' is never readDaniel Stenberg
2010-04-16Curl_perform: Value stored to 'res2' is never readDaniel Stenberg
2010-04-16sftp range: remove unnecessary check for NULL pointerDaniel Stenberg
2010-04-16ftp_range: remove unnecessary check for NULL pointerDaniel Stenberg
2010-04-16file_range: remove unnecessary check for NULL pointerDaniel Stenberg
2010-04-16SOCKS4: Value stored to 'rc' is never readDaniel Stenberg
2010-04-16FTP PASV: Value stored to 'rc' is never readDaniel Stenberg
2010-04-16ftp_range: Value stored to 'totalsize' is never readDaniel Stenberg
Simplified the code by removing a local variable completely.
2010-04-16SOCKS5: when name resolves fail return immediatelyDaniel Stenberg
This makes the code flow more obvious and reacts on the return code properly, even if the code acted the same way before.
2010-04-16POP3: when USER command fails, don't even try PASSDaniel Stenberg
2010-04-16tftp_rx: Value stored to 'sbytes' is never readDaniel Stenberg
2010-04-16file_range: Value stored to 'totalsize' is never readDaniel Stenberg
2010-04-16GnuTLS: make the connection phase non-blockingJerome Vouillon
When multi interface is used, the SSL handshake is no longer blocking when GnuTLS is used.
2010-04-16krb5_auth: fix my previous change to compileDaniel Stenberg
2010-04-16SSL_RECV: EOF is not an error hereDaniel Stenberg
The recent overhaul of the SSL recv function made this treat a zero returned from gnutls_record_recv() as an error, and this caused our HTTPS test cases to fail. We leave it to upper layer code to detect if an EOF is a problem or not.
2010-04-16resolvers: no more using AI_CANONNAMEDaniel Stenberg
No resolver anymore needs to use AI_CANONNAME and do reverse lookups. We should work hard to avoid having code that relies on it.
2010-04-16KRB5: use given host name instead of reverse lookup'ed nameDaniel Stenberg
This code would previously use dns_entry->addr->ai_canonname instead of the given host name, which caused us grief and problems since not all our resolver options do the reverse lookup and I would also guess that it caused problems with KRB5/GSS with virtual name-based hosts. Now the host name from the URL is used.
2010-04-15Remove redundant conditionalDan Fandrich
2010-04-15Curl_ipv4_resolve_r: only set AI_CANONNAME when neededDaniel Stenberg
As reported in bug report #2987196, the code for ipv6 already did the setting of this bit correctly so we copied that logic into the Curl_ipv4_resolve_r() function as well. KRB code is the only code we know that might need the cannonical name so only resolve it for such requests!
2010-04-14ignore files generated by 'maketgz'Daniel Stenberg
2010-04-13fix compiler warning: variable might be clobbered by longjmp or vforkYang Tse
2010-04-12added a cast to silent compiler warning with 64bit systems.Guenter Knauf
2010-04-12update the section on timeoutsDaniel Stenberg
The section that describes how to work with timeouts was misleading and could easily trick users to use the wrong API.
2010-04-12update URL and cut out wrong info on ipv6Daniel Stenberg
c-ares has had its own URL for a while and we should point people to that. It also works with IPv6 since a long time.
2010-04-09FTP quote commands prefixed with '*' now can fail without abortingDaniel Stenberg
Prefixing the FTP quote commands with an asterisk really only worked for the postquote actions. This is now fixed and test case 227 has been extended to verify.
2010-04-07qssl: reflect recent code changes in SSL interfaceKamil Dudka
Reported by Guenter Knauf.