aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-03progresscallback: make CURLE_ABORTED_BY_CALLBACK get returned betterDaniel Stenberg
When the progress callback returned 1 at a very early state, the code would not make CURLE_ABORTED_BY_CALLBACK get returned but the process would still be interrupted. In the HTTP case, this would then cause a CURLE_GOT_NOTHING to erroneously get returned instead. Reported-by: Petr Novak Bug: http://curl.haxx.se/bug/view.cgi?id=1318
2014-01-03unittests: do not include curl_memory.hMarc Hoersken
memdebug.h already contains all required definitions and including curl_memory.h causes errors like the following: tests/unit/unit1394.c:119: undefined reference to `Curl_cfree' tests/unit/unit1394.c:120: undefined reference to `Curl_cfree'
2014-01-03pipeline: remove print_pipeline()Daniel Stenberg
This is a debug function only and serves no purpose in production code, it only slows things down. I left the code #ifdef'ed for possible future pipeline debugging. Also, this was a global function without proper namespace usage. Reported-by: He Qin Bug: http://curl.haxx.se/bug/view.cgi?id=1320
2014-01-03openssl: allow explicit sslv2 selectionDaniel Stenberg
If OpenSSL is built to support SSLv2 this brings back the ability to explicitly select that as a protocol level. Reported-by: Steve Holme Bug: http://curl.haxx.se/mail/lib-2014-01/0013.html
2014-01-02Bumped copyright year to 2014Steve Holme
2014-01-02Updated copyright year for recent changesSteve Holme
2014-01-03vtls/nssg.h: fixed include references to moved fileMarc Hoersken
2014-01-03curl_easy_setopt.3: fix formatting mistakesChristian Weisgerber
This fixes two markup typos I noticed in curl_easy_setopt.3. (The use of bold vs. italics seems a bit inconsistent in that page, but it should at least be valid man syntax.)
2014-01-02OpenSSL: Fix forcing SSLv3 connectionsBarry Abrahamson
Some feedback provided by byte_bucket on IRC pointed out that commit db11750cfa5b1 wasn’t really correct because it allows for “upgrading” to a newer protocol when it should be only allowing for SSLv3. This change fixes that. When SSLv3 connection is forced, don't allow SSL negotiations for newer versions. Feedback provided by byte_bucket in #curl. This behavior is also consistent with the other force flags like --tlsv1.1 which doesn't allow for TLSv1.2 negotiation, etc Feedback-by: byte_bucket Bug: http://curl.haxx.se/bug/view.cgi?id=1319
2014-01-02Trial to fix the nmake Makefile for vtls files.Guenter Knauf
2014-01-02examples: Added IMAP SEARCH exampleSteve Holme
2014-01-02examples: Added IMAP EXAMINE mailbox folder exampleSteve Holme
2014-01-02Fix NetWare build for vtls files.Guenter Knauf
2014-01-01CMakeLists.txt: add standard curl source code headerDaniel Stenberg
2014-01-01CMakeLists.txt: add warning about the cmake build's stateDaniel Stenberg
2014-01-01examples: Updated SMTP multi example to be more realisticSteve Holme
Updated the contents of the email and payload callback as per the IMAP and other SMTP examples.
2014-01-01OpenSSL: Fix forcing SSLv3 connectionsBarry Abrahamson
Since ad34a2d5c87c7f4b14e8dded3 (present in 7.34.0 release) forcing SSLv3 will always return the error "curl: (35) Unsupported SSL protocol version" Can be replicated with `curl -I -3 https://www.google.com/`. This fix simply allows for v3 to be forced.
2014-01-01examples: Corrected unescaped backslash in imap-store.cSteve Holme
2014-01-01examples: Update SMTP TLS example mail content to be RFC-2821 compliantSteve Holme
...and made some minor coding style changes to better match the curl coding standards as well as the other email related examples.
2014-01-01examples: Added IMAP APPEND exampleSteve Holme
2014-01-01examples: Added IMAP STORE exampleSteve Holme
2013-12-31RELEASE-NOTES: Synced with 7de2e032584d44Steve Holme
2013-12-31examples: Added IMAP LIST mailbox exampleSteve Holme
2013-12-31examples: Updated IMAP fetch example for libcurl 7.30.0Steve Holme
2013-12-31examples: Rename before adding additional email examplesSteve Holme
2013-12-31examples: Added SMTP EXPN command exampleSteve Holme
2013-12-31examples: Added SMTP email verification exampleSteve Holme
2013-12-31imap: Fixed line length warningSteve Holme
2013-12-31mprintf: Replaced internal usage of FORMAT_OFF_T and FORMAT_OFF_TUSteve Holme
Following commit 0aafd77fa4c6f2, replaced the internal usage of FORMAT_OFF_T and FORMAT_OFF_TU with the external versions that we expect API programmers to use. This negates the need for separate definitions which were subtly different under different platforms/compilers.
2013-12-31examples: Updated copyright year for recent editsSteve Holme
2013-12-31examples: Corrected incorrect indentation in smtp-multi.cSteve Holme
2013-12-31examples: Updated SMTP examples to set CURLOPT_UPLOADSteve Holme
2013-12-30mprintf: Added support for I, I32 and I64 size specifiersSteve Holme
Added support to the built-in printf() replacement functions, for these non-ANSI extensions when compiling under Visual Studio, Borland, Watcom and MinGW. This fixes problems when generating libcurl source code that contains curl_off_t variables.
2013-12-29curl_easy_setopt.3: Added SMTP information to CURLOPT_INFILESIZE_LARGESteve Holme
Although added to CURLOPT_INFILESIZE in commit ee3d3adc6fe155 it was never added to CURLOPT_INFILESIZE_LARGE.
2013-12-28tests: Disabled NTLM tests when running with SSPI enabledSteve Holme
2013-12-28connect.c: Fixed compilation warningSteve Holme
warning: 'res' may be used uninitialized in this function
2013-12-28runtests.pl: Fixed slightly incorrect regex in commit 28dd47d4d41900Steve Holme
2013-12-28connect: Try all addresses in first connection attemptBjörn Stenberg
Fixes a bug when all addresses in the first family fail immediately, due to "Network unreachable" for example, curl would hang and never try the next address family. Iterate through all address families when to trying establish the first connection attempt. Bug: http://curl.haxx.se/bug/view.cgi?id=1315 Reported-by: Michal Górny and Anthony G. Basile
2013-12-28runtests.pl: Optimised feature present checking codeSteve Holme
...to exclude not present features.
2013-12-28runtests.pl: Added the ability to run tests when a feature is not presentSteve Holme
2013-12-27ftpserver.pl: Fixed compilation errorSteve Holme
Unmatched right curly bracket at line 758, at end of line
2013-12-27ftpserver.pl: Reworked SMTP verified server detectionSteve Holme
Following the addition of informational commands to the SMTP protocol, the test server is no longer required to return the verified server information in responses that curl only outputs in verbose mode. Instead, a similar detection mechanism to that used by FTP, IMAP and POP3 can now be used.
2013-12-27sendf.c: Fixed compilation warning from f2d234a4dd9bccSteve Holme
sendf.c:450:81: warning: Longer than 79 columns
2013-12-27FILE: Fixed sending of data would always return CURLE_WRITE_ERRORSteve Holme
Introduced in commit 2a4ee0d2215556 sending of data via the FILE protocol would always return CURLE_WRITE_ERROR regardless of whether CURL_WRITEFUNC_PAUSE was returned from the callback function or not.
2013-12-26FILE: we don't support paused transfers using this protocolDaniel Stenberg
Make sure that we detect such attempts and return a proper error code instead of silently handling this in problematic ways. Updated the documentation to mention this limitation. Bug: http://curl.haxx.se/bug/view.cgi?id=1286
2013-12-26vtls: Updated comments referencing sslgen.c and ssluse.cSteve Holme
2013-12-26vtls: Fixed up include of vtls.hSteve Holme
2013-12-25curl_dofree: allow free(NULL)Daniel Stenberg
Previously this memdebug free() replacement didn't properly work with a NULL argument which has made us write code that avoids calling free(NULL) - which causes some extra nuisance and unnecessary code. Starting now, we should allow free(NULL) even when built with the memdebug system enabled. free(NULL) is permitted by POSIX
2013-12-25RELEASE-NOTES: Synced with 0ff0a994ada62aSteve Holme
2013-12-25Curl_thread_create: use Curl_safefree to allow NULL betterDaniel Stenberg
free() itself allows a NULL input but our memory debug system requires Curl_safefree() to be used instead when a "legitimate" NULL may be freed. Like in the code here. Pointed-out-by: Steve Holme