aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-28RELEASE-NOTES: Synced with 921d195187Steve Holme
2015-02-28tool: wrap lines longer than 79 columnsKamil Dudka
... to avoid a build failure when configured with --enable-debug
2015-02-27http2: Return error if stream was closed with other than NO_ERRORTatsuhiro Tsujikawa
Previously, we just ignored error code passed to on_stream_close_callback and just return 0 (success) after stream closure even if stream was reset with error. This patch records error code in on_stream_close_callback, and return -1 and use CURLE_HTTP2 error code on abnormal stream closure.
2015-02-27tool: Updated the warnf() function to use the GlobalConfig structureSteve Holme
As the 'error' and 'mute' options are now part of the GlobalConfig, rather than per Operation, updated the warnf() function to use this structure rather than the OperationConfig.
2015-02-26build: Removed DataExecutionPrevention directive from VC9+ project filesSteve Holme
Removed the DataExecutionPrevention directive from the project files for Visual Studio 2008 and above. The XML value in the VC9 project files was set to "0" (Default) whilst the VC10+ project files contained an empty XML element.
2015-02-26build: Use default RandomizedBaseAddress directive in VC9+ project filesSteve Holme
Visual Studio 2008 introduced support for the address space layout randomization (ASLR) feature of Windows Vista. However, upgrading the VC8 project files to VC9 and above disabled this feature. Removed the RandomizedBaseAddress directive to enabled the default setting (/DYNAMICBASE). Note: This doesn't appear to have any negative impact when compiled and ran on Windows XP.
2015-02-26build: Added support to Generate.bat for files in the upcoming vauth folderSteve Holme
2015-02-25http2: return recv error on unexpected EOFDaniel Stenberg
Pointed-out-by: Tatsuhiro Tsujikawa Bug: http://curl.haxx.se/bug/view.cgi?id=1487
2015-02-25dist: add symbol-scan.pl to the tarballKamil Dudka
... in order to make test1135 succeed
2015-02-25http2: move lots of verbose output to be debug-onlyDaniel Stenberg
2015-02-25curl-config.in: eliminate double quotes around CURL_CA_BUNDLEKamil Dudka
Otherwise it expands to: echo ""/etc/pki/tls/certs/ca-bundle.crt"" Detected by ShellCheck: curl-config:74:16: warning: The double quotes around this do nothing. Remove or escape them. [SC2140]
2015-02-25nss: do not skip Curl_nss_seed() if data is NULLKamil Dudka
In that case, we only skip writing the error message for failed NSS initialization (while still returning the correct error code).
2015-02-25nss: improve error handling in Curl_nss_random()Kamil Dudka
The vtls layer now checks the return value, so it is no longer necessary to abort if a random number cannot be provided by NSS. This also fixes the following Coverity report: Error: FORWARD_NULL (CWE-476): lib/vtls/nss.c:1918: var_compare_op: Comparing "data" to null implies that "data" might be null. lib/vtls/nss.c:1923: var_deref_model: Passing null pointer "data" to "Curl_failf", which dereferences it. lib/sendf.c:154:3: deref_parm: Directly dereferencing parameter "data".
2015-02-25RELEASE-PROCEDURE: add some more future release datesDaniel Stenberg
... and remove some old ones
2015-02-25sws: timeout idle CONNECT connectionsDaniel Stenberg
2015-02-25bump: start working toward 7.42.0Daniel Stenberg
2015-02-25THANKS: added contributors from the 7.41.0 RELEASE-NOTESDaniel Stenberg
2015-02-25RELEASE-NOTES: sync with ffc2aeec6e (7.41.0 release time!)Daniel Stenberg
2015-02-25Revert "telnet.c: fix handling of 0 being returned from custom read function"Marc Hoersken
This reverts commit 03fa576833643c67579ae216c4e7350fa9b5f2fe.
2015-02-25telnet.c: fix invalid use of custom read function if not being setMarc Hoersken
obj_count can be 1 if the custom read function is set or the stdin handle is a reference to a pipe. Since the pipe should be handled using the PeekNamedPipe-check below, the custom read function should only be used if it is actually enabled.
2015-02-24telnet.c: fix handling of 0 being returned from custom read functionMarc Hoersken
According to [1]: "Returning 0 will signal end-of-file to the library and cause it to stop the current transfer." This change makes the Windows telnet code handle this case accordingly. [1] http://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html
2015-02-24sws: stop logging about TPC_NODELAY nonsenseDaniel Stenberg
2015-02-24lib530: make it less timing sensibleDaniel Stenberg
... by making sure the first request is completed before doing the remainder.
2015-02-23connect: wait for IPv4 connection attemptsKamil Dudka
... even if the last IPv6 connection attempt has failed. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1187531#c4
2015-02-23connect: avoid skipping an IPv4 addressKamil Dudka
... in case the protocol versions are mixed in a DNS response (IPv6 -> IPv4 -> IPv6). Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1187531#c3
2015-02-23RELEASE-NOTES: synced with 5e4395eab839dDaniel Stenberg
2015-02-20ROADMAP: curl_easy_setopt.3 has already been split upDaniel Stenberg
Remove cmake as marked for removal. It is in much better state now.
2015-02-20ROADMAP: extend the HTTP/2 stuff, remove SPDYDaniel Stenberg
2015-02-20configure: allow both --with-ca-bundle and --with-ca-pathJulian Ospald
SSL_CTX_load_verify_locations by default (and if given non-Null parameters) searches the CAfile first and falls back to CApath. This allows for CAfile to be a basis (e.g. installed by the package manager) and CApath to be a user configured directory. This wasn't reflected by the previous configure constraint which this patch fixes. Bug: https://github.com/bagder/curl/pull/139
2015-02-20cmake: install the dll file to the correct directoryBen Boeckel
2015-02-19nss: fix NPN/ALPN protocol negotiationAlessandro Ghedini
Correctly check for memcmp() return value (it returns 0 if the strings match). This is not really important, since curl is going to use http/1.1 anyway, but it's still a bug I guess.
2015-02-19polarssl: fix ALPN protocol negotiationAlessandro Ghedini
Correctly check for strncmp() return value (it returns 0 if the strings match).
2015-02-19CMake: Fix generation of tool_hugehelp.c on windowsSergei Nikulov
Use "cmake -E echo" instead of "echo". Reviewed-by: Brad King <brad.king@kitware.com>
2015-02-19CMake: fix winsock2 detection on windowsSergei Nikulov
Set CMAKE_REQUIRED_DEFINITIONS to include definitions needed to get the winsock2 API from windows.h. Simplify the order of checks to avoid extra conditions. Use check_include_file instead of check_include_file_concat to look for OpenSSL headers. They do not need to participate in a sequence of dependent system headers. Also they may cause winsock.h to be included before ws2tcpip.h, causing the latter to not be detected in the sequence. Reviewed-by: Brad King <brad.king@kitware.com>
2015-02-19gtls: fix build with HTTP2Alessandro Ghedini
2015-02-16Makefile.vc6: Corrected typos in rename of darwinssl.objSteve Holme
2015-02-15By request, change the name of "curl_darwinssl.[ch]" to "darwinssl.[ch]"Nick Zitzmann
2015-02-14RELEASE-NOTES: Synced with 6f89f86c3dSteve Holme
2015-02-14tests/README: Updated to reflect email test rangesSteve Holme
2015-02-14curl.1: --cert-status is also supported by OpenSSL nowAlessandro Ghedini
2015-02-14build: Removed Visual Studio SuppressStartupBanner directive for VC8+Steve Holme
Visual Studio 2005 and above defaults to disabling the startup banner for the Compiler, Linker and MIDL tools (with /NOLOGO). As such there is no need to explicitly set the SuppressStartupBanner directive, as this is a leftover from the VC7 and VC7.1 projects being upgraded to VC8 and above.
2015-02-12openssl: fix a compile-time warningKamil Dudka
lib/vtls/openssl.c:1450:7: warning: extra tokens at end of #endif directive
2015-02-11openssl: Use OPENSSL_IS_BORINGSSL for BoringSSL detectionSteve Holme
For consistency with other conditionally compiled code in openssl.c, use OPENSSL_IS_BORINGSSL rather than HAVE_BORINGSSL and try to use HAVE_BORINGSSL outside of openssl.c when the OpenSSL header files are not included.
2015-02-11ftp: accept all 2xx responses to the PORT commandPatrick Monnerat
2015-02-09openssl: Disable OCSP in old versions of OpenSSLSteve Holme
Versions of OpenSSL prior to v0.9.8h do not support the necessary functions for OCSP stapling.
2015-02-09http2: Fix bug that associated stream canceled on PUSH_PROMISETatsuhiro Tsujikawa
Previously we don't ignore PUSH_PROMISE header fields in on_header callback. It makes header values mixed with following HEADERS, resulting protocol error.
2015-02-09polarssl: Fix exclusive SSL protocol version optionsJay Satiro
Prior to this change the options for exclusive SSL protocol versions did not actually set the protocol exclusive. http://curl.haxx.se/mail/lib-2015-01/0002.html Reported-by: Dan Fandrich
2015-02-09gskit: Fix exclusive SSLv3 optionJay Satiro
2015-02-09curl.1: clarify that -X is used for all requestsDaniel Stenberg
Reported-by: Jon Seymour
2015-02-08curl.1: add warning when using -H and redirectsDaniel Stenberg