aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-20getparameter: add error checkDaniel Stenberg
if add2list() returns an error, bail out!
2010-12-20loadhostpairs: return errorcodeDaniel Stenberg
Make sure that Curl_cache_addr() errors are propagated to callers of loadhostpairs(). (this loadhostpairs function caused a scan-build warning due to the 'dns' variable getting assigned but never used)
2010-12-20distrib: add new file to EXTRA_DISTYang Tse
2010-12-20build: refactoring of msvc makefiles to allow overriding of library filenames.Yang Tse
Default libcurl's file names are kept equal to those used since Y2K.
2010-12-19ftp_parselist: fix compiler warningDaniel Stenberg
Doing curlx_strtoofft() on the size just to figure out the end of it causes a compiler warning since the result wasn't used, but is also a bit of a waste.
2010-12-18Curl_do: avoid using stale conn pointerPasha Kuznetsov
Since the original `conn' pointer was used after the `connectdata' it points to has been closed/cleaned up by Curl_reconnect_request it caused a crash. We must make sure to use the newly created connection instead! URL: http://curl.haxx.se/mail/lib-2010-12/0202.html
2010-12-18ares: ask for both IPv4 and IPv6 addressesTommie Gannert
Make the c-ares resolver code ask for both IPv4 and IPv6 addresses when IPv6 is enabled. This is a workaround for the missing ares_getaddrinfo() and is a lot easier to implement. Note that as long as c-ares returns IPv4 addresses when IPv6 addresses were requested but missing, this will cause a host's IPv4 addresses to occur twice in the DNS cache. URL: http://curl.haxx.se/mail/lib-2010-12/0041.html
2010-12-18examples: socket type cleanupDaniel Stenberg
2010-12-18Trival comment fix.Brad Hards
2010-12-18smtp-tls: add Message-ID: headerBrad Hards
2010-12-17gitignore: ignore the new example execsDaniel Stenberg
2010-12-17examples: fix compiler warningsDaniel Stenberg
2010-12-17examples: build all examples easierDaniel Stenberg
2010-12-17smtp-tls: new exampleBrad Hards
This example shows how to send SMTP with TLS
2010-12-17Docs: add simple SMTP exampleBrad Hards
Add a simple SMTP example program, patterned after some of the existing examples, and the curl application. This version addresses issues raised by David Woodhouse on comments in the simplesmtp.c example.
2010-12-17tftpd: avoid buffer overflow report from glibcPaul Howarth
2010-12-17example: fix compiler warnings in fopen.cDaniel Stenberg
2010-12-17chkspeed: bad strtol() call for -M optionBrad Hards
Bug: http://curl.haxx.se/mail/lib-2010-12/0192.html
2010-12-16axTLS integration: silence runtests.pl perl warningYang Tse
2010-12-15axTLS: mention it among the other SSL libsDaniel Stenberg
2010-12-157.21.4: version bumpDaniel Stenberg
2010-12-15axtls_connect: allow connect without peer verificationDaniel Stenberg
The SSL_SERVER_VERIFY_LATER bit in the ssl_ctx_new() call allows the code to verify the peer certificate explicitly after the handshake and then the "data->set.ssl.verifypeer" option works.
2010-12-15axTLS: allow "default" SSL version as wellDaniel Stenberg
When no explicit version is selected we should try to use whatever is best for us, and in the axTLS case that means TLSv1.
2010-12-15axtls.c: cleanupDaniel Stenberg
Removed trailing whitespace Removed several compiler warnings Removed odd backslashes at some line endings
2010-12-15urldate: undef hideous memory definesDaniel Stenberg
The public axTLS header (at least as of 1.2.7) redefines the memory functions. We #undef those again immediately after the public header to limit the damage. This should be fixed in axTLS.
2010-12-15configure: make --with-axtls set prefixDaniel Stenberg
In tradition with other options, have this point to the directory prefix and not the lib directory. Otherwise we can't set the include path reliably.
2010-12-15Minor fixes to pass tests 301 and 306 with a patched axTLS.Eric Hu
2010-12-15Initial axTLS integration. Connections can be made and some tests pass.Eric Hu
Failed HTTPS tests: 301, 306, 311, 312, 313, 560 311, 312 need more detailed error reporting from axTLS. 313 relates to CRL, which hasn't been implemented yet.
2010-12-15Simple update to configure script to notify user of --with-axtls switch.Eric Hu
2010-12-15Preparing for axTLS. Actual SSL API functions are only stubbed.Eric Hu
Added axTLS to autotool files and glue code to misc other files. axtls.h maps SSL API functions, but may change. axtls.c is just a stub file and will definitely change.
2010-12-15THANKS: added contributors from 7.21.3Daniel Stenberg
2010-12-15RELEASE-NOTES: synced with a865bd9fbaaa43e5cDaniel Stenberg
2010-12-13IsPipeliningPossible: only for HTTPDaniel Stenberg
The function that checks if pipelining is possible now requires the HTTP bit to be set so that it doesn't mistakenly tries to do it for other protocols. Bug: http://curl.haxx.se/mail/lib-2010-12/0152.html Reported by: Dmitri Shubin
2010-12-13multi_runsingle: don't timeout completed handlesDaniel Stenberg
The generic timeout code must not check easy handles that are already completed. Going to completed (again) within there risked decreasing the number of alive handles again and thus it could go negative. This regression bug was added in 7.21.2 in commit ca10e28f06f1
2010-12-09symbols-in-versions: CURLOPT_KEYPASSWD fixedDaniel Stenberg
It was added in 7.17.0 and is not deprecated
2010-12-09RELEASE-NOTES: synced with c28443c551825Daniel Stenberg
2010-12-08Mention that using other libraries can affect app licensingDan Fandrich
2010-12-07easy: fix compiler warning: end-of-loop code not reachedYang Tse
2010-12-06disconnect: pass on the dead_connection argumentDaniel Stenberg
Cleanup fix after Kamil's commit 5c7c9a768d0093
2010-12-06sws: fix compier warning: external definition with no prior declarationYang Tse
2010-12-06ossl_connect_common: detect connection re-useHeinrich Ko
ossl_connect_common() now checks whether or not 'struct connectdata->state' is equal 'ssl_connection_complete' and if so, will return CURLE_OK with 'done' set to 'TRUE'. This check prevents ossl_connect_common() from creating a new ssl connection on an existing ssl session which causes openssl to fail when it tries to parse an encrypted TLS packet since the cipher data was effectively thrown away when the new ssl connection was created. Bug: http://curl.haxx.se/mail/lib-2010-11/0169.html
2010-12-06url: provide dead_connection flag in Curl_handler::disconnectKamil Dudka
It helps to prevent a hangup with some FTP servers in case idle session timeout has exceeded. But it may be useful also for other protocols that send any quit message on disconnect. Currently used by FTP, POP3, IMAP and SMTP.
2010-12-06ssh: fix a download resume point calculationYang Tse
2010-12-05Curl_wait_for_resolv: correct timeoutDaniel Stenberg
When looping in this function and checking for the timeout being expired, it was not updating the reference time when calculating the timediff since previous round which made it think each subsequent loop to have taken longer than it actually did. I also modified the function to use the generic Curl_timeleft() function instead of the custom logic. Bug: http://curl.haxx.se/bug/view.cgi?id=3112579
2010-12-05Curl_send/recv_plain: return errno on failureDaniel Stenberg
When send() and recv() fail, we now store the errno value to allow the app to access it. Bug: http://curl.haxx.se/bug/view.cgi?id=3128121 Reported by: Yuri
2010-12-05Updated OpenSSL version.Guenter Knauf
2010-12-04fix compiler warning: conversion may lose significant bitsYang Tse
2010-12-03fix compiler warning: assignment within conditional expressionYang Tse
2010-12-03fix getinfo CURLINFO_LOCAL* for reused connections (take 2) follow-upYang Tse
- Show address string from proper buffer in case of connection failure. - Try next address when inet_ntop() fails.
2010-12-03version-check: added brief documentationDaniel Stenberg
and the traditional source header