platform/upstream/curl.git
10 years agocurl_easy_setopt.3: refer to the individual man pages
Daniel Stenberg [Sat, 21 Jun 2014 13:45:50 +0000 (15:45 +0200)]
curl_easy_setopt.3: refer to the individual man pages

With all the new individual option man pages created, this now refers to
each separate one instead of duplicaing the info. Also makes this page
easier to overview.

10 years agoopts: fixed mancheck for out-of-tree builds
Dan Fandrich [Sat, 21 Jun 2014 09:22:04 +0000 (11:22 +0200)]
opts: fixed mancheck for out-of-tree builds

10 years agocurl_easy_setopt.3: shorten
Daniel Stenberg [Fri, 20 Jun 2014 22:03:45 +0000 (00:03 +0200)]
curl_easy_setopt.3: shorten

shorten descriptions, mostly refer to the separate descriptions

10 years agoCURLOPT_DNS_LOCAL_IP4.3: better short desc
Daniel Stenberg [Fri, 20 Jun 2014 12:26:56 +0000 (14:26 +0200)]
CURLOPT_DNS_LOCAL_IP4.3: better short desc

10 years agoopts: document CURLE_OUT_OF_MEMORY among other return values
Dan Fandrich [Fri, 20 Jun 2014 21:43:26 +0000 (23:43 +0200)]
opts: document CURLE_OUT_OF_MEMORY among other return values

10 years agoopts: fixed some typos
Dan Fandrich [Fri, 20 Jun 2014 21:04:39 +0000 (23:04 +0200)]
opts: fixed some typos

10 years agoopts: various corrections
Daniel Stenberg [Thu, 19 Jun 2014 23:10:34 +0000 (01:10 +0200)]
opts: various corrections

10 years agoopts: add the rest of the options
Daniel Stenberg [Thu, 19 Jun 2014 23:02:49 +0000 (01:02 +0200)]
opts: add the rest of the options

... and fixed mancheck to ignore obsolete options

10 years agoopts: the final bunch of options as man pages
Daniel Stenberg [Thu, 19 Jun 2014 22:58:18 +0000 (00:58 +0200)]
opts: the final bunch of options as man pages

Now all current options have their own man pages.

10 years agoopts: 37 additional man pages
Daniel Stenberg [Thu, 19 Jun 2014 15:59:00 +0000 (17:59 +0200)]
opts: 37 additional man pages

10 years agoCURLOPT_URL: move up the text from "Notes"
Daniel Stenberg [Thu, 19 Jun 2014 13:11:49 +0000 (15:11 +0200)]
CURLOPT_URL: move up the text from "Notes"

10 years agoROADMAP: removed, now ROADMAP.md
Daniel Stenberg [Thu, 19 Jun 2014 13:11:28 +0000 (15:11 +0200)]
ROADMAP: removed, now ROADMAP.md

10 years agoROADMAP.md: make it markdown formatted
Daniel Stenberg [Thu, 19 Jun 2014 12:16:14 +0000 (14:16 +0200)]
ROADMAP.md: make it markdown formatted

10 years agoROADMAP: initial commit of "curl the next few years"
Daniel Stenberg [Thu, 19 Jun 2014 12:08:12 +0000 (14:08 +0200)]
ROADMAP: initial commit of "curl the next few years"

To be further discussed, debated and edited

10 years agoopts: more man pages
Daniel Stenberg [Thu, 19 Jun 2014 11:53:13 +0000 (13:53 +0200)]
opts: more man pages

10 years agoCURLOPT_UNRESTRICTED_AUTH.3: added missing 'T'
Daniel Stenberg [Thu, 19 Jun 2014 06:40:51 +0000 (08:40 +0200)]
CURLOPT_UNRESTRICTED_AUTH.3: added missing 'T'

10 years agoopts: makefile now includes all current man pages
Daniel Stenberg [Wed, 18 Jun 2014 22:08:18 +0000 (00:08 +0200)]
opts: makefile now includes all current man pages

10 years agoopts: 11 more man pages
Daniel Stenberg [Wed, 18 Jun 2014 21:35:48 +0000 (23:35 +0200)]
opts: 11 more man pages

10 years agoopts: document CURLE_OUT_OF_MEMORY as RETURN VALUE
Dan Fandrich [Wed, 18 Jun 2014 21:27:24 +0000 (23:27 +0200)]
opts: document CURLE_OUT_OF_MEMORY as RETURN VALUE

10 years agoopts: fixed a couple of typos
Dan Fandrich [Wed, 18 Jun 2014 21:07:08 +0000 (23:07 +0200)]
opts: fixed a couple of typos

10 years agoOS400: make it compilable again. Make RPG binding up to date.
Patrick Monnerat [Wed, 18 Jun 2014 18:22:44 +0000 (20:22 +0200)]
OS400: make it compilable again. Make RPG binding up to date.

10 years agobuildconf: do not search tools in current directory.
Patrick Monnerat [Wed, 18 Jun 2014 13:41:06 +0000 (15:41 +0200)]
buildconf: do not search tools in current directory.

10 years agocurl.h: renamed CURLOPT_DEPRECATEDx to CURLOPT_OBSOLETEx
Dan Fandrich [Wed, 18 Jun 2014 12:56:13 +0000 (14:56 +0200)]
curl.h: renamed CURLOPT_DEPRECATEDx to CURLOPT_OBSOLETEx

This is consistent with the existing obsolete error code naming
convention.

10 years agoopts: 16 more man pages
Daniel Stenberg [Wed, 18 Jun 2014 12:38:24 +0000 (14:38 +0200)]
opts: 16 more man pages

10 years agoopts: more man pages
Daniel Stenberg [Wed, 18 Jun 2014 11:18:58 +0000 (13:18 +0200)]
opts: more man pages

10 years agoCURLOPT_READFUNCTION.3: add short desc
Daniel Stenberg [Wed, 18 Jun 2014 09:55:13 +0000 (11:55 +0200)]
CURLOPT_READFUNCTION.3: add short desc

10 years agoCURLOPT_LOW_SPEED_LIMIT.3: language
Daniel Stenberg [Wed, 18 Jun 2014 09:54:42 +0000 (11:54 +0200)]
CURLOPT_LOW_SPEED_LIMIT.3: language

10 years agoopts: 4 more man pages
Daniel Stenberg [Wed, 18 Jun 2014 09:45:22 +0000 (11:45 +0200)]
opts: 4 more man pages

10 years agoopts: add all existing man pages to the dist
Daniel Stenberg [Wed, 18 Jun 2014 08:18:00 +0000 (10:18 +0200)]
opts: add all existing man pages to the dist

10 years agolibcurl build: use correct dir when cd'ing to opts for pdf building
Daniel Stenberg [Wed, 18 Jun 2014 08:14:32 +0000 (10:14 +0200)]
libcurl build: use correct dir when cd'ing to opts for pdf building

10 years agotests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE
Dan Fandrich [Tue, 17 Jun 2014 23:17:23 +0000 (01:17 +0200)]
tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE

10 years agoopts: fixed a few typos
Dan Fandrich [Tue, 17 Jun 2014 22:54:30 +0000 (00:54 +0200)]
opts: fixed a few typos

10 years agoopts: 29 more options as man pages
Daniel Stenberg [Tue, 17 Jun 2014 22:29:22 +0000 (00:29 +0200)]
opts: 29 more options as man pages

10 years agocurl.h: moved two really old deprecated symbols
Daniel Stenberg [Tue, 17 Jun 2014 21:36:29 +0000 (23:36 +0200)]
curl.h: moved two really old deprecated symbols

... from the CINIT() enum

10 years agoopts: 9 more options as separate man pages
Daniel Stenberg [Tue, 17 Jun 2014 16:04:40 +0000 (18:04 +0200)]
opts: 9 more options as separate man pages

10 years agoopts: 3 more options as man pages
Daniel Stenberg [Tue, 17 Jun 2014 14:48:16 +0000 (16:48 +0200)]
opts: 3 more options as man pages

10 years agoopts: 7 more setopt options as individual man pages
Daniel Stenberg [Tue, 17 Jun 2014 09:39:26 +0000 (11:39 +0200)]
opts: 7 more setopt options as individual man pages

10 years agoopts template: provide a filled in error code phrase
Daniel Stenberg [Tue, 17 Jun 2014 09:38:51 +0000 (11:38 +0200)]
opts template: provide a filled in error code phrase

10 years agoCURLOPT_SOCKOPTFUNCTION.3: clarify return code
Daniel Stenberg [Tue, 17 Jun 2014 08:10:13 +0000 (10:10 +0200)]
CURLOPT_SOCKOPTFUNCTION.3: clarify return code

10 years agocurl.h: reverse the enum/define setup for old symbols
Daniel Stenberg [Tue, 17 Jun 2014 08:02:41 +0000 (10:02 +0200)]
curl.h: reverse the enum/define setup for old symbols

We now provide the "real" names in the CINIT() macro setup for CURLOPT_*
symbols, and we provide backwards compatibility defines for the old
symbols as defines instead of vice versa.

This allows us to better use the CINIT() list to check for existing and
current option names.

10 years agoCURLOPT_WRITEDATA.3: move version info to AVAILABILITY
Daniel Stenberg [Tue, 17 Jun 2014 08:02:14 +0000 (10:02 +0200)]
CURLOPT_WRITEDATA.3: move version info to AVAILABILITY

10 years agoopts: 4 more options with stand-alone man pages
Daniel Stenberg [Tue, 17 Jun 2014 07:54:58 +0000 (09:54 +0200)]
opts: 4 more options with stand-alone man pages

10 years agoCURLOPT_READFUNCTION.3: see also the seekfunction
Daniel Stenberg [Tue, 17 Jun 2014 07:54:40 +0000 (09:54 +0200)]
CURLOPT_READFUNCTION.3: see also the seekfunction

10 years agoCURLOPT_IOCTLFUNCTION.3: fill in short desc
Daniel Stenberg [Tue, 17 Jun 2014 06:12:14 +0000 (08:12 +0200)]
CURLOPT_IOCTLFUNCTION.3: fill in short desc

10 years agoCURLOPT_READDATA.3: fixed typo
Dan Fandrich [Mon, 16 Jun 2014 22:46:32 +0000 (00:46 +0200)]
CURLOPT_READDATA.3: fixed typo

10 years agotool_metalink: Support polarssl as digest provider
Michał Górny [Sun, 15 Jun 2014 15:35:49 +0000 (17:35 +0200)]
tool_metalink: Support polarssl as digest provider

10 years agoopts: initial makefile
Daniel Stenberg [Mon, 16 Jun 2014 22:29:02 +0000 (00:29 +0200)]
opts: initial makefile

with a bonus first rough 'mancheck' target to see which man pages that
are still missing

10 years agoCURLOPT_IOCTLFUNCTION.3: initial man page
Daniel Stenberg [Mon, 16 Jun 2014 22:15:41 +0000 (00:15 +0200)]
CURLOPT_IOCTLFUNCTION.3: initial man page

10 years agoCURLOPT_WRITEFUNCTION: changed the order of some sentences
Daniel Stenberg [Mon, 16 Jun 2014 22:02:22 +0000 (00:02 +0200)]
CURLOPT_WRITEFUNCTION: changed the order of some sentences

First explain the data then describe what the callback should return.

10 years agoCURLOPT_WRITEFUNCTION.3: improved language
Daniel Stenberg [Mon, 16 Jun 2014 21:55:30 +0000 (23:55 +0200)]
CURLOPT_WRITEFUNCTION.3: improved language

Suggestions-by: Jeff Pohlmeyer
10 years agoopts docs: 3 more options in their own man pages
Daniel Stenberg [Mon, 16 Jun 2014 21:01:12 +0000 (23:01 +0200)]
opts docs: 3 more options in their own man pages

10 years agotemplate: a template for adding new option man pages
Daniel Stenberg [Mon, 16 Jun 2014 20:16:13 +0000 (22:16 +0200)]
template: a template for adding new option man pages

Inludes all the sections to consider.

10 years agoCURLOPT_WRITEFUNCTION: add RETURN VALUE and DEFAULT sections
Daniel Stenberg [Mon, 16 Jun 2014 20:01:08 +0000 (22:01 +0200)]
CURLOPT_WRITEFUNCTION: add RETURN VALUE and DEFAULT sections

10 years agocurlbuild: fix GCC build on SPARC systems without configure script
MAN-AT-ARMS [Mon, 16 Jun 2014 19:12:14 +0000 (15:12 -0400)]
curlbuild: fix GCC build on SPARC systems without configure script

10 years agoCURLOPT_WRITEFUNCTION: initial man page
Daniel Stenberg [Mon, 16 Jun 2014 18:27:37 +0000 (20:27 +0200)]
CURLOPT_WRITEFUNCTION: initial man page

10 years agoCURLOPT_WILDCARDMATCH: initial man page
Daniel Stenberg [Mon, 16 Jun 2014 18:27:28 +0000 (20:27 +0200)]
CURLOPT_WILDCARDMATCH: initial man page

10 years agoCURLOPT_VERBOSE: initial man page
Daniel Stenberg [Mon, 16 Jun 2014 18:27:18 +0000 (20:27 +0200)]
CURLOPT_VERBOSE: initial man page

10 years agoCURLOPT_NOSIGNAL: initial man page
Daniel Stenberg [Mon, 16 Jun 2014 18:27:07 +0000 (20:27 +0200)]
CURLOPT_NOSIGNAL: initial man page

10 years agoCURLOPT_NOPROGRESS: initial man page
Daniel Stenberg [Mon, 16 Jun 2014 18:26:53 +0000 (20:26 +0200)]
CURLOPT_NOPROGRESS: initial man page

10 years agoCURLOPT_HEADER: initial man page
Daniel Stenberg [Mon, 16 Jun 2014 18:26:32 +0000 (20:26 +0200)]
CURLOPT_HEADER: initial man page

10 years agosasl: Added back qop argument mistakenly removed in e95ca7ce
Dan Fandrich [Sun, 15 Jun 2014 10:38:11 +0000 (12:38 +0200)]
sasl: Added back qop argument mistakenly removed in e95ca7ce

This caused segfaults on tests 823 869 907.

10 years agotest1398: Added test to Makefile.am
Dan Fandrich [Sun, 15 Jun 2014 10:28:43 +0000 (12:28 +0200)]
test1398: Added test to Makefile.am

10 years agohttps: Fix build when http2 is disabled
Dan Fandrich [Sun, 15 Jun 2014 10:24:47 +0000 (12:24 +0200)]
https: Fix build when http2 is disabled

10 years agohttp2: better return code error checking
Daniel Stenberg [Fri, 13 Jun 2014 22:11:01 +0000 (00:11 +0200)]
http2: better return code error checking

10 years agoconncache: move the connection counter to the cache struct
Lindley French [Thu, 12 Jun 2014 18:36:41 +0000 (11:36 -0700)]
conncache: move the connection counter to the cache struct

The static connection counter caused a race condition. Moving the
connection id counter into conncache solves it, as well as simplifying
the related logic.

10 years agohttp2: avoid segfault when usint the plain-text http2
Daniel Stenberg [Thu, 12 Jun 2014 21:38:09 +0000 (23:38 +0200)]
http2: avoid segfault when usint the plain-text http2

This regression was introduced when *init was split into *init and
*setup...

10 years agoRELEASE-NOTES: Synced with 3aa1329e0a
Steve Holme [Wed, 11 Jun 2014 21:59:14 +0000 (22:59 +0100)]
RELEASE-NOTES: Synced with 3aa1329e0a

10 years agocurl_sasl: revert the goto for error bailout
Daniel Stenberg [Wed, 11 Jun 2014 21:32:10 +0000 (23:32 +0200)]
curl_sasl: revert the goto for error bailout

They were added because of an older code path that used allocations and
should not have been left in the code. With this change the logic goes
back to how it was.

10 years agoNTLM: set a fake entropy for debug builds with CURL_ENTROPY set
Daniel Stenberg [Thu, 20 Mar 2014 10:17:40 +0000 (11:17 +0100)]
NTLM: set a fake entropy for debug builds with CURL_ENTROPY set

Curl_rand() will return a dummy and repatable random value for this
case. Makes it possible to write test cases that verify output.

Also, fake timestamp with CURL_FORCETIME set.

Only when built debug enabled of course.

Curl_ssl_random() was not used anymore so it has been
removed. Curl_rand() is enough.

create_digest_md5_message: generate base64 instead of hex string

curl_sasl: also fix memory leaks in some OOM situations

10 years agotests: Disabled NTLM tests for non-debug builds
Steve Holme [Wed, 11 Jun 2014 17:12:48 +0000 (18:12 +0100)]
tests: Disabled NTLM tests for non-debug builds

Added required "debug" feature, missed in commit 1c9aaa0bac, as NTLMv2
calls Curl_rand() which can only be fixed to a specific entropy in
debug builds.

10 years agoCurl_rand: Use a fake entropy for debug builds when CURL_ENTROPY set
Steve Holme [Sun, 8 Jun 2014 19:33:29 +0000 (20:33 +0100)]
Curl_rand: Use a fake entropy for debug builds when CURL_ENTROPY set

10 years agogetinfo: HTTP CONNECT code not reset between transfers
Marcel Raad [Tue, 10 Jun 2014 20:44:51 +0000 (22:44 +0200)]
getinfo: HTTP CONNECT code not reset between transfers

httpproxycode is not reset in Curl_initinfo, so a 407 is not reset even
if curl_easy_reset is called between transfers.

Bug: http://curl.haxx.se/bug/view.cgi?id=1380

10 years agotransfer: fix info messages when switching method on 301 and 302
Alessandro Ghedini [Sun, 8 Jun 2014 16:59:48 +0000 (18:59 +0200)]
transfer: fix info messages when switching method on 301 and 302

The method change is forbidden by the obsolete RFC2616, but libcurl did
it anyway for compatibility reasons. The new RFC7231 allows this
behaviour so there's no need for the scary "Violate RFC 2616/10.3.x"
notice. Also update the comments accordingly.

10 years agowinbuild: Don't USE_WINSSL when WITH_SSL is being used
Steve Holme [Fri, 6 Jun 2014 13:09:59 +0000 (14:09 +0100)]
winbuild: Don't USE_WINSSL when WITH_SSL is being used

Regression of commit d39bbcfa8d when compiling against OpenSSL.

10 years agoRELEASE-NOTES: Synced with 99303bcde5
Steve Holme [Thu, 5 Jun 2014 23:01:11 +0000 (00:01 +0100)]
RELEASE-NOTES: Synced with 99303bcde5

10 years agobuild: Fixed Visual Studio static OpenSSL builds following commit c50ce85918
Steve Holme [Thu, 5 Jun 2014 22:44:37 +0000 (23:44 +0100)]
build: Fixed Visual Studio static OpenSSL builds following commit c50ce85918

10 years agowinbuild: Fixed static OpenSSL builds following commit c50ce85918
Steve Holme [Thu, 5 Jun 2014 22:19:00 +0000 (23:19 +0100)]
winbuild: Fixed static OpenSSL builds following commit c50ce85918

10 years agoconfig-win32.h: Updated for VC12
Steve Holme [Thu, 5 Jun 2014 07:10:54 +0000 (09:10 +0200)]
config-win32.h: Updated for VC12

Bug: http://curl.haxx.se/bug/view.cgi?id=1378
Reported and Patched-by: Marcel Raad

10 years agoKNOWN_BUGS: #83 was addressed with commit c50ce859187ca
Daniel Stenberg [Wed, 4 Jun 2014 18:21:02 +0000 (18:21 +0000)]
KNOWN_BUGS: #83 was addressed with commit c50ce859187ca

10 years agoCurl_ossl_init: call OPENSSL_config for initing engines
Daniel Stenberg [Tue, 3 Jun 2014 16:08:20 +0000 (18:08 +0200)]
Curl_ossl_init: call OPENSSL_config for initing engines

Bug: http://curl.haxx.se/mail/lib-2014-06/0003.html
Reported-by: Дмитрий Фалько
10 years agorandom: use Curl_rand() for proper random data
Daniel Stenberg [Tue, 3 Jun 2014 16:25:48 +0000 (18:25 +0200)]
random: use Curl_rand() for proper random data

The SASL/Digest previously used the current time's seconds +
microseconds to add randomness but it is much better to instead get more
data from Curl_rand().

It will also allow us to easier "fake" that for debug builds on demand
in a future.

10 years agocurl_sasl: Fixed copy/paste error of now.tv_sec in commit eefeb73af4
Steve Holme [Mon, 2 Jun 2014 22:09:42 +0000 (23:09 +0100)]
curl_sasl: Fixed copy/paste error of now.tv_sec in commit eefeb73af4

10 years agoRELEASE-NOTES: synced with d603ed67535
Daniel Stenberg [Mon, 2 Jun 2014 09:41:41 +0000 (11:41 +0200)]
RELEASE-NOTES: synced with d603ed67535

10 years agoKNOWN_BUGS: #30 was fixed in 0bc4938eeccce, 7.37.0
Daniel Stenberg [Sun, 1 Jun 2014 17:59:17 +0000 (19:59 +0200)]
KNOWN_BUGS: #30 was fixed in 0bc4938eeccce, 7.37.0

10 years agocurl_sasl: Fixed compilation warning under DEBUGBUILD
Steve Holme [Sun, 1 Jun 2014 11:26:09 +0000 (12:26 +0100)]
curl_sasl: Fixed compilation warning under DEBUGBUILD

10 years agotests: Fixed up DIGEST-MD5 tests following commit eefeb73af4
Steve Holme [Sun, 1 Jun 2014 11:16:58 +0000 (12:16 +0100)]
tests: Fixed up DIGEST-MD5 tests following commit eefeb73af4

10 years agocurl_sasl: Extended native DIGEST-MD5 cnonce to be a 32-byte hex string
Steve Holme [Sun, 1 Jun 2014 10:11:08 +0000 (11:11 +0100)]
curl_sasl: Extended native DIGEST-MD5 cnonce to be a 32-byte hex string

Rather than use a short 8-byte hex string, extended the cnonce to be
32-bytes long, like Windows SSPI does.

Used a combination of random data as well as the current date and
time for the generation.

10 years agocurl_sasl_sspi: Fixed corrupt hostname in DIGEST-MD5 SPN generation
Steve Holme [Sun, 1 Jun 2014 09:35:48 +0000 (10:35 +0100)]
curl_sasl_sspi: Fixed corrupt hostname in DIGEST-MD5 SPN generation

10 years agotests: Fix portability issue with the tftpd server and timeouts
Dan Fandrich [Thu, 29 May 2014 07:24:12 +0000 (09:24 +0200)]
tests: Fix portability issue with the tftpd server and timeouts

gcc spit out warning: variable 'x' might be clobbered by 'longjmp' or
'vfork' messages for a few variables.  These automatic variables were
expected to be changed between a setjmp/longjmp and hold their values,
so are now marked volatile.

10 years agoRELEASE-NOTES: Synced with 2a615a2b64
Steve Holme [Wed, 28 May 2014 21:58:17 +0000 (22:58 +0100)]
RELEASE-NOTES: Synced with 2a615a2b64

10 years agobuild: Use $(TargetDir) and $(TargetName) macros for VC .lib output files
Steve Holme [Wed, 28 May 2014 21:12:44 +0000 (22:12 +0100)]
build: Use $(TargetDir) and $(TargetName) macros for VC .lib output files

As with commit 11397eb6dd, use $(TargetDir) and $(TargetName) for the
Import Library output rather than $(OutDir)\$(ProjectName)d.lib and
$(OutDir)\$(ProjectName).lib.

10 years agobuild: Use $(TargetDir) and $(TargetName) macros for VC .pdb output files
Steve Holme [Wed, 28 May 2014 20:46:57 +0000 (21:46 +0100)]
build: Use $(TargetDir) and $(TargetName) macros for VC .pdb output files

Like with the curl tool project files use $(TargetDir)$(TargetName).pdb
rather than $(OutDir)$(ProjectName)d.pdb for the Program Database File
output.

10 years agognutls: allow building with nghttp2 but without ALPN support
Daniel Stenberg [Tue, 27 May 2014 22:30:23 +0000 (00:30 +0200)]
gnutls: allow building with nghttp2 but without ALPN support

It might not be the most useful combo, but...

10 years agognutls: don't use deprecated type names anymore
Alessandro Ghedini [Tue, 29 Apr 2014 12:13:52 +0000 (14:13 +0200)]
gnutls: don't use deprecated type names anymore

10 years agoselect: with winsock, avoid passing unsupported arguments to select()
Brad Spencer [Tue, 27 May 2014 21:58:28 +0000 (23:58 +0200)]
select: with winsock, avoid passing unsupported arguments to select()

"Any two of the parameters, readfds, writefds, or exceptfds, can be
given as null. At least one must be non-null, and any non-null
descriptor set must contain at least one handle to a socket."

http://msdn.microsoft.com/en-ca/library/windows/desktop/ms740141(v=vs.85).aspx

When using select(), cURL doesn't adhere to this (WinSock-specific)
rule, and can ask to monitor empty fd_sets, which leads to select()
returning WSAEINVAL (i.e. EINVAL) and connections failing in mysterious
ways as a result (at least when using the curl_multi_socket_action()
interface).

Bug: http://curl.haxx.se/mail/lib-2014-05/0278.html

10 years agourl-parser: only use if_nametoindex if detected by configure
Daniel Stenberg [Mon, 26 May 2014 20:10:15 +0000 (22:10 +0200)]
url-parser: only use if_nametoindex if detected by configure

The previous #ifdef detection wasn't good enough.

Bug: http://curl.haxx.se/mail/lib-2014-05/0260.html
Reported-by: Chris Young
10 years agocurl_version_info.3: returns a pointer to a static struct
Daniel Stenberg [Mon, 26 May 2014 09:53:49 +0000 (11:53 +0200)]
curl_version_info.3: returns a pointer to a static struct

And clarify that age 3 means 7.16.1 or later.

10 years agopolarssl: add ALPN support
Fabian Frank [Mon, 19 May 2014 09:12:11 +0000 (02:12 -0700)]
polarssl: add ALPN support

PolarSSL added ALPN support in their 1.3.6 release.

See:
https://polarssl.org/tech-updates/releases/polarssl-1.3.6-released

10 years agocurl_easy_reset: reset the URL
Daniel Stenberg [Sat, 24 May 2014 17:05:12 +0000 (19:05 +0200)]
curl_easy_reset: reset the URL

Make sure that the URL is reset and cleared.

Bug: http://curl.haxx.se/mail/lib-2014-05/0235.html
Reported-by: Jonathan Cardoso Machado
10 years agoconfigure: fix the nghttp2 detection when not found
Daniel Stenberg [Sat, 24 May 2014 11:54:28 +0000 (13:54 +0200)]
configure: fix the nghttp2 detection when not found