aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-27c-ares: fix cancelled resolvesDaniel Stenberg
When built IPv6-enabled, we could do Curl_done() with one of the two resolves having returned already, so when ares_cancel() is called the resolve callback ends up doing funny things (sometimes resulting in a segfault) since it would try to actually store the previous resolve even though we're shutting down the resolve. This bug was introduced in commit 8ab137b2bc9630ce so it hasn't been included in any public release. Bug: http://curl.haxx.se/bug/view.cgi?id=3145445 Reported by: Pedro Larroy
2010-12-25Typo / spelling fixes.Brad Hards
2010-12-25Use angle address, as for the rest of the example.Brad Hards
Also spelling fix for RECIPIENT #define.
2010-12-25Add angle brackets to addresses in easy SMTP examples, as for smtp-multi ↵Brad Hards
example.
2010-12-23cookies: tricked dotcounter fixedDaniel Stenberg
Providing multiple dots in a series in the domain field (domain=..com) could trick the cookie engine to wrongly accept the cookie believing it to be fine. Since the tailmatching would then match all .com sites, the cookie would then be sent to all of them. The code now requires at least one letter between each dot for them to be counted. Edited test case 61 to verify this.
2010-12-23multi: connect fail => use next IP addressDaniel Stenberg
When using the multi interface and connecting to a host name that resolves to multiple IP addresses, there was no logic that made it continue to the next IP if connecting to the first address times out. This is now corrected.
2010-12-23smtp-multi: put recipient within <brackets>Daniel Stenberg
Even if libcurl might to do it for us, it is more correct.
2010-12-23ossl_seed: no more RAND_screenDaniel Stenberg
RAND_screen() is slow, not thread-safe and not needed anymore since OpenSSL uses the thread-safe win32 CryptoAPI nowadays.
2010-12-22multi: inhibit some verbose outputsDaniel Stenberg
The info about pipe status and expire cleared are clearly debug-related and not anything mere mortals will or should care about so they are now ifdef'ed DEBUGBUILD
2010-12-22SMTP tests: updated MAIL FROM useDaniel Stenberg
They were all wrong previously since none used the <brackets> they should for MAIL FROM. Now libcurl adds them itself if the app doesn't so they end up wrong less easy.
2010-12-22CURLOPT_MAIL_FROM: document the bracket situationDaniel Stenberg
2010-12-22SMTP: add brackets for MAIL FROMBrad Hards
Similar to what is done already for RCPT TO, the code now checks for and adds angle brackets (<>) around the email address that is provided for CURLOPT_MAIL_RCPT unless the app has done so itself.
2010-12-22Added support for axTLS to NetWare build.Guenter Knauf
2010-12-22Fixed include: memory.h -> curl_memory.h.Guenter Knauf
2010-12-22smtp-tls: add a missing newlineBrad Hards
Without this you won't get the next (Subject) line.
2010-12-21Typo fixes.Brad Hards
2010-12-21New curl/curl.h definitions added to ILE/RPG binding.Patrick Monnerat
2010-12-21build: sort configuration hunks in lib/Makefile.vc6Yang Tse
sorted to reflect same internal order as the one shown in the usage message.
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