]> granicus.if.org Git - curl/log
curl
10 years agoversion: The next release will become 7.40.0
Steve Holme [Sun, 30 Nov 2014 22:01:13 +0000 (22:01 +0000)]
version: The next release will become 7.40.0

10 years agodocs: Updated for the SMB protocol
Bill Nagel [Sun, 30 Nov 2014 21:51:26 +0000 (16:51 -0500)]
docs: Updated for the SMB protocol

This patch updates the documentation for the SMB/CIFS protocol.

10 years agocurl tool: Exclude SMB from the protocol redirect
Steve Holme [Sun, 30 Nov 2014 21:28:22 +0000 (21:28 +0000)]
curl tool: Exclude SMB from the protocol redirect

As local files could be accessed through \\localhost\c$.

10 years agocurl tool: Enable support for the SMB protocol
Bill Nagel [Sun, 30 Nov 2014 16:27:03 +0000 (11:27 -0500)]
curl tool: Enable support for the SMB protocol

This patch enables SMB/CIFS support in the curl command-line tool.

10 years agosmb.c: Fixed compilation warnings
Steve Holme [Sun, 30 Nov 2014 21:14:42 +0000 (21:14 +0000)]
smb.c: Fixed compilation warnings

smb.c:398: warning: comparison of integers of different signs:
           'ssize_t' (aka 'long') and 'unsigned long'
smb.c:443: warning: comparison of integers of different signs:
           'ssize_t' (aka 'long') and 'unsigned long'

10 years agolibcurl: Exclude SMB from the protocol redirect
Steve Holme [Sun, 30 Nov 2014 20:56:01 +0000 (20:56 +0000)]
libcurl: Exclude SMB from the protocol redirect

As local files could be accessed through \\localhost\c$.

10 years agolibcurl: Enable support for the SMB protocol
Bill Nagel [Sun, 30 Nov 2014 16:18:46 +0000 (11:18 -0500)]
libcurl: Enable support for the SMB protocol

This patch enables SMB/CIFS support in libcurl.

10 years agosmb.c: Fixed compilation warnings
Steve Holme [Sun, 30 Nov 2014 20:10:23 +0000 (20:10 +0000)]
smb.c: Fixed compilation warnings

smb.c:322: warning: conversion to 'short unsigned int' from 'unsigned
           int' may alter its value
smb.c:323: warning: conversion to 'short unsigned int' from 'unsigned
           int' may alter its value
smb.c:482: warning: conversion to 'short unsigned int' from 'int' may
           alter its value
smb.c:521: warning: conversion to 'unsigned int' from 'curl_off_t' may
           alter its value
smb.c:549: warning: conversion to 'unsigned int' from 'curl_off_t' may
           alter its value
smb.c:550: warning: conversion to 'short unsigned int' from 'int' may
           alter its value

10 years agosmb.c: Renamed SMB command message variables to avoid compiler warnings
Steve Holme [Sun, 30 Nov 2014 18:56:36 +0000 (18:56 +0000)]
smb.c: Renamed SMB command message variables to avoid compiler warnings

smb.c:489: warning: declaration of 'close' shadows a global declaration
smb.c:511: warning: declaration of 'read' shadows a global declaration
smb.c:528: warning: declaration of 'write' shadows a global declaration

10 years agosmb.c: Fixed compilation warnings
Steve Holme [Sun, 30 Nov 2014 18:29:23 +0000 (18:29 +0000)]
smb.c: Fixed compilation warnings

smb.c:212: warning: unused parameter 'done'
smb.c:380: warning: ISO C does not allow extra ';' outside of a function
smb.c:812: warning: unused parameter 'premature'
smb.c:822: warning: unused parameter 'dead'

10 years agosmb.c: Fixed compilation warnings
Steve Holme [Sun, 30 Nov 2014 18:11:16 +0000 (18:11 +0000)]
smb.c: Fixed compilation warnings

smb.c:311: warning: conversion from 'unsigned __int64' to 'u_short',
           possible loss of data
smb.c:425: warning: conversion from '__int64' to 'unsigned short',
           possible loss of data
smb.c:452: warning: conversion from '__int64' to 'unsigned short',
           possible loss of data

10 years agosmb.c: Fixed compilation warnings
Steve Holme [Sun, 30 Nov 2014 18:07:24 +0000 (18:07 +0000)]
smb.c: Fixed compilation warnings

smb.c:162: error: comma at end of enumerator list
smb.c:469: warning: conversion from 'size_t' to 'unsigned short',
           possible loss of data
smb.c:517: warning: conversion from 'curl_off_t' to 'unsigned int',
           possible loss of data
smb.c:545: warning: conversion from 'curl_off_t' to 'unsigned int',
           possible loss of data

10 years agosmb: Added initial SMB functionality
Bill Nagel [Sun, 30 Nov 2014 16:09:41 +0000 (11:09 -0500)]
smb: Added initial SMB functionality

Initial implementation of the SMB/CIFS protocol.

10 years agosmb: Added SMB handler interfaces
Bill Nagel [Sun, 30 Nov 2014 15:39:14 +0000 (10:39 -0500)]
smb: Added SMB handler interfaces

Added the SMB and SMBS handler interface structures and associated
functions required for SMB/CIFS operation.

10 years agotransfer: Code style policing
Steve Holme [Sun, 30 Nov 2014 14:48:01 +0000 (14:48 +0000)]
transfer: Code style policing

Prefer ! rather than NULL in if statements, added comments and updated
function spacing, argument spacing and line spacing to be more readble.

10 years agotransfer: Fixed existing scratch buffer being checked for NULL twice
Steve Holme [Sun, 30 Nov 2014 14:45:20 +0000 (14:45 +0000)]
transfer: Fixed existing scratch buffer being checked for NULL twice

If the scratch buffer already existed when the CRLF conversion was
performed then the buffer pointer would be checked twice for NULL. This
second check is only necessary if the call to malloc() was performed by
the first check.

10 years agosmtp: Fixed dot stuffing being performed when no new data read
Steve Holme [Sun, 30 Nov 2014 14:24:35 +0000 (14:24 +0000)]
smtp: Fixed dot stuffing being performed when no new data read

Whilst I had moved the dot stuffing code from being performed before
CRLF conversion takes place to after it, in commit 4bd860a001, I had
moved it outside the 'when something read' block of code when meant
it could perform the dot stuffing twice on partial send if nread
happened to contain the right values. It also meant the function could
potentially read past the end of buffer. This was highlighted by the
following warning:

warning: `nread' might be used uninitialized in this function

10 years agosmb.h: fixed picky compiler warning
Daniel Stenberg [Sat, 29 Nov 2014 22:06:04 +0000 (23:06 +0100)]
smb.h: fixed picky compiler warning

smb.h:30:16: error: comma at end of enumerator list [-Werror=pedantic]

10 years agotests: Disable test 1013 until SMB is fully added
Steve Holme [Sat, 29 Nov 2014 21:32:02 +0000 (21:32 +0000)]
tests: Disable test 1013 until SMB is fully added

10 years agosmb: Added SMB protocol and port definitions
Bill Nagel [Sat, 29 Nov 2014 19:19:23 +0000 (14:19 -0500)]
smb: Added SMB protocol and port definitions

Added the necessary protocol and port definitions in order to support
SMB/CIFS.

10 years agosmb: Added internal SMB definitions and structures
Bill Nagel [Sat, 29 Nov 2014 19:03:53 +0000 (14:03 -0500)]
smb: Added internal SMB definitions and structures

Added the internal definitions and structures necessary for SMB/CIFS
support.

10 years agosmb: Added SMB connection structure
Bill Nagel [Sat, 29 Nov 2014 18:33:52 +0000 (13:33 -0500)]
smb: Added SMB connection structure

Added the connection structure that will be required in urldata.h for
SMB/CIFS based connections.

10 years agosmb: Added initial source files for SMB
Bill Nagel [Sat, 29 Nov 2014 18:12:44 +0000 (13:12 -0500)]
smb: Added initial source files for SMB

Added the initial source files and updated the relevant project files in
order to support SMB/CIFS.

10 years agosmb: Added configuration options for SMB
Bill Nagel [Sat, 29 Nov 2014 17:59:29 +0000 (12:59 -0500)]
smb: Added configuration options for SMB

Added --enable-smb and --disable-smb configuration options for the
upcoming SMB/CIFS protocol support.

10 years agoruntests.pl: fix startup of IPv6 servers
Peter Wu [Thu, 27 Nov 2014 22:59:17 +0000 (23:59 +0100)]
runtests.pl: fix startup of IPv6 servers

Commit curl-7_23_1-143-g8218064 changed the parameter of
responsive_http_server to accept types other than IPv6 (converting
from a boolean to a string), but only considered the lower-case "ipv6"
and not the "IPv6" variant. This caused all servers to start in IPv4
mode instead.

This patch converts the remaining cases to "ipv6". While not strictly
necessary for the run*server variants, these got also converted for
consistency and to prevent future errors.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
10 years agoruntests.pl: fix warning message, remove duplicate value
Peter Wu [Thu, 27 Nov 2014 22:59:16 +0000 (23:59 +0100)]
runtests.pl: fix warning message, remove duplicate value

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
10 years agohttp.c: Fixed compilation warnings from features being disabled
Steve Holme [Thu, 27 Nov 2014 22:11:23 +0000 (22:11 +0000)]
http.c: Fixed compilation warnings from features being disabled

warning: unused variable 'data'
warning: variable 'addcookies' set but not used

...and some very minor coding style policing.

10 years agoRELEASE-NOTES: Synced with c5399c827d
Steve Holme [Thu, 27 Nov 2014 21:03:20 +0000 (21:03 +0000)]
RELEASE-NOTES: Synced with c5399c827d

10 years agotests: Added SMTP with --crlf test case
Steve Holme [Wed, 26 Nov 2014 23:23:31 +0000 (23:23 +0000)]
tests: Added SMTP with --crlf test case

10 years agodocs: Updated for commit 4bd860a001 and SMTP Unix line ending conversion
Steve Holme [Wed, 26 Nov 2014 23:04:32 +0000 (23:04 +0000)]
docs: Updated for commit 4bd860a001 and SMTP Unix line ending conversion

10 years agosmtp: Fixed const'ness of nread parameter in Curl_smtp_escape_eob()
Steve Holme [Wed, 26 Nov 2014 22:58:39 +0000 (22:58 +0000)]
smtp: Fixed const'ness of nread parameter in Curl_smtp_escape_eob()

...and some comment typos!

10 years agosmtp: Added support for the conversion of Unix newlines during mail send
Steve Holme [Wed, 26 Nov 2014 22:44:28 +0000 (22:44 +0000)]
smtp: Added support for the conversion of Unix newlines during mail send

Added support for the automatic conversion of Unix newlines to CRLF
during mail uploads.

Feature: http://curl.haxx.se/bug/view.cgi?id=1456

10 years agoCURLOPT_CRLF.3: Fixed inclusion of SMTP in listed protocols
Steve Holme [Tue, 25 Nov 2014 23:23:42 +0000 (23:23 +0000)]
CURLOPT_CRLF.3: Fixed inclusion of SMTP in listed protocols

10 years agocurl*3: added small examples
Daniel Stenberg [Tue, 25 Nov 2014 13:25:02 +0000 (14:25 +0100)]
curl*3: added small examples

and some minor edits

10 years agolibcurl.3: fix formatting
Daniel Stenberg [Tue, 25 Nov 2014 10:56:43 +0000 (11:56 +0100)]
libcurl.3: fix formatting

refer to functions with the man page section properly

10 years agoman pages: SEE ALSO curl_multi_wait
Daniel Stenberg [Tue, 25 Nov 2014 10:48:56 +0000 (11:48 +0100)]
man pages: SEE ALSO curl_multi_wait

10 years agocurl_multi_wait.3: clarify numfds being used if not NULL
Daniel Stenberg [Tue, 25 Nov 2014 10:48:38 +0000 (11:48 +0100)]
curl_multi_wait.3: clarify numfds being used if not NULL

10 years agomulti-single.c: switch to use curl_multi_wait
Daniel Stenberg [Tue, 25 Nov 2014 10:45:38 +0000 (11:45 +0100)]
multi-single.c: switch to use curl_multi_wait

Makes the example much easier and straight-forward!

10 years agotestcurl: bump the version of this script!
Daniel Stenberg [Tue, 25 Nov 2014 10:22:09 +0000 (11:22 +0100)]
testcurl: bump the version of this script!

10 years agotestcurl: skip reading the setup file if given enough cmdline info
Daniel Stenberg [Tue, 25 Nov 2014 09:36:47 +0000 (10:36 +0100)]
testcurl: skip reading the setup file if given enough cmdline info

This makes it much easier to run multiple tests in the same directory,
just altering the command lines used.

10 years agoselect.c: fix compilation for VxWorks
Daniel Stenberg [Tue, 25 Nov 2014 07:55:17 +0000 (08:55 +0100)]
select.c: fix compilation for VxWorks

Reported-by: Brian
Bug: http://curl.haxx.se/bug/view.cgi?id=1455

10 years agoSSL: Add PEM format support for public key pinning
moparisthebest [Mon, 24 Nov 2014 18:30:09 +0000 (19:30 +0100)]
SSL: Add PEM format support for public key pinning

10 years agoRevert "repository: ignore patch files generated by git"
Kamil Dudka [Mon, 24 Nov 2014 14:03:16 +0000 (15:03 +0100)]
Revert "repository: ignore patch files generated by git"

This reverts commit 217024a687ce86eb6d2317822ed81c7e5abc4b61.

Bug: https://github.com/bagder/curl/commit/217024a6#commitcomment-8693738

10 years agomulti.c: Fixed compilation warnings when no verbose string support
Steve Holme [Sun, 23 Nov 2014 19:51:01 +0000 (19:51 +0000)]
multi.c: Fixed compilation warnings when no verbose string support

warning: variable 'connection_id' set but not used
warning: unused parameter 'lineno'

10 years agoRELEASE-NOTES: Synced with 1450712e76
Steve Holme [Sun, 23 Nov 2014 17:22:22 +0000 (17:22 +0000)]
RELEASE-NOTES: Synced with 1450712e76

10 years agosasl: Tidied up some parameter comments
Steve Holme [Sun, 23 Nov 2014 16:31:39 +0000 (16:31 +0000)]
sasl: Tidied up some parameter comments

10 years agosasl: Reduced the need for two sets of NTLM functions
Steve Holme [Sun, 23 Nov 2014 16:22:37 +0000 (16:22 +0000)]
sasl: Reduced the need for two sets of NTLM functions

10 years agontlm: Moved NSS initialisation to base decode function
Steve Holme [Sun, 23 Nov 2014 15:58:24 +0000 (15:58 +0000)]
ntlm: Moved NSS initialisation to base decode function

10 years agohttp_ntlm: Fixed additional NSS initialisation call when decoding type-2
Steve Holme [Sun, 23 Nov 2014 15:46:12 +0000 (15:46 +0000)]
http_ntlm: Fixed additional NSS initialisation call when decoding type-2

After commit 48d19acb7c the HTTP code would call Curl_nss_force_init()
twice when decoding a NTLM type-2 message, once directly and the other
through the call to Curl_sasl_decode_ntlm_type2_message().

10 years agontlm: Fixed static'ness of local decode function
Steve Holme [Sun, 23 Nov 2014 10:32:49 +0000 (10:32 +0000)]
ntlm: Fixed static'ness of local decode function

10 years agontlm: Corrected some parameter names and comments
Steve Holme [Sun, 23 Nov 2014 10:17:36 +0000 (10:17 +0000)]
ntlm: Corrected some parameter names and comments

10 years agoruntests.pl: Re-aligned feature support comments
Steve Holme [Sat, 22 Nov 2014 23:12:44 +0000 (23:12 +0000)]
runtests.pl: Re-aligned feature support comments

10 years agoruntests.pl: Use Kerberos and SPNEGO as proxies for the crypto feature
Steve Holme [Sat, 22 Nov 2014 12:30:15 +0000 (12:30 +0000)]
runtests.pl: Use Kerberos and SPNEGO as proxies for the crypto feature

In addition to NTLM, use Kerberos and SPNEGO as proxies to the crypto
feature.

...and converted tab characters, from commit 4b4e8a5853, to spaces.

10 years agoruntests.pl: Added support for SPNEGO
Steve Holme [Sat, 22 Nov 2014 12:24:13 +0000 (12:24 +0000)]
runtests.pl: Added support for SPNEGO

10 years agoruntests.pl: Added Kerberos detection
Steve Holme [Sat, 22 Nov 2014 12:18:17 +0000 (12:18 +0000)]
runtests.pl: Added Kerberos detection

10 years agoruntests.pl: Added GSS-API detection
Steve Holme [Sat, 22 Nov 2014 12:12:42 +0000 (12:12 +0000)]
runtests.pl: Added GSS-API detection

10 years agoFILEFORMAT: Added SSPI, GSS-API and Kerberos to the features list
Steve Holme [Fri, 21 Nov 2014 18:44:58 +0000 (18:44 +0000)]
FILEFORMAT: Added SSPI, GSS-API and Kerberos to the features list

10 years agoFILEFORMAT: Added test requires feature not present information
Steve Holme [Fri, 21 Nov 2014 18:42:40 +0000 (18:42 +0000)]
FILEFORMAT: Added test requires feature not present information

Such as !SSPI as we do for the NTLM and Digest tests.

10 years agohttp.c: log if it notices HTTP 1.1 after a upgrade to http2
Daniel Stenberg [Fri, 5 Sep 2014 22:05:03 +0000 (00:05 +0200)]
http.c: log if it notices HTTP 1.1 after a upgrade to http2

10 years agotest1801: first real http2 test case
Daniel Stenberg [Sat, 2 Aug 2014 22:47:21 +0000 (00:47 +0200)]
test1801: first real http2 test case

10 years agosws: initial tiny steps toward http2 support
Daniel Stenberg [Sat, 2 Aug 2014 22:46:39 +0000 (00:46 +0200)]
sws: initial tiny steps toward http2 support

10 years agoFILEFORMAT: mention the new upgrade support
Daniel Stenberg [Sat, 2 Aug 2014 22:46:16 +0000 (00:46 +0200)]
FILEFORMAT: mention the new upgrade support

10 years agotest1800: first plain-text http2 test case
Daniel Stenberg [Sat, 2 Aug 2014 21:51:46 +0000 (23:51 +0200)]
test1800: first plain-text http2 test case

Verifies the upgrade request, but gets a plain 1.1 response

10 years agohttp: Disable pipelining for HTTP/2 and upgraded connections
Tatsuhiro Tsujikawa [Thu, 20 Nov 2014 12:44:00 +0000 (21:44 +0900)]
http: Disable pipelining for HTTP/2 and upgraded connections

This commit disables pipelining for HTTP/2 or upgraded connections.  For
HTTP/2, we do not support multiplexing.  In general, requests cannot be
pipelined in an upgraded connection, since it is now different protocol.

10 years agoCURLOPT_POSTFIELDS.3: mention the COPYPOSTFIELDS option
Brad Harder [Thu, 20 Nov 2014 09:27:09 +0000 (10:27 +0100)]
CURLOPT_POSTFIELDS.3: mention the COPYPOSTFIELDS option

10 years agomulti-uv.c: Updated for curl coding standards
Steve Holme [Wed, 19 Nov 2014 20:10:27 +0000 (20:10 +0000)]
multi-uv.c: Updated for curl coding standards

10 years agoconncache: Fixed specifiers in infof() for long and size_t variables
Steve Holme [Wed, 19 Nov 2014 20:04:21 +0000 (20:04 +0000)]
conncache: Fixed specifiers in infof() for long and size_t variables

10 years agocmake: add Kerberos to the supported features
Peter Wu [Wed, 19 Nov 2014 15:53:22 +0000 (16:53 +0100)]
cmake: add Kerberos to the supported features

Updated following commit eda919f and a4b7f71.

Acked-by: Brad King <brad.king@kitware.com>
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
10 years agocmake: fix NTLM detection when CURL_DISABLE_HTTP defined
Peter Wu [Wed, 19 Nov 2014 15:48:23 +0000 (16:48 +0100)]
cmake: fix NTLM detection when CURL_DISABLE_HTTP defined

Updated following changes in commit f0d860d.

Acked-by: Brad King <brad.king@kitware.com>
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
10 years agoRELEASE-NOTES: synced with cb13fad733e
Daniel Stenberg [Wed, 19 Nov 2014 13:06:07 +0000 (14:06 +0100)]
RELEASE-NOTES: synced with cb13fad733e

10 years agoexamples: Wait recommended 100ms when no file descriptors are ready
Jay Satiro [Mon, 17 Nov 2014 07:26:03 +0000 (02:26 -0500)]
examples: Wait recommended 100ms when no file descriptors are ready

Prior to this change when no file descriptors were ready on platforms
other than Windows the multi examples would sleep whatever was in
timeout, which may or may not have been less than the minimum
recommended value [1] of 100ms.

[1]: http://curl.haxx.se/libcurl/c/curl_multi_fdset.html

10 years agomulti-uv.c: close the file handle after download
Waldek Kozba [Tue, 7 Oct 2014 10:53:59 +0000 (12:53 +0200)]
multi-uv.c: close the file handle after download

10 years agomulti: inform about closed sockets before they are closed
Jon Spencer [Fri, 14 Nov 2014 18:32:47 +0000 (10:32 -0800)]
multi: inform about closed sockets before they are closed

When the connection code decides to close a socket it informs the multi
system via the Curl_multi_closed function. The multi system may, in
turn, invoke the CURLMOPT_SOCKETFUNCTION function with
CURL_POLL_REMOVE. This happens after the socket has already been
closed. Reorder the code so that CURL_POLL_REMOVE is called before the
socket is closed.

10 years agobuild: in Makefile.m32 moved target autodetection.
Guenter Knauf [Wed, 19 Nov 2014 11:39:20 +0000 (12:39 +0100)]
build: in Makefile.m32 moved target autodetection.

Moved target autodetection block after defining CC macro.

10 years agobuild: in Makefile.m32 simplify platform flags.
Guenter Knauf [Wed, 19 Nov 2014 10:46:02 +0000 (11:46 +0100)]
build: in Makefile.m32 simplify platform flags.

10 years agobuild: in Makefile.m32 try to detect 64bit target.
Guenter Knauf [Wed, 19 Nov 2014 10:38:37 +0000 (11:38 +0100)]
build: in Makefile.m32 try to detect 64bit target.

10 years agoCMake: Simplify if() conditions on check result variables
Brad King [Fri, 14 Nov 2014 21:33:14 +0000 (22:33 +0100)]
CMake: Simplify if() conditions on check result variables

Remove use of an old hack that takes advantage of the auto-dereference
behavior of the if() command to detect if a variable is defined.  The
hack has the form:

 if("${VAR} MATCHES "^${VAR}$")

where "${VAR}" is a macro argument reference.  Use if(DEFINED) instead.
This also avoids warnings for CMake Policy CMP0054 in CMake 3.1.

10 years agoTODO-RELEASE: removed
Daniel Stenberg [Wed, 19 Nov 2014 10:17:45 +0000 (11:17 +0100)]
TODO-RELEASE: removed

10 years agodebug: added new connection cache output, plus fixups
Carlo Wood [Tue, 18 Nov 2014 22:02:40 +0000 (23:02 +0100)]
debug: added new connection cache output, plus fixups

Debug output 'typo' fix.

Don't print an extra "0x" in
  * Pipe broke: handle 0x0x2546d88, url = /

Add debug output.
Print the number of connections in the connection cache when
  adding one, and not only when one is removed.

Fix typos in comments.

10 years agomulti: move the ending condition into the loop as well
Daniel Stenberg [Tue, 18 Nov 2014 19:51:54 +0000 (20:51 +0100)]
multi: move the ending condition into the loop as well

... as it was before I changed the loop in commit e04ccbd50. It caused
test 2030 and 2032 to fail.

10 years agomulti: Prefer we don't use CURLE_OK and NULL in comparisons
Steve Holme [Tue, 18 Nov 2014 20:25:05 +0000 (20:25 +0000)]
multi: Prefer we don't use CURLE_OK and NULL in comparisons

10 years agomulti_runsingle: use 'result' for local CURLcode storage
Daniel Stenberg [Tue, 18 Nov 2014 14:18:21 +0000 (15:18 +0100)]
multi_runsingle: use 'result' for local CURLcode storage

... and assign data->result only at the end. Makes the code more compact
(easier to read) and more similar to other code.

10 years agomulti_runsingle: rename result to rc
Daniel Stenberg [Tue, 18 Nov 2014 13:37:57 +0000 (14:37 +0100)]
multi_runsingle: rename result to rc

save 'result' for CURLcode types

10 years agomulti: make multi_runsingle loop internally
Daniel Stenberg [Tue, 18 Nov 2014 13:34:55 +0000 (14:34 +0100)]
multi: make multi_runsingle loop internally

simplifies the use of this function at little cost.

10 years agomulti: when leaving for timeout, close accordingly
Carlo Wood [Sun, 16 Nov 2014 20:53:56 +0000 (21:53 +0100)]
multi: when leaving for timeout, close accordingly

Fixes the problem when a transfer in a pipeline times out.

10 years agobuild: in Makefile.m32 add -m32 flag for 32bit.
Guenter Knauf [Tue, 18 Nov 2014 13:25:41 +0000 (14:25 +0100)]
build: in Makefile.m32 add -m32 flag for 32bit.

10 years agomk-ca-bundle.vbs: update copyright year.
Guenter Knauf [Tue, 18 Nov 2014 12:47:13 +0000 (13:47 +0100)]
mk-ca-bundle.vbs: update copyright year.

10 years agobuild: in Makefile.m32 pass -F flag to windres.
Guenter Knauf [Tue, 18 Nov 2014 12:44:03 +0000 (13:44 +0100)]
build: in Makefile.m32 pass -F flag to windres.

10 years agoconfig-win32: Fixed build targets for the VS2012+ Windows XP toolset
Steve Holme [Tue, 18 Nov 2014 00:01:27 +0000 (00:01 +0000)]
config-win32: Fixed build targets for the VS2012+ Windows XP toolset

Even though commit 23e70e1cc6 mentioned the v110_xp toolset, I had
forgotten to include the relevant pre-processor definitions.

10 years agosasl_sspi: Removed note about the NTLM functions being a wrapper
Steve Holme [Sun, 16 Nov 2014 22:44:58 +0000 (22:44 +0000)]
sasl_sspi: Removed note about the NTLM functions being a wrapper

10 years agoconnect.c: Fixed compilation warning when no verbose string support
Steve Holme [Sun, 16 Nov 2014 18:19:58 +0000 (18:19 +0000)]
connect.c: Fixed compilation warning when no verbose string support

warning: unused parameter 'reason'

10 years agoeasy.c: Fixed compilation warning when no verbose string support
Steve Holme [Sun, 16 Nov 2014 18:16:27 +0000 (18:16 +0000)]
easy.c: Fixed compilation warning when no verbose string support

warning: unused parameter 'easy'

10 years agowin32: Updated some legacy APIs to use the newer extended versions
Steve Holme [Sun, 16 Nov 2014 17:27:44 +0000 (17:27 +0000)]
win32: Updated some legacy APIs to use the newer extended versions

Updated the usage of some legacy APIs, that are preventing curl from
compiling for Windows Store and Windows Phone build targets.

Suggested-by: Stefan Neis
Feature: http://sourceforge.net/p/curl/feature-requests/82/

10 years agoconfig-win32: Introduce build targets for VS2012+
Steve Holme [Sun, 16 Nov 2014 17:18:19 +0000 (17:18 +0000)]
config-win32: Introduce build targets for VS2012+

Visual Studio 2012 introduced support for Windows Store apps as well as
supporting Windows Phone 8. Introduced build targets that allow more
modern APIs to be used as certain legacy ones are not available on these
new platforms.

10 years agosasl_sspi: Fixed compilation warnings when no verbose string support
Steve Holme [Sun, 16 Nov 2014 14:39:26 +0000 (14:39 +0000)]
sasl_sspi: Fixed compilation warnings when no verbose string support

10 years agosasl_sspi: Added base64 decoding debug failure messages
Steve Holme [Sun, 16 Nov 2014 13:27:03 +0000 (13:27 +0000)]
sasl_sspi: Added base64 decoding debug failure messages

Just like in the NTLM code, added infof() failure messages for
DIGEST-MD5 and GSSAPI authentication when base64 decoding fails.

10 years agontlm: Moved the SSPI based Type-3 message generation into the SASL module
Steve Holme [Sun, 16 Nov 2014 13:18:26 +0000 (13:18 +0000)]
ntlm: Moved the SSPI based Type-3 message generation into the SASL module

10 years agontlm: Moved the SSPI based Type-2 message decoding into the SASL module
Steve Holme [Sun, 16 Nov 2014 12:58:04 +0000 (12:58 +0000)]
ntlm: Moved the SSPI based Type-2 message decoding into the SASL module

10 years agontlm: Moved the SSPI based Type-1 message generation into the SASL module
Steve Holme [Sun, 16 Nov 2014 12:45:30 +0000 (12:45 +0000)]
ntlm: Moved the SSPI based Type-1 message generation into the SASL module

10 years agokerberos: Use symbol qualified with _KERBEROS5
Michael Osipov [Sun, 16 Nov 2014 09:50:06 +0000 (09:50 +0000)]
kerberos: Use symbol qualified with _KERBEROS5

For consistency renamed USE_KRB5 to USE_KERBEROS5.