]>
granicus.if.org Git - curl/log
Steve Holme [Sat, 5 Sep 2015 16:29:49 +0000 (17:29 +0100)]
sasl: Don't choose OAuth 2.0 if mechanism not advertised
Regression from commit
9e8ced9890 which meant if --oauth2-bearer was
specified but the SASL mechanism wasn't supported by the server then
the mechanism would be chosen.
Daniel Stenberg [Thu, 12 Nov 2015 14:32:48 +0000 (15:32 +0100)]
runtests: more compact "System characteristics" output
- no point in repeating curl features that is already listed as features
from the curl -V output
- remove the port numbers/unix domain path from the output unless
verbose is used, as that is rarely interesting to users.
Daniel Stenberg [Thu, 12 Nov 2015 13:50:13 +0000 (14:50 +0100)]
runtests: rename conditional curl-features to $has_[name]
Steve Holme [Sat, 5 Sep 2015 16:08:54 +0000 (17:08 +0100)]
oauth2: Introduced support for host and port details
Added support to the OAuth 2.0 message function for host and port, in
order to accommodate the official OAUTHBEARER SASL mechanism which is
to be added shortly.
Steve Holme [Wed, 11 Nov 2015 22:19:39 +0000 (22:19 +0000)]
curl_setup.h: Removed duplicate CURL_DISABLE_RTSP when HTTP_ONLY defined
Steve Holme [Wed, 11 Nov 2015 22:18:24 +0000 (22:18 +0000)]
cmake: Add missing feature macros in config header (Part 2)
In addition to commit
a215381c94 added the RTSP, RTMP and SMB protocols.
Douglas Creager [Tue, 10 Nov 2015 19:46:49 +0000 (14:46 -0500)]
cmake: Add missing feature macros in config header
The curl_config.h file can be generated either from curl_config.h.cmake
or curl_config.h.in, depending on whether you're building using CMake or
the autotools. The CMake template header doesn't include entries for
all of the protocols that you can disable, which (I think) means that
you can't actually disable those protocols when building via CMake.
Closes #523
Douglas Creager [Tue, 10 Nov 2015 20:05:18 +0000 (15:05 -0500)]
BoringSSL: Work with stricter BIO_get_mem_data()
BoringSSL implements `BIO_get_mem_data` as a function, instead of a
macro, and expects the output pointer to be a `char **`. We have to add
an explicit cast to grab the pointer as a `const char **`.
Closes #524
Daniel Stenberg [Tue, 10 Nov 2015 08:10:46 +0000 (09:10 +0100)]
http2: rectify the http2 version #if check
We need 1.0.0 or later. Also verified by configure.
Steve Holme [Wed, 4 Nov 2015 07:20:21 +0000 (07:20 +0000)]
oauth2: Don't use XAUTH2 in OAuth 2.0 function name
Steve Holme [Fri, 4 Sep 2015 06:11:09 +0000 (07:11 +0100)]
oauth2: Don't use XOAUTH2 in OAuth 2.0 variables
Steve Holme [Fri, 4 Sep 2015 05:56:26 +0000 (06:56 +0100)]
oauth2: Use OAuth 2.0 rather than XOAUTH2 in comments
When referring to OAuth 2.0 we should use the official name rather the
SASL mechanism name.
Daniel Stenberg [Mon, 9 Nov 2015 09:54:55 +0000 (10:54 +0100)]
imap: avoid freeing constant string
The fix in
1a614c6c3 was wrong and would leed to free() of a fixed
string.
Pointed-out-by: Kamil Dudka
Daniel Stenberg [Mon, 9 Nov 2015 08:05:43 +0000 (09:05 +0100)]
ROADMAP: remove two items already done
Daniel Stenberg [Mon, 9 Nov 2015 07:56:28 +0000 (08:56 +0100)]
RELEASE-NOTES: synced with
2200bf62054
Jay Satiro [Mon, 9 Nov 2015 07:56:40 +0000 (02:56 -0500)]
acinclude: Remove check for 16-bit curl_off_t
Because it's illogical to check for a 16-bit curl_off_t.
Ref: https://github.com/bagder/curl/issues/425#issuecomment-
154964205
Dan Fandrich [Sun, 8 Nov 2015 15:50:25 +0000 (16:50 +0100)]
tool: Fixed a memory leak on OOM introduced in
19cb0c4a
Justin Ehlert [Tue, 13 Oct 2015 13:55:05 +0000 (08:55 -0500)]
imap: Don't check for continuation when executing a CUSTOMREQUEST
Bug: https://github.com/bagder/curl/issues/486
Closes https://github.com/bagder/curl/pull/487
Daniel Stenberg [Sat, 7 Nov 2015 22:21:29 +0000 (23:21 +0100)]
imap: checksrc: remove space after while before paren
Daniel Stenberg [Sat, 7 Nov 2015 22:20:50 +0000 (23:20 +0100)]
checksrc.whitelist: "missing space after close paren"
... when it was within a string!
Steve Holme [Sat, 7 Nov 2015 22:11:04 +0000 (22:11 +0000)]
opts: Corrected TLS protocols list to include POP3S rather than POP3
Steve Holme [Sat, 7 Nov 2015 11:59:32 +0000 (11:59 +0000)]
imap: Quote other 'atom-specials' and not just the space character
Closes #517
Steve Holme [Sat, 7 Nov 2015 11:20:34 +0000 (11:20 +0000)]
imap: Fixed double quote in LIST command when mailbox contains spaces
Daniel Stenberg [Fri, 6 Nov 2015 22:44:27 +0000 (23:44 +0100)]
imap: fix compiler warning
imap.c:657:13: error: assignment discards 'const' qualifier from pointer
target type [-Werror=discarded-qualifiers]
Steve Holme [Fri, 6 Nov 2015 21:49:26 +0000 (21:49 +0000)]
imap: Don't call imap_atom() when no mailbox specified in LIST command
Daniel Stenberg [Fri, 6 Nov 2015 14:03:00 +0000 (15:03 +0100)]
curl.1: remove the overlap --range example
... it is just weird to include by default even if it still works.
Daniel Stenberg [Fri, 6 Nov 2015 09:52:19 +0000 (10:52 +0100)]
tftp tests: verify sent options too
The tftpd test server now logs all received options and thus all TFTP
test cases need to match them exactly.
Extended test 283 to use and verify --tftp-blksize.
Jay Satiro [Fri, 6 Nov 2015 05:30:16 +0000 (00:30 -0500)]
getinfo: CURLINFO_ACTIVESOCKET: fix bad socket value
- Set user info param to the socket returned by Curl_getconnectinfo,
regardless of if the socket is bad. Effectively this means the user info
param now will receive CURL_SOCKET_BAD instead of -1 on bad socket.
- Remove incorrect comments.
CURLINFO_ACTIVESOCKET is documented to write CURL_SOCKET_BAD to user
info param but prior to this change it wrote -1.
Bug: https://github.com/bagder/curl/pull/518
Reported-by: Marcel Raad
Patrick Monnerat [Thu, 5 Nov 2015 14:20:43 +0000 (15:20 +0100)]
curl_ntlm_core: fix 2 curl_off_t constant overflows.
Patrick Monnerat [Thu, 5 Nov 2015 13:41:22 +0000 (14:41 +0100)]
os400: adjust specific code to support new options.
Lauri Kasanen [Mon, 2 Nov 2015 20:18:03 +0000 (21:18 +0100)]
rawstr: Speed up Curl_raw_toupper by 40%
Rationale: when starting up a curl-using app, all cookies from the jar
are checked against each other. This was causing a startup delay in the
Fifth browser.
All tests pass.
Signed-off-by: Lauri Kasanen <cand@gmx.com>
Daniel Stenberg [Mon, 2 Nov 2015 11:48:03 +0000 (12:48 +0100)]
http redirects: %-encode bytes outside of ascii range
Apparently there are sites out there that do redirects to URLs they
provide in plain UTF-8 or similar. Browsers and wget %-encode such
headers when doing a subsequent request. Now libcurl does too.
Added test 1138 to verify.
Closes #473
Daniel Stenberg [Mon, 2 Nov 2015 09:16:21 +0000 (10:16 +0100)]
RELEASE-NOTES: synced with
cba5bc585410
Daniel Stenberg [Mon, 2 Nov 2015 07:40:57 +0000 (08:40 +0100)]
symbols-in-version: add all CURL_HTTPPOST_* symbols
Daniel Stenberg [Fri, 23 Oct 2015 22:52:25 +0000 (00:52 +0200)]
formadd: support >2GB files on windows
Closes #425
Daniel Stenberg [Sat, 31 Oct 2015 21:48:21 +0000 (22:48 +0100)]
curl.h: s/HTTPPOST_/CURL_HTTPOST_
Fixes a name space pollution at the cost of programs using one of these
defines will no longer compile. However, the vast majority of libcurl
programs that do multipart formposts use curl_formadd() to build this
list.
Closes #506
Daniel Stenberg [Thu, 29 Oct 2015 21:59:27 +0000 (22:59 +0100)]
mbedtls: fix "Structurally dead code"
CID
1332129
Daniel Stenberg [Thu, 29 Oct 2015 21:57:09 +0000 (22:57 +0100)]
mbedtls: fix "Logically dead code"
CID
1332128
Daniel Stenberg [Thu, 29 Oct 2015 13:59:11 +0000 (14:59 +0100)]
Revert "openssl: engine: remove double-free"
This reverts commit
370ee919b37cc9a46c36428b2bb1527eae5db2bd .
Issue #509 has all the details but it was confirmed that the crash was
not due to this, so the previous commit was wrong.
Daniel Stenberg [Wed, 28 Oct 2015 12:17:54 +0000 (13:17 +0100)]
curl.1: -E: s/private certificate/client certificate
... as the certificate is strictly speaking not private.
Reported-by: John Levon
Daniel Stenberg [Tue, 27 Oct 2015 12:45:25 +0000 (13:45 +0100)]
openssl: engine: remove double-free
After a successful call to SSL_CTX_use_PrivateKey(), we must not call
EVP_PKEY_free() on the key.
Reported-by: nased0
Closes #509
Jay Satiro [Tue, 27 Oct 2015 06:39:00 +0000 (02:39 -0400)]
socks: Fix incorrect port numbers in failed connect messages
Daniel Stenberg [Mon, 26 Oct 2015 15:31:03 +0000 (16:31 +0100)]
DISTRO-DILEMMA: removed
Out of date and not kept accurate. It was sort of a problem of the past
anyway.
xiangbin li [Sun, 25 Oct 2015 11:35:16 +0000 (12:35 +0100)]
MacOSX-Framework: sdk regex fix for sdk 10.10 and later
closes #507
Jay Satiro [Sat, 24 Oct 2015 07:31:57 +0000 (03:31 -0400)]
build: Fix support for PKG_CONFIG
- Allow the user to use PKG_CONFIG but not PKGCONFIG.
Background:
Last week in
14d5a86 a change was made to allow the user to set the
PKGCONFIG variable. Today in
72d99f2 I supplemented that to allow the
more common PKG_CONFIG as an alternative if PKGCONFIG is not set.
Neither of those changes worked as expected because PKGCONFIG is
occasionally reset in configure and by the CURL_CHECK_PKGCONFIG macro.
Instead in this commit I take the approach that the user may set
PKG_CONFIG only.
Jay Satiro [Fri, 23 Oct 2015 21:17:54 +0000 (17:17 -0400)]
build: Fix mingw ssl gdi32 order
- If mingw ssl make sure -lgdi32 comes after ssl libs
- Allow PKG_CONFIG to set pkg-config location and options
Bug: https://github.com/bagder/curl/pull/501
Reported-by: Kang Lin
Daniel Stenberg [Fri, 23 Oct 2015 14:40:44 +0000 (16:40 +0200)]
RELEASE-NOTES: synced with
03b6e078163f
Daniel Stenberg [Fri, 23 Oct 2015 14:14:29 +0000 (16:14 +0200)]
polarssl/mbedtls: fix name space pollution
Global private symbols MUST start with Curl_!
Dmitry S. Baikov [Fri, 23 Oct 2015 22:46:03 +0000 (15:46 -0700)]
mbedTLS: THREADING_SUPPORT compilation fix
Closes #505
Daniel Stenberg [Fri, 23 Oct 2015 13:24:56 +0000 (15:24 +0200)]
test1137: verify --ignore-content-length for FTP
Daniel Stenberg [Fri, 23 Oct 2015 13:24:31 +0000 (15:24 +0200)]
curl.1: --ignore-content-length now works for FTP too
Kurt Fankhauser [Fri, 23 Oct 2015 12:57:30 +0000 (14:57 +0200)]
ftp: allow CURLOPT_IGNORE_CONTENT_LENGTH to ignore size
This allows FTP transfers with growing (or shrinking) files without
causing a transfer error.
Closes #480
Daniel Stenberg [Fri, 23 Oct 2015 07:23:46 +0000 (09:23 +0200)]
CURLOPT_STREAM_WEIGHT.3: call argument 'weight' too
... and add a little example of what the weight actually means. "Relative
proportion of bandwidth".
Daniel Stenberg [Fri, 23 Oct 2015 07:16:00 +0000 (09:16 +0200)]
http2: add stream options to dist and curl_easy_setopt.3
Daniel Stenberg [Wed, 21 Oct 2015 20:47:24 +0000 (22:47 +0200)]
http2: s/priority/weight
Daniel Stenberg [Wed, 21 Oct 2015 13:45:07 +0000 (15:45 +0200)]
http2: on_frame_recv: trust the conn/data input
Removed wrong assert()s
The 'conn' passed in as userdata can be used and there can be other
sessionhandles ('data') than the single one this checked for.
Daniel Stenberg [Sun, 13 Sep 2015 14:07:05 +0000 (16:07 +0200)]
http2: added three stream prio/deps options
CURLOPT_STREAM_DEPENDS
CURLOPT_STREAM_DEPENDS_E
CURLOPT_STREAM_PRIORITY
Daniel Stenberg [Thu, 22 Oct 2015 16:40:53 +0000 (18:40 +0200)]
RELEASE-NOTES: synced with
ace68fdc0cfed83d
m-gardet [Wed, 21 Oct 2015 07:30:31 +0000 (09:30 +0200)]
mbedtls:new profile with RSA min key len = 1024.
Closes #502
Daniel Stenberg [Wed, 21 Oct 2015 11:46:03 +0000 (13:46 +0200)]
checksrc: add crude // detection
Gisle Vanem [Wed, 21 Oct 2015 16:59:43 +0000 (12:59 -0400)]
build: fix for MSDOS/djgpp
- Add a VPATH-statement for the vtls/*.c files.
- Due to 'vtls/*.c', remove that subdir part from $(OBJECTS).
Daniel Stenberg [Tue, 20 Oct 2015 11:33:01 +0000 (13:33 +0200)]
copyrights: update Gisle Vanem's email
Daniel Stenberg [Tue, 20 Oct 2015 06:12:44 +0000 (08:12 +0200)]
vtls: fix compiler warning for TLS backends without sha256
... noticed with mbedTLS.
Jonas Minnberg [Mon, 19 Oct 2015 12:25:34 +0000 (14:25 +0200)]
vtls: added support for mbedTLS
closes #496
Javier G. Sogo [Mon, 19 Oct 2015 14:09:14 +0000 (16:09 +0200)]
cmake: Fix for add_subdirectory(curl) use-case
- Use CURL_BINARY_DIR instead of CMAKE_BINARY_DIR.
When including CURL using add_subdirectory the variables
CMAKE_BINARY_DIR and CURL_BINARY_DIR hold different paths.
Closes https://github.com/bagder/curl/pull/488
Closes https://github.com/bagder/curl/pull/498
Daniel Stenberg [Sun, 18 Oct 2015 21:48:07 +0000 (23:48 +0200)]
RELEASE-NOTES: synced with
4c773bcb474e
Daniel Stenberg [Sun, 18 Oct 2015 21:25:26 +0000 (23:25 +0200)]
tests/FILEFORMAT: mention PSL as a valid feture to check for
For example in test 1136
Daniel Stenberg [Sun, 18 Oct 2015 21:20:08 +0000 (23:20 +0200)]
teste1136: only run when PSL is enabled
Daniel Stenberg [Sat, 17 Oct 2015 22:43:37 +0000 (00:43 +0200)]
curl: slist_wc: remove curl_memory.h inclusion
... that's for the library only.
Daniel Stenberg [Sat, 17 Oct 2015 22:11:13 +0000 (00:11 +0200)]
configure: add PSL to the list of features
... to make test 1014 work again after
e77b5b7453 .
Daniel Hwang [Sat, 17 Oct 2015 21:57:58 +0000 (23:57 +0200)]
tool: Generate easysrc with last cache linked-list
Using a last cache linked-list improves the performance of easysrc
generation.
Bug: https://github.com/bagder/curl/issues/444
Ref: https://github.com/bagder/curl/issues/429
Closes #452
Tim Rühsen [Tue, 29 Sep 2015 09:33:01 +0000 (11:33 +0200)]
cookies: Add support for Mozilla's Publix Suffix List
Use libpsl to check the domain value of Set-Cookie headers (and cookie
jar entries) for not being a Publix Suffix.
The configure script checks for "libpsl" by default. Disable the check
with --without-libpsl.
Ref: https://publicsuffix.org/
Ref: https://github.com/publicsuffix/list
Ref: https://github.com/rockdaboot/libpsl
Richard Hosking [Fri, 16 Oct 2015 20:29:29 +0000 (21:29 +0100)]
curlbuild.h: Fix non-configure compiling to mips and sh4 targets
Anders Bakken [Fri, 16 Oct 2015 18:51:12 +0000 (11:51 -0700)]
http2: Don't pass unitialized name+len pairs to nghttp2_submit_request
bug introduced by
18691642931e5c7ac8af83ac3a84fbcb36000f96 .
Closes #493
Dan Fandrich [Fri, 16 Oct 2015 19:43:56 +0000 (21:43 +0200)]
test1601: fix compilation with --enable-debug and --disable-crypto-auth
Daniel Stenberg [Fri, 16 Oct 2015 20:42:30 +0000 (22:42 +0200)]
multi: fix off-by-one finit[] array size
introduced in
c6aedf680f6 . It needs to be CURLM_STATE_LAST big since it
must hande the range 0 .. CURLM_STATE_MSGSENT (18) and CURLM_STATE_LAST
is 19 right now.
Reported-by: Dan Fandrich
Bug: http://curl.haxx.se/mail/lib-2015-10/0069.html
Daniel Stenberg [Mon, 5 Oct 2015 18:39:10 +0000 (20:39 +0200)]
fread_func: move callback pointer from set to state struct
... and assign it from the set.fread_func_set pointer in the
Curl_init_CONNECT function. This A) avoids that we have code that
assigns fields in the 'set' struct (which we always knew was bad) and
more importantly B) it makes it impossibly to accidentally leave the
wrong value for when the handle is re-used etc.
Introducing a state-init functionality in multi.c, so that we can set a
specific function to get called when we enter a state. The
Curl_init_CONNECT is thus called when switching to the CONNECT state.
Bug: https://github.com/bagder/curl/issues/346
Closes #346
Dan Fandrich [Wed, 14 Oct 2015 20:00:09 +0000 (22:00 +0200)]
test1531: case the size to fix the test on non-largefile builds
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
Dan Fandrich [Mon, 12 Oct 2015 21:47:10 +0000 (23:47 +0200)]
docs/INSTALL: Updated example minimal binary sizes
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.
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
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
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.
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.
Svyatoslav Mishyn [Thu, 8 Oct 2015 16:28:30 +0000 (19:28 +0300)]
curl_easy_recv.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET
Closes #479
Svyatoslav Mishyn [Thu, 8 Oct 2015 16:26:47 +0000 (19:26 +0300)]
curl_easy_send.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
Daniel Stenberg [Thu, 8 Oct 2015 11:47:52 +0000 (13:47 +0200)]
CURLOPT_CERTINFO.3: fix reference to CURLINFO_CERTINFO
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
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 .
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
Daniel Stenberg [Wed, 7 Oct 2015 12:52:32 +0000 (14:52 +0200)]
bump: start climbing toward 7.46.0
Daniel Stenberg [Wed, 7 Oct 2015 12:46:49 +0000 (14:46 +0200)]
RELEASE-PROCEDURE: add the github HTTPS download step
Daniel Stenberg [Wed, 7 Oct 2015 08:12:39 +0000 (10:12 +0200)]
THANKS: 19 new contributors from the 7.45.0 announcement
Daniel Stenberg [Mon, 5 Oct 2015 17:36:31 +0000 (19:36 +0200)]
RELEASE-NOTES: synced with
69ea57970080
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.
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
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
Orange Tsai [Thu, 1 Oct 2015 15:17:58 +0000 (23:17 +0800)]
gopher: don't send NUL byte
Closes #466