- Nov 16, 2014
-
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Michael Osipov authored
For consistency renamed USE_KRB5 to USE_KERBEROS5.
-
- Nov 15, 2014
-
-
Jay Satiro authored
Windows does not support using select() for sleeping without a dummy socket. Instead use Windows' Sleep() and sleep for 100ms which is the minimum suggested value in the curl_multi_fdset() doc. Prior to this change the multi examples would exit prematurely since select() would error instead of sleeping when called without an fd. Reported-by: Johan Lantz Bug: http://curl.haxx.se/mail/lib-2014-11/0221.html
-
Tatsuhiro Tsujikawa authored
-
Steve Holme authored
There was a mismatch in function parameter names.
-
Steve Holme authored
Although libcurl would never return CURL_VERSION_KERBEROS4 after 7.33, so would not be output with --version, removed krb4 from the supported features output.
-
Michael Osipov authored
-
Steve Holme authored
This variable is only used with HAVE_GSSAPI is defined by the FTP code so let's place the definition with the other GSS-API based variables.
-
Michael Osipov authored
-
Steve Holme authored
-
- Nov 14, 2014
-
-
Steve Holme authored
-
Steve Holme authored
Rather than define the function as extern in the source files that use it, moved the function declaration into the SASL header file just like the Digest and NTLM clean-up functions. Additionally, added a function description comment block.
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
- Nov 13, 2014
-
-
Brad King authored
Revert commit 2257deb5 (Cmake: Avoid cycle directory dependencies, 2014-08-22) and add a comment explaining the purpose of the original code. The check_library_exists_concat macro is intended to be called multiple times on a sequence of possibly dependent libraries. Later libraries may depend on earlier libraries when they are static. They cannot be safely linked in reverse order on some platforms. Signed-off-by: Brad King <brad.king@kitware.com>
-
Brad King authored
Revert commit 1269df2e (Cmake: Don't check for all headers each time, 2014-08-15) and add a comment explaining the purpose of the original code. The check_include_file_concat macro is intended to be called multiple times on a sequence of possibly dependent headers. Later headers may depend on earlier headers to provide declarations. They cannot be safely included independently on some platforms. For example, many POSIX APIs document including sys/types.h before some other headers. Also on some OS X versions sys/socket.h must be included before net/if.h or the check for the latter will fail. Signed-off-by: Brad King <brad.king@kitware.com>
-
Peter Wu authored
This is the only user of the backtick operator in the command. As the commands will soon not be executed by a shell anymore (but by perl), replace the command with its output. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Tatsuhiro Tsujikawa authored
Previously if HTTP/2 traffic is appended to HTTP Upgrade response header (thus they are in the same buffer), the trailing HTTP/2 traffic is not processed and lost. The appended data is most likely SETTINGS frame. If it is lost, nghttp2 library complains server does not obey the HTTP/2 protocol and issues GOAWAY frame and curl eventually drops connection. This commit fixes this problem and now trailing data is processed.
-
- Nov 11, 2014
-
-
Steve Holme authored
Commit fe0f8967 fixed a problem with krb5 not being defined as a supported feature when HAVE_GSSAPI is defined, however, it should only be included if CURL_DISABLE_CRYPTO_AUTH is not set, like when SPNEGO is listed as a feature.
-
- 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
-