]> granicus.if.org Git - curl/log
curl
10 years agocyassl.c: return the correct error code on no CA cert
Dan Fandrich [Tue, 22 Jul 2014 22:43:47 +0000 (00:43 +0200)]
cyassl.c: return the correct error code on no CA cert

CyaSSL 3.0.0 returns a unique error code if no CA cert is available,
so translate that into CURLE_SSL_CACERT_BADFILE when peer verification
is requested.

10 years agosymbols-in-versions: new SPNEGO/GSS-API symbols in 7.38.0
Daniel Stenberg [Tue, 22 Jul 2014 09:01:43 +0000 (11:01 +0200)]
symbols-in-versions: new SPNEGO/GSS-API symbols in 7.38.0

10 years agotest1013.pl: remove SPNEGO/GSS-API tweaks
Daniel Stenberg [Tue, 22 Jul 2014 09:01:04 +0000 (11:01 +0200)]
test1013.pl: remove SPNEGO/GSS-API tweaks

No longer necessary after Michael Osipov's rework

10 years agohttp_negotiate: remove unused variable
Daniel Stenberg [Tue, 22 Jul 2014 09:00:43 +0000 (11:00 +0200)]
http_negotiate: remove unused variable

10 years agodocs: Improve inline GSS-API naming in code documentation
Michael Osipov [Mon, 21 Jul 2014 07:53:47 +0000 (09:53 +0200)]
docs: Improve inline GSS-API naming in code documentation

10 years agocurl.h/features: Deprecate GSS-Negotiate macros due to bad naming
Michael Osipov [Mon, 21 Jul 2014 07:53:46 +0000 (09:53 +0200)]
curl.h/features: Deprecate GSS-Negotiate macros due to bad naming

- Replace CURLAUTH_GSSNEGOTIATE with CURLAUTH_NEGOTIATE
- CURL_VERSION_GSSNEGOTIATE is deprecated which
  is served by CURL_VERSION_SSPI, CURL_VERSION_GSSAPI and
  CURUL_VERSION_SPNEGO now.
- Remove display of feature 'GSS-Negotiate'

10 years agoconfigure/features: Add feature and version info for GSS-API and SPNEGO
Michael Osipov [Mon, 21 Jul 2014 07:53:45 +0000 (09:53 +0200)]
configure/features: Add feature and version info for GSS-API and SPNEGO

10 years agoHTTP: Remove checkprefix("GSS-Negotiate")
Michael Osipov [Mon, 21 Jul 2014 07:53:44 +0000 (09:53 +0200)]
HTTP: Remove checkprefix("GSS-Negotiate")

That auth mech has never existed neither on MS nor on Unix side.
There is only Negotiate over SPNEGO.

10 years agocurl_gssapi: Add macros for common mechs and pass them appropriately
Michael Osipov [Mon, 21 Jul 2014 07:53:43 +0000 (09:53 +0200)]
curl_gssapi: Add macros for common mechs and pass them appropriately

Macros defined: KRB5_MECHANISM and SPNEGO_MECHANISM called from
HTTP, FTP and SOCKS on Unix

10 years agoCONNECT: Revert Curl_proxyCONNECT back to 7.29.0 design
Daniel Stenberg [Sat, 19 Jul 2014 21:58:58 +0000 (23:58 +0200)]
CONNECT: Revert Curl_proxyCONNECT back to 7.29.0 design

This reverts commit cb3e6dfa3511 and instead fixes the problem
differently.

The reverted commit addressed a test failure in test 1021 by simplifying
and generalizing the code flow in a way that damaged the
performance. Now we modify the flow so that Curl_proxyCONNECT() again
does as much as possible in one go, yet still do test 1021 with and
without valgrind. It failed due to mistakes in the multi state machine.

Bug: http://curl.haxx.se/bug/view.cgi?id=1397
Reported-by: Paul Saab
10 years agourl.c: use the preferred symbol name: *READDATA
Marcel Raad [Tue, 22 Jul 2014 09:26:16 +0000 (11:26 +0200)]
url.c: use the preferred symbol name: *READDATA

with CURL_NO_OLDIES defined, it doesn't compile because this deprecated
symbol (*INFILE) is used

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

10 years agoCURLOPT_CHUNK_BGN_FUNCTION: fix typo
Alessandro Ghedini [Fri, 18 Jul 2014 09:18:56 +0000 (11:18 +0200)]
CURLOPT_CHUNK_BGN_FUNCTION: fix typo

10 years agobuild: link curl to NSS libraries when NSS support is enabled
Alessandro Ghedini [Thu, 17 Jul 2014 12:37:28 +0000 (14:37 +0200)]
build: link curl to NSS libraries when NSS support is enabled

This fixes a build failure on Debian caused by commit
24c3cdce88f39731506c287cb276e8bf4a1ce393.

Bug: http://curl.haxx.se/mail/lib-2014-07/0209.html

10 years agobuild: Removed unnecessary XML Documentation file directive from VC8 to VC12
Steve Holme [Sat, 28 Jun 2014 12:55:31 +0000 (13:55 +0100)]
build: Removed unnecessary XML Documentation file directive from VC8 to VC12

The curl tool project files for VC8 to VC12 would set this setting to
$(IntDir) which is the Visual Studio default value. To avoid confusion
when viewing settings from within Visual Studio and for consistency
with the libcurl project files removed this setting.

Conflicts:
projects/Windows/VC10/src/curlsrc.tmpl
projects/Windows/VC11/src/curlsrc.tmpl
projects/Windows/VC12/src/curlsrc.tmpl
projects/Windows/VC8/src/curlsrc.tmpl
projects/Windows/VC9/src/curlsrc.tmpl

10 years agobuild: Removed unnecessary Precompiled Header file directive in VC7 to VC12
Steve Holme [Sat, 28 Jun 2014 12:41:05 +0000 (13:41 +0100)]
build: Removed unnecessary Precompiled Header file directive in VC7 to VC12

The curl tool project files for VC7 to VC12 would set this settings to
$(IntDir)$(TargetName).pch which is the Visual Studio default value. To
avoid confusion when viewing settings from within Visual Studio and for
consistency with the libcurl project files removed this setting.

Conflicts:
projects/Windows/VC10/src/curlsrc.tmpl
projects/Windows/VC11/src/curlsrc.tmpl
projects/Windows/VC12/src/curlsrc.tmpl
projects/Windows/VC8/src/curlsrc.tmpl
projects/Windows/VC9/src/curlsrc.tmpl

10 years agobuild: Removed unnecessary ASM and Object file directives in VC7 to VC12
Steve Holme [Sat, 28 Jun 2014 12:25:19 +0000 (13:25 +0100)]
build: Removed unnecessary ASM and Object file directives in VC7 to VC12

The curl tool project files for VC7 to VC12 would set these settings to
$(IntDir) which is the Visual Studio default value. To avoid confusion
when viewing settings from within Visual Studio and for consistency
with the libcurl project files removed these two settings.

10 years agosrc/Makefile.am: add .DELETE_ON_ERROR
Dave Reisner [Tue, 8 Jul 2014 15:33:05 +0000 (17:33 +0200)]
src/Makefile.am: add .DELETE_ON_ERROR

This prevents targets like tool_hugehelp.c from leaving around
half-constructed files if the rule fails with GNU make.

Reported-by: Rafaël Carré <funman@videolan.org>
10 years agoTHANKS: added new contributors from 7.37.1 announcement
Daniel Stenberg [Thu, 17 Jul 2014 11:18:19 +0000 (13:18 +0200)]
THANKS: added new contributors from 7.37.1 announcement

10 years agotestcurl.pl: log the value of --runtestopts in the test header
Dan Fandrich [Wed, 16 Jul 2014 22:00:23 +0000 (00:00 +0200)]
testcurl.pl: log the value of --runtestopts in the test header

10 years agoRELEASE-NOTES: cleared, working towards next release
Daniel Stenberg [Wed, 16 Jul 2014 15:25:41 +0000 (17:25 +0200)]
RELEASE-NOTES: cleared, working towards next release

10 years agocurl_gssapi.c: make line shorter than 80 columns
Daniel Stenberg [Wed, 16 Jul 2014 15:17:43 +0000 (17:17 +0200)]
curl_gssapi.c: make line shorter than 80 columns

10 years agoFix negotiate auth to proxies to track correct state
David Woodhouse [Fri, 11 Jul 2014 11:11:14 +0000 (12:11 +0100)]
Fix negotiate auth to proxies to track correct state

10 years agoDon't abort Negotiate auth when the server has a response for us
David Woodhouse [Fri, 11 Jul 2014 09:59:37 +0000 (10:59 +0100)]
Don't abort Negotiate auth when the server has a response for us

It's wrong to assume that we can send a single SPNEGO packet which will
complete the authentication. It's a *negotiation* — the clue is in the
name. So make sure we handle responses from the server.

Curl_input_negotiate() will already handle bailing out if it thinks the
state is GSS_S_COMPLETE (or SEC_E_OK on Windows) and the server keeps
talking to us, so we should avoid endless loops that way.

10 years agoDon't clear GSSAPI state between each exchange in the negotiation
David Woodhouse [Fri, 11 Jul 2014 10:09:34 +0000 (11:09 +0100)]
Don't clear GSSAPI state between each exchange in the negotiation

GSSAPI doesn't work very well if we forget everything ever time.

XX: Is Curl_http_done() the right place to do the final cleanup?

10 years agoUse SPNEGO for HTTP Negotiate
David Woodhouse [Fri, 11 Jul 2014 09:55:07 +0000 (10:55 +0100)]
Use SPNEGO for HTTP Negotiate

This is the correct way to do SPNEGO. Just ask for it

Now I correctly see it trying NTLMSSP authentication when a Kerberos ticket
isn't available. Of course, we bail out when the server responds with the
challenge packet, since we don't expect that. But I'll fix that bug next...

10 years agoRemove all traces of FBOpenSSL SPNEGO support
David Woodhouse [Fri, 11 Jul 2014 08:37:18 +0000 (09:37 +0100)]
Remove all traces of FBOpenSSL SPNEGO support

This is just fundamentally broken. SPNEGO (RFC4178) is a protocol which
allows client and server to negotiate the underlying mechanism which will
actually be used to authenticate. This is *often* Kerberos, and can also
be NTLM and other things. And to complicate matters, there are various
different OIDs which can be used to specify the Kerberos mechanism too.

A SPNEGO exchange will identify *which* GSSAPI mechanism is being used,
and will exchange GSSAPI tokens which are appropriate for that mechanism.

But this SPNEGO implementation just strips the incoming SPNEGO packet
and extracts the token, if any. And completely discards the information
about *which* mechanism is being used. Then we *assume* it was Kerberos,
and feed the token into gss_init_sec_context() with the default
mechanism (GSS_S_NO_OID for the mech_type argument).

Furthermore... broken as this code is, it was never even *used* for input
tokens anyway, because higher layers of curl would just bail out if the
server actually said anything *back* to us in the negotiation. We assume
that we send a single token to the server, and it accepts it. If the server
wants to continue the exchange (as is required for NTLM and for SPNEGO
to do anything useful), then curl was broken anyway.

So the only bit which actually did anything was the bit in
Curl_output_negotiate(), which always generates an *initial* SPNEGO
token saying "Hey, I support only the Kerberos mechanism and this is its
token".

You could have done that by manually just prefixing the Kerberos token
with the appropriate bytes, if you weren't going to do any proper SPNEGO
handling. There's no need for the FBOpenSSL library at all.

The sane way to do SPNEGO is just to *ask* the GSSAPI library to do
SPNEGO. That's what the 'mech_type' argument to gss_init_sec_context()
is for. And then it should all Just Work™.

That 'sane way' will be added in a subsequent patch, as will bug fixes
for our failure to handle any exchange other than a single outbound
token to the server which results in immediate success.

10 years agontlm_wb: Avoid invoking ntlm_auth helper with empty username
David Woodhouse [Fri, 11 Jul 2014 10:31:40 +0000 (11:31 +0100)]
ntlm_wb: Avoid invoking ntlm_auth helper with empty username

10 years agontlm_wb: Fix hard-coded limit on NTLM auth packet size
David Woodhouse [Fri, 11 Jul 2014 09:27:18 +0000 (10:27 +0100)]
ntlm_wb: Fix hard-coded limit on NTLM auth packet size

Bumping it to 1KiB in commit aaaf9e50ec is all very well, but having hit
a hard limit once let's just make it cope by reallocating as necessary.

10 years agoRELEASE-NOTES: synced with 4cb2521595 curl-7_37_1
Daniel Stenberg [Wed, 16 Jul 2014 14:29:02 +0000 (16:29 +0200)]
RELEASE-NOTES: synced with 4cb2521595

10 years agotest506: verify aa6884845168
Daniel Stenberg [Tue, 15 Jul 2014 22:09:58 +0000 (00:09 +0200)]
test506: verify aa6884845168

After the fixed cookie lock deadlock, this test now passes and it
detects double-locking and double-unlocking of mutexes.

10 years agocookie: avoid mutex deadlock
Yousuke Kimoto [Mon, 14 Jul 2014 18:38:18 +0000 (20:38 +0200)]
cookie: avoid mutex deadlock

... by removing the extra mutex locks around th call to
Curl_flush_cookies() which takes care of the locking itself already.

Bug: http://curl.haxx.se/mail/lib-2014-02/0184.html

10 years agognutls: fix compiler warning
Daniel Stenberg [Tue, 15 Jul 2014 19:28:10 +0000 (21:28 +0200)]
gnutls: fix compiler warning

conversion to 'int' from 'long int' may alter its value

10 years agotest320: strip off the actual negotiated cipher width
Dan Fandrich [Mon, 14 Jul 2014 23:01:39 +0000 (01:01 +0200)]
test320: strip off the actual negotiated cipher width

It's irrelevant to the test, and will change depending on which SSL
library is being used by libcurl.

10 years agognutls: detect lack of SRP support in GnuTLS at run-time and try without
Dan Fandrich [Mon, 14 Jul 2014 20:27:03 +0000 (22:27 +0200)]
gnutls: detect lack of SRP support in GnuTLS at run-time and try without

Reported-by: David Woodhouse
10 years agoconfigure: respect host tool prefix for krb5-config
Michał Górny [Sun, 15 Jun 2014 10:42:30 +0000 (12:42 +0200)]
configure: respect host tool prefix for krb5-config

Use ${host_alias}-krb5-config if available. This improves cross-
compilation support and fixes multilib on Gentoo (at least).

10 years agognutls: handle IP address in cert name check
David Woodhouse [Mon, 14 Jul 2014 18:04:55 +0000 (20:04 +0200)]
gnutls: handle IP address in cert name check

Before GnuTLS 3.3.6, the gnutls_x509_crt_check_hostname() function
didn't actually check IP addresses in SubjectAltName, even though it was
explicitly documented as doing so. So do it ourselves...

10 years agobuild: set _POSIX_PTHREAD_SEMANTICS on Solaris to get proper getpwuid_r
Dan Fandrich [Mon, 14 Jul 2014 08:40:33 +0000 (10:40 +0200)]
build: set _POSIX_PTHREAD_SEMANTICS on Solaris to get proper getpwuid_r

10 years agoRELEASE-NOTES: next one is called 7.37.1
Daniel Stenberg [Mon, 14 Jul 2014 17:30:50 +0000 (19:30 +0200)]
RELEASE-NOTES: next one is called 7.37.1

10 years agognutls: improved error message if setting cipher list fails
Dan Fandrich [Sat, 12 Jul 2014 23:30:52 +0000 (01:30 +0200)]
gnutls: improved error message if setting cipher list fails

Reported-by: David Woodhouse
10 years agonetrc: fixed thread safety problem by using getpwuid_r if available
Dan Fandrich [Sat, 12 Jul 2014 22:18:40 +0000 (00:18 +0200)]
netrc: fixed thread safety problem by using getpwuid_r if available

The old way using getpwuid could cause problems in programs that enable
reading from netrc files simultaneously in multiple threads.

Reported-by: David Woodhouse
10 years agoRELEASE-NOTES: add the reporter of the previous bug fix
Dan Fandrich [Sat, 12 Jul 2014 21:39:22 +0000 (23:39 +0200)]
RELEASE-NOTES: add the reporter of the previous bug fix

10 years agonetrc: treat failure to find home dir same as missing netrc file
Dan Fandrich [Sat, 12 Jul 2014 18:19:34 +0000 (20:19 +0200)]
netrc: treat failure to find home dir same as missing netrc file

This previously caused a fatal error (with a confusing error code, at
that).

Reported by: Glen A Johnson Jr.

10 years agoRELEASE-NOTES: Synced with aaaf9e50ec
Steve Holme [Sat, 12 Jul 2014 14:23:39 +0000 (15:23 +0100)]
RELEASE-NOTES: Synced with aaaf9e50ec

10 years agontlm_wb: Fixed buffer size not being large enough for NTLMv2 sessions
Steve Holme [Sat, 12 Jul 2014 13:56:47 +0000 (14:56 +0100)]
ntlm_wb: Fixed buffer size not being large enough for NTLMv2 sessions

Bug: http://curl.haxx.se/mail/lib-2014-07/0103.html
Reported-by: David Woodhouse
10 years agobuild: Fixed overridden compiler PDB settings in VC7 to VC12
Steve Holme [Sat, 28 Jun 2014 12:02:03 +0000 (13:02 +0100)]
build: Fixed overridden compiler PDB settings in VC7 to VC12

The curl tool project files for VC7 to VC12 would override the default
setting with the output filename being the same as the linker PDB file.
As such the compiler file would be overwritten with the linker file
for all debug builds.

To avoid this overwrite and for consistency with the libcurl project
files, removed the setting to force the default filename to be used.

10 years agotests: added globbing keyword to URL globbing tests
Dan Fandrich [Fri, 11 Jul 2014 23:49:35 +0000 (01:49 +0200)]
tests: added globbing keyword to URL globbing tests

10 years agoFixed some "statement not reached" warnings
Dan Fandrich [Fri, 11 Jul 2014 23:39:56 +0000 (01:39 +0200)]
Fixed some "statement not reached" warnings

10 years agognutls: fixed a couple of uninitialized variable references
Dan Fandrich [Fri, 11 Jul 2014 23:31:12 +0000 (01:31 +0200)]
gnutls: fixed a couple of uninitialized variable references

10 years agognutls: fixed compilation against versions < 2.12.0
Dan Fandrich [Fri, 11 Jul 2014 22:33:16 +0000 (00:33 +0200)]
gnutls: fixed compilation against versions < 2.12.0

The AES-GCM ciphers were added to GnuTLS as late as ver. 3.0.1 but
the code path in which they're referenced here is only ever used for
somewhat older GnuTLS versions. This caused undeclared identifier errors
when compiling against those.

10 years agognutls: explicitly added SRP to the priority string
Dan Fandrich [Fri, 11 Jul 2014 21:55:53 +0000 (23:55 +0200)]
gnutls: explicitly added SRP to the priority string

This seems to have become necessary for SRP support to work starting
with GnuTLS ver. 2.99.0. Since support for SRP was added to GnuTLS
before the function that takes this priority string, there should be no
issue with backward compatibility.

10 years agotests: adjust for capitalization differences in newer gnutls-serv
Dan Fandrich [Fri, 11 Jul 2014 21:43:13 +0000 (23:43 +0200)]
tests: adjust for capitalization differences in newer gnutls-serv

10 years agotest320/1/2/4: fix the port number substitution variables
Dan Fandrich [Fri, 11 Jul 2014 21:40:01 +0000 (23:40 +0200)]
test320/1/2/4: fix the port number substitution variables

These tests have been broken since commit 1958fe57 in Oct. 2011

10 years agotests: document more test identifiers and variables
Dan Fandrich [Fri, 11 Jul 2014 21:33:55 +0000 (23:33 +0200)]
tests: document more test identifiers and variables

10 years agognutls: ignore invalid certificate dates with VERIFYPEER disabled
Dan Fandrich [Fri, 11 Jul 2014 21:21:31 +0000 (23:21 +0200)]
gnutls: ignore invalid certificate dates with VERIFYPEER disabled

This makes the behaviour consistent with what happens if a date can
be extracted from the certificate but is expired.

10 years agoCURLOPT_UPLOAD: Corrected argument type
Steve Holme [Thu, 10 Jul 2014 21:30:30 +0000 (22:30 +0100)]
CURLOPT_UPLOAD: Corrected argument type

10 years agoFAQ: expand the thread-safe section
Daniel Stenberg [Thu, 10 Jul 2014 03:06:34 +0000 (22:06 -0500)]
FAQ: expand the thread-safe section

... with a mention of *NOSIGNAL, based on talk in bug #1386

10 years agourl.c: Fixed memory leak on OOM
Dan Fandrich [Mon, 7 Jul 2014 21:12:22 +0000 (23:12 +0200)]
url.c: Fixed memory leak on OOM

This showed itself on some systems with torture failures
in tests 1060 and 1061

10 years agoUpdate instances of some obsolete CURLOPTs to their new names
Dan Fandrich [Sat, 5 Jul 2014 14:59:12 +0000 (16:59 +0200)]
Update instances of some obsolete CURLOPTs to their new names

10 years agocompiler warnings: potentially uninitialized variables
Marcel Raad [Fri, 4 Jul 2014 16:26:57 +0000 (18:26 +0200)]
compiler warnings: potentially uninitialized variables

... pointed out by MSVC2013

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

10 years agonss: make the list of CRL items global
Kamil Dudka [Fri, 4 Jul 2014 10:41:53 +0000 (12:41 +0200)]
nss: make the list of CRL items global

Otherwise NSS could use an already freed item for another connection.

10 years agonss: fix a memory leak when CURLOPT_CRLFILE is used
Kamil Dudka [Thu, 3 Jul 2014 22:39:23 +0000 (00:39 +0200)]
nss: fix a memory leak when CURLOPT_CRLFILE is used

10 years agonss: make crl_der allocated on heap
Kamil Dudka [Thu, 3 Jul 2014 22:36:21 +0000 (00:36 +0200)]
nss: make crl_der allocated on heap

... and spell it as crl_der instead of crlDER

10 years agonss: let nss_{cache,load}_crl return CURLcode
Kamil Dudka [Thu, 3 Jul 2014 21:53:44 +0000 (23:53 +0200)]
nss: let nss_{cache,load}_crl return CURLcode

10 years agotool: oops, forgot to include <plarenas.h>
Kamil Dudka [Thu, 3 Jul 2014 18:19:35 +0000 (20:19 +0200)]
tool: oops, forgot to include <plarenas.h>

... that contains the declaration of PL_ArenaFinish()

10 years agotool: call PL_ArenaFinish() on exit if NSPR is used
Kamil Dudka [Thu, 3 Jul 2014 18:19:35 +0000 (20:19 +0200)]
tool: call PL_ArenaFinish() on exit if NSPR is used

This prevents valgrind from reporting still reachable memory allocated
by NSPR arenas (mainly the freelist).

Reported-by: Hubert Kario
10 years agoexample: use correct type (long) for CURLOPT_FOLLOWLOCATION
Dimitrios Siganos [Wed, 2 Jul 2014 09:49:08 +0000 (11:49 +0200)]
example: use correct type (long) for CURLOPT_FOLLOWLOCATION

10 years agoDocument type of argument for CURLOPT_FOLLOWLOCATION.
Dimitrios Siganos [Wed, 2 Jul 2014 09:41:40 +0000 (11:41 +0200)]
Document type of argument for CURLOPT_FOLLOWLOCATION.

10 years agoDocument type of argument for CURLOPT_ERRORBUFFER.
Dimitrios Siganos [Wed, 2 Jul 2014 09:41:39 +0000 (11:41 +0200)]
Document type of argument for CURLOPT_ERRORBUFFER.

10 years agoDocument type of argument for CURLOPT_COPYPOSTFIELDS.
Dimitrios Siganos [Wed, 2 Jul 2014 09:41:38 +0000 (11:41 +0200)]
Document type of argument for CURLOPT_COPYPOSTFIELDS.

10 years agoDocument type of argument for CURLOPT_ADDRESS_SCOPE.
Dimitrios Siganos [Wed, 2 Jul 2014 09:41:37 +0000 (11:41 +0200)]
Document type of argument for CURLOPT_ADDRESS_SCOPE.

10 years agocurl.1: minor language fix
Daniel Stenberg [Thu, 3 Jul 2014 20:36:41 +0000 (22:36 +0200)]
curl.1: minor language fix

Bug: http://curl.haxx.se/mail/archive-2014-07/0006.html

10 years agoprogress callback: skip last callback update on errors
Ray Satiro [Mon, 9 Jun 2014 21:57:14 +0000 (23:57 +0200)]
progress callback: skip last callback update on errors

When an error has been detected, skip the final forced call to the
progress callback by making sure to pass the current return code
variable in the Curl_done() call in the CURLM_STATE_DONE state.

This avoids the "extra" callback that could occur even if you returned
error from the progress callback.

Bug: http://curl.haxx.se/mail/lib-2014-06/0062.html
Reported by: Jonathan Cardoso Machado

10 years agoopts: fixed some CURLOPT references so they get turned into links
Dan Fandrich [Wed, 2 Jul 2014 19:40:39 +0000 (21:40 +0200)]
opts: fixed some CURLOPT references so they get turned into links

10 years agotool: call PR_Cleanup() on exit if NSPR is used
Kamil Dudka [Wed, 2 Jul 2014 14:34:48 +0000 (16:34 +0200)]
tool: call PR_Cleanup() on exit if NSPR is used

This prevents valgrind from reporting possibly lost memory that NSPR
uses for file descriptor cache and other globally allocated internal
data structures.

10 years agonss: make the fallback to SSLv3 work again
Kamil Dudka [Wed, 2 Jul 2014 15:49:37 +0000 (17:49 +0200)]
nss: make the fallback to SSLv3 work again

This feature was unintentionally disabled by commit ff92fcfb.

10 years agonss: do not abort on connection failure
Kamil Dudka [Wed, 2 Jul 2014 15:37:43 +0000 (17:37 +0200)]
nss: do not abort on connection failure

... due to calling SSL_VersionRangeGet() with NULL file descriptor

reported-by: upstream tests 305 and 404

10 years agoopts: Document the socket callback function parameters
Dan Fandrich [Tue, 1 Jul 2014 05:59:28 +0000 (07:59 +0200)]
opts: Document the socket callback function parameters

10 years agoopts: Fixed some typos
Steve Holme [Sat, 28 Jun 2014 11:40:06 +0000 (12:40 +0100)]
opts: Fixed some typos

10 years agocurl_easy_setopt.3: fixed the error code for an unsupported option
Dan Fandrich [Wed, 25 Jun 2014 20:30:36 +0000 (22:30 +0200)]
curl_easy_setopt.3: fixed the error code for an unsupported option

10 years agoopts: added some DEFAULT and RETURN VALUE sections
Dan Fandrich [Mon, 23 Jun 2014 22:00:34 +0000 (00:00 +0200)]
opts: added some DEFAULT and RETURN VALUE sections

10 years agolibcurl docs: man page edits
Daniel Stenberg [Sat, 21 Jun 2014 21:52:06 +0000 (23:52 +0200)]
libcurl docs: man page edits

mainly to improve how the web versions render

10 years agocurl_easy_setopt.3: fixed some typos
Dan Fandrich [Sat, 21 Jun 2014 18:43:04 +0000 (20:43 +0200)]
curl_easy_setopt.3: fixed some typos

10 years agolib man pages: update easy setopt option references
Daniel Stenberg [Sat, 21 Jun 2014 18:21:47 +0000 (20:21 +0200)]
lib man pages: update easy setopt option references

... by using the "\fIopt(3)\fP" syntax they will be linked properly when
the web version of the page is generated.

10 years agoopts: the CURLOPT_SSL_ENABLE_*PN options are enabled by default
Daniel Stenberg [Sat, 21 Jun 2014 18:03:35 +0000 (20:03 +0200)]
opts: the CURLOPT_SSL_ENABLE_*PN options are enabled by default

10 years agolib: documentation updates in README.hostip
Colin Hogben [Wed, 18 Jun 2014 09:04:22 +0000 (10:04 +0100)]
lib: documentation updates in README.hostip

c-ares now does support IPv6;
avoid implying threaded resolver is Windows-only;
two referenced source files were renamed in 7de2f92

10 years agocurl_easy_setopt.3: CURLOPT_POSTFIELDS is the exception
Daniel Stenberg [Sat, 21 Jun 2014 17:46:45 +0000 (19:46 +0200)]
curl_easy_setopt.3: CURLOPT_POSTFIELDS is the exception

... to the always-copy-char *-argument.

And fix some minor mistakes.

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