]> granicus.if.org Git - curl/log
curl
9 years agoacinclude: remove PKGCONFIG override
Daniel Stenberg [Tue, 13 Oct 2015 10:56:42 +0000 (12:56 +0200)]
acinclude: remove PKGCONFIG override

... and allow it to get set by a caller easier.

Reported-by: Rainer Jung
Bug: http://curl.haxx.se/mail/lib-2015-10/0035.html

9 years agodocs/INSTALL: Updated example minimal binary sizes
Dan Fandrich [Mon, 12 Oct 2015 21:47:10 +0000 (23:47 +0200)]
docs/INSTALL: Updated example minimal binary sizes

9 years agoopenssl: Fix set up of pkcs12 certificate verification chain
Erik Johansson [Fri, 9 Oct 2015 19:02:13 +0000 (21:02 +0200)]
openssl: Fix set up of pkcs12 certificate verification chain

sk_X509_pop will decrease the size of the stack which means that the loop would
end after having added only half of the certificates.

Also make sure that the X509 certificate is freed in case
SSL_CTX_add_extra_chain_cert fails.

9 years agontlm: error out without 64bit support as the code needs it
Daniel Stenberg [Fri, 9 Oct 2015 21:51:54 +0000 (23:51 +0200)]
ntlm: error out without 64bit support as the code needs it

It makes it a clearer message for developers reaching that point without
the necessary support.

Thanks-by: Jay Satiro
Closes #78

9 years agocurl_global_init: set the memory function pointers correct
Daniel Stenberg [Fri, 9 Oct 2015 14:13:54 +0000 (16:13 +0200)]
curl_global_init: set the memory function pointers correct

follow-up from 6f8ecea0

9 years agocurl_global_init_mem: set function pointers before doing init
Daniel Stenberg [Fri, 9 Oct 2015 14:04:11 +0000 (16:04 +0200)]
curl_global_init_mem: set function pointers before doing init

... as in the polarssl TLS backend for example it uses memory functions.

9 years agohttp2: Fix http2_recv to return -1 if recv returned -1
Jay Satiro [Thu, 8 Oct 2015 06:48:44 +0000 (02:48 -0400)]
http2: Fix http2_recv to return -1 if recv returned -1

If the underlying recv called by http2_recv returns -1 then that is the
value http2_recv returns to the caller.

9 years agocurl_easy_recv.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET
Svyatoslav Mishyn [Thu, 8 Oct 2015 16:28:30 +0000 (19:28 +0300)]
curl_easy_recv.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET

Closes #479

9 years agocurl_easy_send.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET
Svyatoslav Mishyn [Thu, 8 Oct 2015 16:26:47 +0000 (19:26 +0300)]
curl_easy_send.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET

9 years agoCURLOPT_CONNECT_ONLY.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET
Svyatoslav Mishyn [Thu, 8 Oct 2015 15:14:18 +0000 (18:14 +0300)]
CURLOPT_CONNECT_ONLY.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET

9 years agoCURLOPT_CERTINFO.3: fix reference to CURLINFO_CERTINFO
Daniel Stenberg [Thu, 8 Oct 2015 11:47:52 +0000 (13:47 +0200)]
CURLOPT_CERTINFO.3: fix reference to CURLINFO_CERTINFO

9 years agontlm: get rid of unconditional use of long long
Daniel Stenberg [Thu, 8 Oct 2015 10:30:22 +0000 (12:30 +0200)]
ntlm: get rid of unconditional use of long long

... since some compilers don't have it and instead use other types, such
as __int64.

Reported by: gkinseyhpw
Closes #478

9 years agodes: Fix header conditional for Curl_des_set_odd_parity
Anders Bakken [Wed, 7 Oct 2015 19:40:23 +0000 (12:40 -0700)]
des: Fix header conditional for Curl_des_set_odd_parity

Follow up to 613e502.

9 years agoconfigure: build silently by default
Daniel Stenberg [Wed, 7 Oct 2015 12:56:07 +0000 (14:56 +0200)]
configure: build silently by default

'make V=1' will make the build verbose like before

9 years agobump: start climbing toward 7.46.0
Daniel Stenberg [Wed, 7 Oct 2015 12:52:32 +0000 (14:52 +0200)]
bump: start climbing toward 7.46.0

9 years agoRELEASE-PROCEDURE: add the github HTTPS download step
Daniel Stenberg [Wed, 7 Oct 2015 12:46:49 +0000 (14:46 +0200)]
RELEASE-PROCEDURE: add the github HTTPS download step

9 years agoTHANKS: 19 new contributors from the 7.45.0 announcement curl-7_45_0
Daniel Stenberg [Wed, 7 Oct 2015 08:12:39 +0000 (10:12 +0200)]
THANKS: 19 new contributors from the 7.45.0 announcement

9 years agoRELEASE-NOTES: synced with 69ea57970080
Daniel Stenberg [Mon, 5 Oct 2015 17:36:31 +0000 (19:36 +0200)]
RELEASE-NOTES: synced with 69ea57970080

9 years agogetinfo: Fix return code for unknown CURLINFO options
Jay Satiro [Thu, 1 Oct 2015 20:39:40 +0000 (16:39 -0400)]
getinfo: Fix return code for unknown CURLINFO options

- If a CURLINFO option is unknown return CURLE_UNKNOWN_OPTION.

Prior to this change CURLE_BAD_FUNCTION_ARGUMENT was returned on
unknown. That return value is contradicted by the CURLINFO option
documentation which specifies a return of CURLE_UNKNOWN_OPTION on
unknown.

9 years agohiperfifo: fix the pointer passed to WRITEDATA
rouzier [Sun, 4 Oct 2015 18:30:07 +0000 (14:30 -0400)]
hiperfifo: fix the pointer passed to WRITEDATA

Closes https://github.com/bagder/curl/pull/471

9 years agotool_setopt: fix c_escape truncated octal
Maksim Stsepanenka [Fri, 2 Oct 2015 06:43:57 +0000 (02:43 -0400)]
tool_setopt: fix c_escape truncated octal

Closes https://github.com/bagder/curl/pull/469

9 years agogopher: don't send NUL byte
Orange Tsai [Thu, 1 Oct 2015 15:17:58 +0000 (23:17 +0800)]
gopher: don't send NUL byte

Closes #466

9 years agoruntests: Fix pid check in checkdied
Jay Satiro [Wed, 30 Sep 2015 02:08:57 +0000 (22:08 -0400)]
runtests: Fix pid check in checkdied

Because the 'not' operator has a very low precedence and as a result the
entire statement was erroneously negated and could never be true.

9 years agowin32: make recent Borland compilers use long long
Thorsten Schöning [Tue, 29 Sep 2015 22:03:35 +0000 (00:03 +0200)]
win32: make recent Borland compilers use long long

9 years agoRELEASE-NOTES: synced with 69b89050d4
Daniel Stenberg [Tue, 29 Sep 2015 08:57:42 +0000 (10:57 +0200)]
RELEASE-NOTES: synced with 69b89050d4

9 years agoopenssl: Fix algorithm init
Michael Kalinin [Tue, 22 Sep 2015 06:49:54 +0000 (02:49 -0400)]
openssl: Fix algorithm init

- Change algorithm init to happen after OpenSSL config load.

Additional algorithms may be available due to the user's config so we
initialize the algorithms after the user's config is loaded.

Bug: https://github.com/bagder/curl/issues/447
Reported-by: Denis Feklushkin
9 years agodocs: fix unescaped '\n' in man pages
Svyatoslav Mishyn [Mon, 28 Sep 2015 03:44:31 +0000 (23:44 -0400)]
docs: fix unescaped '\n' in man pages

Closes https://github.com/bagder/curl/pull/459

9 years agohttp2: set TCP_NODELAY unconditionally
Daniel Stenberg [Sun, 27 Sep 2015 21:20:13 +0000 (23:20 +0200)]
http2: set TCP_NODELAY unconditionally

For a single-stream download from localhost, we managed to increase
transfer speed from 1.6MB/sec to around 400MB/sec, mostly because of
this single fix.

9 years agohttp2: avoid superfluous Curl_expire() calls
Daniel Stenberg [Sun, 27 Sep 2015 17:40:20 +0000 (19:40 +0200)]
http2: avoid superfluous Curl_expire() calls

... only call it when there is data arriving for another handle than the
one that is currently driving it.

Improves single-stream download performance quite a lot.

Thanks-to: Tatsuhiro Tsujikawa
Bug: http://curl.haxx.se/mail/lib-2015-09/0097.html

9 years agoreadwrite_data: set a max number of loops
Daniel Stenberg [Sun, 27 Sep 2015 18:48:35 +0000 (20:48 +0200)]
readwrite_data: set a max number of loops

... as otherwise a really fast pipe can "lock" one transfer for some
protocols, like with HTTP/2.

9 years agoCI: Added AppVeyor-CI for curl
Sergei Nikulov [Thu, 17 Sep 2015 13:34:47 +0000 (16:34 +0300)]
CI: Added AppVeyor-CI for curl

Closes #439

9 years agoFTP: fix uploading ASCII with unknown size
Daniel Stenberg [Sat, 26 Sep 2015 21:36:25 +0000 (23:36 +0200)]
FTP: fix uploading ASCII with unknown size

... don't try to increase the supposed file size on newlines if we don't
know what file size it is!

Patch-by: lzsiga
9 years agobuild: fix failures with -Wcast-align and -Werror
Tatsuhiro Tsujikawa [Sat, 26 Sep 2015 08:24:34 +0000 (17:24 +0900)]
build: fix failures with -Wcast-align and -Werror

Closes #457

9 years agocurl-confopts.m4: Add missing ')'
Tatsuhiro Tsujikawa [Sat, 26 Sep 2015 08:23:35 +0000 (17:23 +0900)]
curl-confopts.m4: Add missing ')'

... for CURL_CHECK_OPTION_RT

Closes #456

9 years agocurl_easy_getinfo.3: Add brief description for each CURLINFO
Jay Satiro [Fri, 25 Sep 2015 06:37:42 +0000 (02:37 -0400)]
curl_easy_getinfo.3: Add brief description for each CURLINFO

9 years agoCMake: Ensure discovered include dirs are considered
Jakub Zakrzewski [Wed, 16 Sep 2015 15:33:23 +0000 (17:33 +0200)]
CMake: Ensure discovered include dirs are considered

...during header checks. Otherwise some following header tests
(incorrectly) fail.

Closes #436

9 years agoCMake: Put "winsock2.h" before "windows.h" during configure checks
Jakub Zakrzewski [Wed, 16 Sep 2015 15:27:13 +0000 (17:27 +0200)]
CMake: Put "winsock2.h" before "windows.h" during configure checks

"windows.h" includes "winsock.h" what causes many redefinition errors
if "winsock2.h" is included afterwards and can cause build to fail.

9 years agotests: disable 1510 due to CI-problems on github
Daniel Stenberg [Wed, 23 Sep 2015 11:53:38 +0000 (13:53 +0200)]
tests: disable 1510 due to CI-problems on github

9 years agognutls: Report actual GnuTLS error message for certificate errors
Mike Crowe [Wed, 23 Sep 2015 11:31:29 +0000 (13:31 +0200)]
gnutls: Report actual GnuTLS error message for certificate errors

If GnuTLS fails to read the certificate then include whatever reason it
provides in the failure message reported to the client.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
9 years agoRELEASE-NOTES: synced with 6b56901b56e
Daniel Stenberg [Tue, 22 Sep 2015 20:21:58 +0000 (22:21 +0200)]
RELEASE-NOTES: synced with 6b56901b56e

9 years agognutls: Support CURLOPT_KEYPASSWD
Mike Crowe [Mon, 21 Sep 2015 09:34:55 +0000 (11:34 +0200)]
gnutls: Support CURLOPT_KEYPASSWD

The gnutls vtls back-end was previously ignoring any password set via
CURLOPT_KEYPASSWD. Presumably this was because
gnutls_certificate_set_x509_key_file did not support encrypted keys.

gnutls now has a gnutls_certificate_set_x509_key_file2 function that
does support encrypted keys. Let's determine at compile time whether the
available gnutls supports this new function. If it does then use it to
pass the password. If it does not then emit a helpful diagnostic if a
password is set. This is preferable to the previous behaviour of just
failing to read the certificate without giving a reason in that case.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
9 years agoCURLINFO_TLS_SESSION: always return backend info
Daniel Stenberg [Tue, 22 Sep 2015 15:21:37 +0000 (17:21 +0200)]
CURLINFO_TLS_SESSION: always return backend info

... even for those that don't support providing anything in the
'internals' struct member since it offers a convenient way for
applications to figure this out.

9 years agotool: remove redundant libcurl check
Daniel Hwang [Tue, 22 Sep 2015 04:06:42 +0000 (21:06 -0700)]
tool: remove redundant libcurl check

The easysrc generation is run only when --libcurl is initialized.

Ref: https://github.com/bagder/curl/issues/429

Closes #448

9 years agoCURLOPT_PROXY.3: A proxy given as env variable gets no special treatment
Richard van den Berg [Tue, 22 Sep 2015 11:45:41 +0000 (13:45 +0200)]
CURLOPT_PROXY.3: A proxy given as env variable gets no special treatment

Closes #449

9 years agoTODO: 5.7 More compressions
Daniel Stenberg [Tue, 22 Sep 2015 08:53:55 +0000 (10:53 +0200)]
TODO: 5.7 More compressions

Like for example brotli, as being implemented in Firefox now.

9 years agotool_operate: Don't call easysrc cleanup unless --libcurl
Jay Satiro [Mon, 21 Sep 2015 06:21:38 +0000 (02:21 -0400)]
tool_operate: Don't call easysrc cleanup unless --libcurl

- Review of 4d95491.

The author changed it so easysrc only initializes when --libcurl but did
not do the same for the call to easysrc cleanup.

Ref: https://github.com/bagder/curl/issues/429

9 years agoCURLOPT_PINNEDPUBLICKEY.3: replace test.com with example.com
Viktor Szakats [Sun, 20 Sep 2015 14:08:15 +0000 (16:08 +0200)]
CURLOPT_PINNEDPUBLICKEY.3: replace test.com with example.com

closes #443

9 years agoKNOWN_BUGS: 91 "curl_easy_perform hangs with imap and PolarSSL"
Daniel Stenberg [Sun, 20 Sep 2015 11:34:16 +0000 (13:34 +0200)]
KNOWN_BUGS: 91 "curl_easy_perform hangs with imap and PolarSSL"

Closes #334

9 years agoKNOWN_BUGS: add link to #85
Daniel Stenberg [Sun, 20 Sep 2015 11:31:22 +0000 (13:31 +0200)]
KNOWN_BUGS: add link to #85

9 years agotests: disable 1801 until fixed
Daniel Stenberg [Sun, 20 Sep 2015 11:12:44 +0000 (13:12 +0200)]
tests: disable 1801 until fixed

It is unreliable and causes CI problems on github

Closes #380

9 years agoRELEASE-NOTES: synced with 4d95491636ee
Daniel Stenberg [Sun, 20 Sep 2015 11:00:19 +0000 (13:00 +0200)]
RELEASE-NOTES: synced with 4d95491636ee

9 years agotool: generate easysrc only on --libcurl
Daniel Lee Hwang [Sun, 20 Sep 2015 06:16:23 +0000 (23:16 -0700)]
tool: generate easysrc only on --libcurl

Code should only be generated when --libcurl is used.

Bug: https://github.com/bagder/curl/issues/429
Reported-by: @greafhe, Jay Satiro
Closes #429
Closes #442

9 years agovtls: Change designator name for server's pubkey hash
Jay Satiro [Sun, 20 Sep 2015 02:40:40 +0000 (22:40 -0400)]
vtls: Change designator name for server's pubkey hash

- Change the designator name we use to show the base64 encoded sha256
hash of the server's public key from 'pinnedpubkey' to
'public key hash'.

Though the server's public key hash is only shown when comparing pinned
public key hashes, the server's hash may not match one of the pinned.

9 years agoNTLM: Reset auth-done when using a fresh connection
Isaac Boukris [Wed, 16 Sep 2015 00:52:36 +0000 (03:52 +0300)]
NTLM: Reset auth-done when using a fresh connection

With NTLM a new connection will always require authentication.
Fixes #435

9 years agossl: add server cert's "sha256//" hash to verbose
Daniel Hwang [Sat, 12 Sep 2015 21:35:12 +0000 (14:35 -0700)]
ssl: add server cert's "sha256//" hash to verbose

Add a "pinnedpubkey" section to the "Server Certificate" verbose

Bug: https://github.com/bagder/curl/issues/410
Reported-by: W. Mark Kubacki
Closes #430
Closes #410

9 years agoopenldap: only part of LDAP query results received
Jakub Zakrzewski [Thu, 17 Sep 2015 16:36:07 +0000 (18:36 +0200)]
openldap: only part of LDAP query results received

Introduced with commit 65d141e6da5c6003a1592bbc87ee550b0ad75c2f

Closes #440

9 years agoopenssl: don't output certinfo data
Alessandro Ghedini [Mon, 14 Sep 2015 10:26:12 +0000 (12:26 +0200)]
openssl: don't output certinfo data

9 years agoopenssl: refactor certificate parsing to use OpenSSL memory BIO
Alessandro Ghedini [Sat, 12 Sep 2015 13:30:44 +0000 (15:30 +0200)]
openssl: refactor certificate parsing to use OpenSSL memory BIO

Fixes #427

9 years agonss: prevent NSS from incorrectly re-using a session
Kamil Dudka [Fri, 18 Sep 2015 15:10:05 +0000 (17:10 +0200)]
nss: prevent NSS from incorrectly re-using a session

Without this workaround, NSS re-uses a session cache entry despite the
server name does not match.  This causes SNI host name to differ from
the actual host name.  Consequently, certain servers (e.g. github.com)
respond by 400 to such requests.

Bug: https://bugzilla.mozilla.org/1202264

9 years agonss: check return values of NSS functions
Kamil Dudka [Fri, 18 Sep 2015 15:07:22 +0000 (17:07 +0200)]
nss: check return values of NSS functions

9 years agoCURLOPT_PINNEDPUBLICKEY.3: mention error code
Daniel Stenberg [Thu, 17 Sep 2015 06:50:51 +0000 (08:50 +0200)]
CURLOPT_PINNEDPUBLICKEY.3: mention error code

9 years agoopenssl: build with < 0.9.8
Daniel Stenberg [Thu, 17 Sep 2015 06:48:43 +0000 (08:48 +0200)]
openssl: build with < 0.9.8

... without sha256 support and no define saying so.

Reported-by: Rajkumar Mandal
9 years agolibcurl-errors.3: add two missing error codes
Daniel Stenberg [Thu, 17 Sep 2015 06:48:15 +0000 (08:48 +0200)]
libcurl-errors.3: add two missing error codes

CURLE_SSL_PINNEDPUBKEYNOTMATCH and CURLE_SSL_INVALIDCERTSTATUS

9 years agoCURLOPT_PINNEDPUBLICKEY.3: Improve pubkey extraction example
Jay Satiro [Mon, 14 Sep 2015 07:16:04 +0000 (03:16 -0400)]
CURLOPT_PINNEDPUBLICKEY.3: Improve pubkey extraction example

- Show how a certificate can be obtained using OpenSSL.

Bug: https://github.com/bagder/curl/pull/430
Reported-by: Daniel Hwang
9 years agohttp2: removed unused function
Daniel Stenberg [Sun, 13 Sep 2015 14:32:59 +0000 (16:32 +0200)]
http2: removed unused function

9 years agoCURLINFO_ACTIVESOCKET.3: mention it replaces *LASTSOCKET
Daniel Stenberg [Sat, 12 Sep 2015 21:37:52 +0000 (23:37 +0200)]
CURLINFO_ACTIVESOCKET.3: mention it replaces *LASTSOCKET

9 years agoopts: add CURLINFO_* man pages to dist
Daniel Stenberg [Sat, 12 Sep 2015 21:22:33 +0000 (23:22 +0200)]
opts: add CURLINFO_* man pages to dist

9 years agoopts: 19 more CURLINFO_* options made into stand-alone man pages
Daniel Stenberg [Sat, 12 Sep 2015 21:13:08 +0000 (23:13 +0200)]
opts: 19 more CURLINFO_* options made into stand-alone man pages

9 years agoRELEASE-NOTES: synced with fad9604613
Daniel Stenberg [Sat, 12 Sep 2015 10:54:58 +0000 (12:54 +0200)]
RELEASE-NOTES: synced with fad9604613

9 years agocurl: customrequest_helper: deal with NULL custom method
Daniel Stenberg [Fri, 11 Sep 2015 16:49:28 +0000 (18:49 +0200)]
curl: customrequest_helper: deal with NULL custom method

9 years agoCURLOPT_FNMATCH_FUNCTION.3: fix typo
Svyatoslav Mishyn [Fri, 11 Sep 2015 14:52:01 +0000 (17:52 +0300)]
CURLOPT_FNMATCH_FUNCTION.3: fix typo

s => is

Closes #428

9 years agocurl: point out unnecessary uses of -X in verbose mode
Daniel Stenberg [Sat, 29 Aug 2015 21:56:28 +0000 (23:56 +0200)]
curl: point out unnecessary uses of -X in verbose mode

It uses 'Note:' as a prefix as opposed to the common 'Warning:' to take
down the tone a bit.

It adds a warning for using -XHEAD on other methods becasue that may
lead to a hanging connection.

9 years agocurl_sspi: fix possibly undefined CRYPT_E_REVOKED
Jay Satiro [Thu, 10 Sep 2015 06:17:33 +0000 (02:17 -0400)]
curl_sspi: fix possibly undefined CRYPT_E_REVOKED

Bug: https://github.com/bagder/curl/pull/411
Reported-by: Viktor Szakats
9 years agobuildconf.bat: fix syntax error
Jay Satiro [Wed, 9 Sep 2015 06:46:48 +0000 (02:46 -0400)]
buildconf.bat: fix syntax error

9 years agowinbuild: run buildconf.bat if necessary
Benjamin Kircher [Tue, 8 Sep 2015 14:22:39 +0000 (16:22 +0200)]
winbuild: run buildconf.bat if necessary

9 years agodocs: fix argument type for CURLINFO_SPEED_*, CURLINFO_SIZE_*
Svyatoslav Mishyn [Wed, 9 Sep 2015 01:17:50 +0000 (21:17 -0400)]
docs: fix argument type for CURLINFO_SPEED_*, CURLINFO_SIZE_*

long => double

9 years agocmake: IPv6 : disable Unix header check on Windows platform
Sergei Nikulov [Thu, 3 Sep 2015 12:20:32 +0000 (15:20 +0300)]
cmake: IPv6 : disable Unix header check on Windows platform

Closes #409

9 years agoparse_proxy: reject illegal port numbers
Daniel Stenberg [Tue, 8 Sep 2015 11:42:48 +0000 (13:42 +0200)]
parse_proxy: reject illegal port numbers

If the port number in the proxy string ended weirdly or the number is
too large, skip it. Mostly as a means to bail out early if a "bare" IPv6
numerical address is used without enclosing brackets.

Also mention the bracket requirement for IPv6 numerical addresses to the
man page for CURLOPT_PROXY.

Closes #415

Reported-by: Marcel Raad
9 years agoFTP: do_more: add check for wait_data_conn in upload case
Daniel Stenberg [Tue, 8 Sep 2015 07:29:03 +0000 (09:29 +0200)]
FTP: do_more: add check for wait_data_conn in upload case

In some timing-dependnt cases when a 4xx response immediately followed
after a 150 when a STOR was issued, this function would wrongly return
'complete == true' while 'wait_data_conn' was still set.

Closes #405

Reported-by: Patricia Muscalu
9 years agoCURLOPT_TLSAUTH_TYPE.3: update description
Svyatoslav Mishyn [Sun, 6 Sep 2015 16:42:33 +0000 (19:42 +0300)]
CURLOPT_TLSAUTH_TYPE.3: update description

Closes #414
Closes #413

9 years agoCURLOPT_PATH_AS_IS.3: fix typo
Svyatoslav Mishyn [Sat, 5 Sep 2015 08:45:25 +0000 (11:45 +0300)]
CURLOPT_PATH_AS_IS.3: fix typo

leavit => leaveit

closes #412

9 years agoCURLINFO_SSL_VERIFYRESULT.3: add short description
Svyatoslav Mishyn [Sat, 5 Sep 2015 08:34:01 +0000 (11:34 +0300)]
CURLINFO_SSL_VERIFYRESULT.3: add short description

9 years agoCURLINFO_SSL_ENGINES.3: add short description
Svyatoslav Mishyn [Sat, 5 Sep 2015 08:30:51 +0000 (11:30 +0300)]
CURLINFO_SSL_ENGINES.3: add short description

9 years agoCURLINFO_CONTENT_LENGTH_UPLOAD.3: replace "receive" with "get" for consistency
Svyatoslav Mishyn [Sat, 5 Sep 2015 08:23:59 +0000 (11:23 +0300)]
CURLINFO_CONTENT_LENGTH_UPLOAD.3: replace "receive" with "get" for consistency

9 years agoCURLINFO_REDIRECT_TIME.3: remove redundant '!'
Svyatoslav Mishyn [Sat, 5 Sep 2015 08:19:40 +0000 (11:19 +0300)]
CURLINFO_REDIRECT_TIME.3: remove redundant '!'

9 years agoRevert "has: generate the curl/has.h header"
Kamil Dudka [Fri, 4 Sep 2015 14:10:44 +0000 (16:10 +0200)]
Revert "has: generate the curl/has.h header"

This reverts commit a60bde79f9adeb135d5c642a07f0d783fbfbbc25 I have
pushed by mistake.  Apologies for my incompetent use of the git repo!

9 years agonss: do not directly access SSL_ImplementedCiphers[]
Kamil Dudka [Fri, 4 Sep 2015 12:35:36 +0000 (14:35 +0200)]
nss: do not directly access SSL_ImplementedCiphers[]

It causes dynamic linking issues at run-time after an update of NSS.

Bug: https://lists.fedoraproject.org/pipermail/devel/2015-September/214117.html

9 years agohas: generate the curl/has.h header
Daniel Stenberg [Wed, 2 Sep 2015 22:04:10 +0000 (00:04 +0200)]
has: generate the curl/has.h header

changed macro name, moved and renamed script to become docs/libcurl/has.pl,
generate code that is checksrc compliant

9 years agogitignore: ignore more generated VC Makefiles
Daniel Stenberg [Thu, 3 Sep 2015 21:35:41 +0000 (23:35 +0200)]
gitignore: ignore more generated VC Makefiles

9 years agoprojects/Windows/.gitignore: ignore generated files for release
Daniel Stenberg [Thu, 3 Sep 2015 21:34:53 +0000 (23:34 +0200)]
projects/Windows/.gitignore: ignore generated files for release

9 years agohttp2: don't pass on Connection: headers
Daniel Stenberg [Thu, 3 Sep 2015 20:23:50 +0000 (22:23 +0200)]
http2: don't pass on Connection: headers

RFC 7540 section 8.1.2.2 states: "An endpoint MUST NOT generate an
HTTP/2 message containing connection-specific header fields; any message
containing connection-specific header fields MUST be treated as
malformed"

Closes #401

9 years agocurl.1: update RFC references
Daniel Stenberg [Thu, 3 Sep 2015 17:52:23 +0000 (19:52 +0200)]
curl.1: update RFC references

9 years agoCURLOPT_POSTREDIR.3: update RFC number and section
Daniel Stenberg [Thu, 3 Sep 2015 15:33:16 +0000 (17:33 +0200)]
CURLOPT_POSTREDIR.3: update RFC number and section

9 years agoCURLOPT_FOLLOWLOCATION.3: mention methods for redirects
Daniel Stenberg [Thu, 3 Sep 2015 15:27:40 +0000 (17:27 +0200)]
CURLOPT_FOLLOWLOCATION.3: mention methods for redirects

and some general cleaning up

9 years agoinet_pton.c: Fix MSVC run-time check failure (2)
Marcel Raad [Thu, 3 Sep 2015 09:32:39 +0000 (11:32 +0200)]
inet_pton.c: Fix MSVC run-time check failure (2)

This fixes another run-time check failure because of a narrowing cast on
Visual C++.

Closes #408

9 years agodocs: Warn about any-domain cookies and multiple transfers
Jay Satiro [Thu, 3 Sep 2015 06:35:11 +0000 (02:35 -0400)]
docs: Warn about any-domain cookies and multiple transfers

- Warn that cookies without a domain are sent to any domain:
CURLOPT_COOKIELIST, CURLOPT_COOKIEFILE, --cookie

- Note that imported Set-Cookie cookies without a domain are no longer
exported:
CURLINFO_COOKIELIST, CURLOPT_COOKIEJAR, --cookie-jar

9 years agotool_sdecls.h: Fixed compilation warning from commit 4a889441d3
Steve Holme [Wed, 2 Sep 2015 05:52:12 +0000 (06:52 +0100)]
tool_sdecls.h: Fixed compilation warning from commit 4a889441d3

tool_sdecls.h:139 warning: comma at end of enumerator list

9 years agoopts: 8 more CURLINFO* options as stand-alone man pages
Daniel Stenberg [Tue, 1 Sep 2015 22:00:53 +0000 (00:00 +0200)]
opts: 8 more CURLINFO* options as stand-alone man pages

9 years agoRELEASE-NOTES: synced with c764cb4add1a8
Daniel Stenberg [Mon, 31 Aug 2015 21:17:53 +0000 (23:17 +0200)]
RELEASE-NOTES: synced with c764cb4add1a8

9 years agoman-pages: more SEE ALSO links
Daniel Stenberg [Mon, 31 Aug 2015 14:03:53 +0000 (16:03 +0200)]
man-pages: more SEE ALSO links