- Nov 10, 2014
-
-
Daniel Stenberg authored
It isn't used anywhere! Reported-by: Carlo Wood
-
Peter Wu authored
Makes test1119 pass when building with cmake. configurehelp.pm is generated by configure (autotools). As cmake does not provide a separate variable for the C preprocessor, default to cpp. Before commit ef24ecde ("symbol-scan: use configure script knowledge about how to run the C preprocessor"), this tool would also use 'cpp'. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-
Peter Wu authored
Fix detection of the AsynchDNS feature which not just depends on pthreads support, but also on whether USE_POSIX_THREADS is set or not. Caught by test 1014. This patch adds a new ENABLE_THREADED_RESOLVER option (corresponding to --enable-threaded-resolver of autotools) which also needs a check for HAVE_PTHREAD_H. For symmetry with autotools, CURL_USE_ARES is renamed to ENABLE_ARES (--enable-ares). Checks that test for the availability actually use USE_ARES instead as that is the result of whether a-res is available or not (in practice this does not matter as CARES is marked as required package, but nevertheless it is better to write the intent). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-
Peter Wu authored
Used by some test cases via LD_PRELOAD in order to fake the host name. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-
Peter Wu authored
Otherwise Curl_gethostname always fails. Windows has gethostname since Vista according to http://msdn.microsoft.com/en-us/library/ms738527%28VS.85%29.aspx , but accordings to byte_bucket's VC 2005 documentation, it is available even in Windows 95. (possibly after installing a Platform SDK, the Windows Server 2003 SP1 Platform SDK should be sufficient). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-
Peter Wu authored
I noticed that a patched cmake build would pass tests with a fake local hostname, but the autotools build skips them: got unexpected host name back, LD_PRELOAD failed It turns out that -fvisibility=hidden hides the symbol, and since the tests are not part of libcurl, it fails too. Just remove the LIBCURL guard. Broken since cURL 7.30 (commit 83a42ee2 , "curl.h: stricter CURL_EXTERN linkage decorations logic"). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-
Peter Wu authored
This makes LeakSanitizer happy. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-
Daniel Stenberg authored
To please test 1014 while we work out if this is truly the a correct assumption.
-
- Nov 09, 2014
-
-
Steve Holme authored
vtls.c:185:46: warning: unused parameter 'data'
-
Steve Holme authored
-
Steve Holme authored
In preparation for moving the NTLM message code into the SASL module, and separating the native code from the SSPI code, added functions that simply call the functions in curl_ntlm_msg.c.
-
Steve Holme authored
In preparation for moving the NTLM message code into the SASL module use the SASL functions in the HTTP code instead.
-
Daniel Stenberg authored
... so that non-configure builds get the correct functions too based on the libssh2 version used.
-
Nobuhiro Ban authored
... if the libssh2 version is new enough. Bug: http://curl.haxx.se/bug/view.cgi?id=1448
-
Steve Holme authored
Reworked the two sections that discuss modifying the Visual Studio pre- processor settings, and vc6libcurl.dsw/vc6libcurl.dsp, to remove the project files references as they have been superseded by a more thorough set of project files for VC6 through VC12, but to also give the correct reference to this setting in later versions of Visual Studio.
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
USE_NTLM would only be defined if: HTTP support was enabled, NTLM and cryptography weren't disabled, and either a supporting cryptography library or Windows SSPI was being compiled against. This means it was not possible to build libcurl without HTTP support and use NTLM for other protocols such as IMAP, POP3 and SMTP. Rather than introduce a new SASL pre-processor definition, removed the HTTP prerequisite just like USE_SPNEGO and USE_KRB5. Note: Winbind support still needs to be dependent on CURL_DISABLE_HTTP as it is only available to HTTP at present. This bug dates back to August 2011 when I started to add support for NTLM to SMTP.
-
Steve Holme authored
Due to commit 40ee1ba0 the free in Curl_ntlm_decode_type2_target() is longer required.
-
Steve Holme authored
-
Steve Holme authored
-
- Nov 08, 2014
-
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
- Nov 07, 2014
-
-
Steve Holme authored
As the list has gotten a little messy and hard to read, especially with the introduction of deprecated items, aligned the values and comments into clean columns and reworked some of the comments in the process.
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Guenter Knauf authored
-
Steve Holme authored
-
Steve Holme authored
Fixed a couple of memory leaks as a result of moving code that used to populate allocuserpwd and relied on it's clean up.
-
- Nov 06, 2014
-
-
Steve Holme authored
-
Steve Holme authored
Following the addition of SSPI support for HTTP digest, synchronised elements of the email digest code with that of the new HTTP code.
-
Steve Holme authored
Post tidy up to ensure commonality of code style and variable names.
-
Dan Fandrich authored
Technical difficulties prevented this from going into the previous commit.
-
Steve Holme authored
Added !SSPI to the features list of the HTTP digest tests, as SSPI based builds now use the Windows SSPI messaging API rather than the internal functions, and we can't control the random numbers that get used as part of the digest.
-
Daniel Stenberg authored
-
Steve Holme authored
-