aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-27nss: Use 'CURLcode result' for curl result codesSteve Holme
...and don't use CURLE_OK in failure/success comparisons.
2014-12-27getinfo: Code style policingSteve Holme
2014-12-27getinfo: Use 'CURLcode result' for curl result codesSteve Holme
2014-12-27darwinssl: Use 'CURLcode result' for curl result codesSteve Holme
2014-12-27polarssl: Use 'CURLcode result' for curl result codesSteve Holme
2014-12-27docs: Updated following the addition of SASL GSSAPI via GSS-API librariesSteve Holme
As this feature has been implemented for 7.40.0.
2014-12-27asiohiper.cpp: No need to initialise members of ConnInfoSteve Holme
...as calloc() automatically clears the area of memory with zeros.
2014-12-27asiohiper.cpp: Updated for curl coding standardsSteve Holme
...with the exception of the start of block statement curly brackets.
2014-12-27code/docs: Use correct case for IPv4 and IPv6Steve Holme
For consistency, as we seem to have a bit of a mixed bag, changed all instances of ipv4 and ipv6 in comments and documentations to use the correct case.
2014-12-27runtests: Fixed detection of Unix Sockets featureSteve Holme
...following change in curl --version output.
2014-12-26code/docs: Use Unix rather than UNIX to avoid use of the trademarkSteve Holme
Use Unix when generically writing about Unix based systems as UNIX is the trademark and should only be used in a particular product's name.
2014-12-26ip2ip.c: Fixed compilation warning when IPv6 Scope ID not supportedSteve Holme
if2ip.c:119: warning: unused parameter 'remote_scope_id' ...and some minor code style policing in the same function.
2014-12-26vtls: Don't set cert info count until memory allocation is successfulSteve Holme
Otherwise Curl_ssl_init_certinfo() can fail and set the num_of_certs member variable to the requested count, which could then be used incorrectly as libcurl closes down.
2014-12-26vtls: Use CURLcode for Curl_ssl_init_certinfo() return typeSteve Holme
The return type for this function was 0 on success and 1 on error. This was then examined by the calling functions and, in most cases, used to return CURLE_OUT_OF_MEMORY. Instead use CURLcode for the return type and return the out of memory error directly, propagating it up the call stack.
2014-12-26configure: Use camel case for UNIX sockets feature outputSteve Holme
To match the curl --version output.
2014-12-26sockfilt.c: Reduce the number of individual memory allocationsMarc Hoersken
Merge multiple internal arrays into one, even if some variables will not not be used. They are all created with the number of file descriptors as their size. Also fix possible thread handle leak in CloseHandle-loop.
2014-12-26sockfilt.c: Replace 100ms sleep with thread throttleMarc Hoersken
Improves performance of test cases 574 and 575 by 50%. A value of zero causes the thread to relinquish the remainder of its time slice to any other thread of equal priority that is ready to run. If there are no other threads of equal priority ready to run, the function returns immediately, and the thread continues execution. http://msdn.microsoft.com/library/windows/desktop/ms686307.aspx
2014-12-25tool_help: Use camel case for UNIX sockets feature outputSteve Holme
In line with the other features listed in the --version output, capitalise the UNIX socket feature.
2014-12-25vtls: Use bool for Curl_ssl_getsessionid() return typeSteve Holme
The return type of this function is a boolean value, and even uses a bool internally, so use bool in the function declaration as well as the variables that store the return value, to avoid any confusion.
2014-12-25schannel: Minor code style policing for castsSteve Holme
2014-12-25schannel: Prefer 'CURLcode result' for curl result codesSteve Holme
2014-12-25cyassl: Prefer 'CURLcode result' for curl result codesSteve Holme
2014-12-25tool_xattr: Use 'CURLcode result' for curl result codesSteve Holme
2014-12-24curl_ntlm_core.c: Fixed compilation warningsSteve Holme
curl_ntlm_core.c:301: warning: pointer targets in passing argument 2 of 'CryptImportKey' differ in signedness curl_ntlm_core.c:310: warning: passing argument 6 of 'CryptEncrypt' from incompatible pointer type curl_ntlm_core.c:540: warning: passing argument 4 of 'CryptGetHashParam' from incompatible pointer type
2014-12-24RELEASE-NOTES: Synced with 8830df8b66Steve Holme
2014-12-24gtls: Use preferred 'CURLcode result'Steve Holme
2014-12-24openldap: Use standard naming for setup connection functionSteve Holme
Renamed ldap_setup() to ldap_setup_connection() to follow more widely used function naming.
2014-12-24rtmp: Use standard naming for setup connection functionSteve Holme
Renamed rtmp_setup() to rtmp_setup_connection() to follow more widely used function naming.
2014-12-24smb: Use standard naming for setup connection functionSteve Holme
Renamed smb_setup() to smb_setup_connection() to follow more widely used function naming.
2014-12-24config-win32.h: Fixed line length > 79 columnsSteve Holme
2014-12-24openssl: Prefer we don't use NULL in comparisonsSteve Holme
2014-12-24build: Removed WIN32 definition from the Visual Studio projectsSteve Holme
As this pre-processor definition is defined in curl_setup.h there is no need to include it in the Visual Studio project files.
2014-12-24build: Removed WIN64 definition from the libcurl Visual Studio projectsSteve Holme
Removed the WIN64 pre-processor definition from the libcurl project files as: * WIN64 is not used in our source code * The curl projects files don't define it * It isn't required by or used in the platform SDK * For backwards compatability curl_setup.h defines WIN32 * The compiler automatically defines _WIN64 for x64 builds Historically Visual Studio projects have defined WIN32, in addition to the compiler defined _WIN32 definition, and I had incorrectly changed that to WIN64 for the x64 libcurl builds but not in the curl projects. As such, it is questionable whether this should be defined or not. For more information see the following cache of a discussion that took place on the microsoft.public.vc.mfc newsgroup: http://www.tech-archive.net/Archive/VC/microsoft.public.vc.mfc/2008-06/msg00074.html
2014-12-23openssl.c Fix for compilation errors with older versions of OpenSSLSteve Holme
openssl.c:1408: error: 'TLS1_1_VERSION' undeclared openssl.c:1411: error: 'TLS1_2_VERSION' undeclared
2014-12-22Fix comment edit in vms/backup_gnv_curl_src.comJohn Malmberg
packages/vms/backup_gnv_curl_src.com: Originally copied from Bash port.
2014-12-22curl: show size of inhibited data when using -vDaniel Stenberg
To offer some more info and yet it doesn't use more lines.
2014-12-22openssl: fix SSL/TLS versions in verbose outputDaniel Stenberg
2014-12-22openssl: make it compile against openssl 1.1.0-DEV master branchDaniel Stenberg
2014-12-22sshserver.pl: clarify and streamline variable namesMarc Hoersken
2014-12-21openssl: warn for SRP set if SSLv3 is used, not for TLS versionDaniel Stenberg
... as it requires TLS and it was was left to warn on the default from when default was SSL...
2014-12-21smb: use memcpy() instead of strncpy()Daniel Stenberg
... as it never copies the trailing zero anyway and always just the four bytes so let's not mislead anyone into thinking it is actually treated as a string. Coverity CID: 1260214
2014-12-21VMS: Updates for 0740-0D1220John E. Malmberg
lib/setup-vms.h : VAX HP OpenSSL port is ancient, needs help. More defines to set symbols to uppercase. src/tool_main.c : Fix parameter to vms_special_exit() call. packages/vms/ : backup_gnv_curl_src.com : Fix the error message to have the correct package. build_curl-config_script.com : Rewrite to be more accurate. build_libcurl_pc.com : Use tool_version.h now. build_vms.com : Fix to handle lib/vtls directory. curl_gnv_build_steps.txt : Updated build procedure documentation. generate_config_vms_h_curl.com : * VAX does not support 64 bit ints, so no NTLM support for now. * VAX HP SSL port is ancient, needs some help. * Disable NGHTTP2 for now, not ported to VMS. * Disable UNIX_SOCKETS, not available on VMS yet. * HP GSSAPI port does not have gss_nt_service_name. gnv_link_curl.com : Update for new curl structure. pcsi_product_gnv_curl.com : Set up to optionally do a complete build.
2014-12-21sockfilt.c: use non-Ex functions that are available before WinXPMarc Hoersken
It was initially reported by Guenter that GetFileSizeEx requires (_WIN32_WINNT >= 0x0500) to be true.
2014-12-21tests: use Cygwin-style paths in SSH, SSHD and SFTP config filesMarc Hoersken
Second patch to enable Windows support using Cygwin-based OpenSSH. Tested with CopSSH 5.0.0 free edition using an msys shell on Windows 7.
2014-12-21tests: support spaces in paths to SSH, SSHD and SFTP binariesMarc Hoersken
First patch to enable Windows support using Cygwin-based OpenSSH.
2014-12-20non-ascii: Reduce variable usageSteve Holme
Removed 'next' variable in Curl_convert_form(). Rather than setting it from 'form->next' and using that to set 'form' after the conversion just use 'form = form->next' instead.
2014-12-20non-ascii: Prefer while loop rather than a do loopSteve Holme
This also removes the need to check that the 'form' argument is valid.
2014-12-20non-ascii: Reduce variable scopeSteve Holme
As 'result' isn't used out side the conversion callback code and previously caused variable shadowing in the libiconv based code.
2014-12-19non-ascii: We prefer 'CURLcode result'Steve Holme
This also fixes a variable shadowing issue when HAVE_ICONV is defined as rc was declared for the result code of libiconv based functions.
2014-12-19secureserver.pl: clean up formatting of config and fix verbose outputMarc Hoersken
Verbose output was not matching the actual configuration file, because FIPS and Windows conditions were ignored.