- Dec 26, 2014
-
-
Steve Holme authored
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.
-
Steve Holme authored
To match the curl --version output.
-
Marc Hoersken authored
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.
-
Marc Hoersken authored
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
-
- Dec 25, 2014
-
-
Steve Holme authored
In line with the other features listed in the --version output, capitalise the UNIX socket feature.
-
Steve Holme authored
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.
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
- Dec 24, 2014
-
-
Steve Holme authored
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
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
Renamed ldap_setup() to ldap_setup_connection() to follow more widely used function naming.
-
Steve Holme authored
Renamed rtmp_setup() to rtmp_setup_connection() to follow more widely used function naming.
-
Steve Holme authored
Renamed smb_setup() to smb_setup_connection() to follow more widely used function naming.
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
As this pre-processor definition is defined in curl_setup.h there is no need to include it in the Visual Studio project files.
-
Steve Holme authored
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
-
- Dec 23, 2014
-
-
Steve Holme authored
openssl.c:1408: error: 'TLS1_1_VERSION' undeclared openssl.c:1411: error: 'TLS1_2_VERSION' undeclared
-
- Dec 22, 2014
-
-
John Malmberg authored
packages/vms/backup_gnv_curl_src.com: Originally copied from Bash port.
-
Daniel Stenberg authored
To offer some more info and yet it doesn't use more lines.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Dec 21, 2014
-
-
Marc Hoersken authored
-
Daniel Stenberg authored
... as it requires TLS and it was was left to warn on the default from when default was SSL...
-
Daniel Stenberg authored
... 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
-
John E. Malmberg authored
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.
-
Marc Hoersken authored
It was initially reported by Guenter that GetFileSizeEx requires (_WIN32_WINNT >= 0x0500) to be true.
-
Marc Hoersken authored
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.
-
Marc Hoersken authored
First patch to enable Windows support using Cygwin-based OpenSSH.
-
- Dec 20, 2014
-
-
Steve Holme authored
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.
-
Steve Holme authored
This also removes the need to check that the 'form' argument is valid.
-
Steve Holme authored
As 'result' isn't used out side the conversion callback code and previously caused variable shadowing in the libiconv based code.
-
- Dec 19, 2014
-
-
Steve Holme authored
This also fixes a variable shadowing issue when HAVE_ICONV is defined as rc was declared for the result code of libiconv based functions.
-
Marc Hoersken authored
Verbose output was not matching the actual configuration file, because FIPS and Windows conditions were ignored.
-
Marc Hoersken authored
-
Marc Hoersken authored
Recent stunnel versions (5.08) seem to have trouble with relative paths on Windows. This turns the relative paths into absolute ones.
-
- Dec 18, 2014
-
-
Patrick Monnerat authored
-