]>
granicus.if.org Git - curl/log
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
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.
Thorsten Schöning [Tue, 29 Sep 2015 22:03:35 +0000 (00:03 +0200)]
win32: make recent Borland compilers use long long
Daniel Stenberg [Tue, 29 Sep 2015 08:57:42 +0000 (10:57 +0200)]
RELEASE-NOTES: synced with
69b89050d4
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
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
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.
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
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.
Sergei Nikulov [Thu, 17 Sep 2015 13:34:47 +0000 (16:34 +0300)]
CI: Added AppVeyor-CI for curl
Closes #439
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
Tatsuhiro Tsujikawa [Sat, 26 Sep 2015 08:24:34 +0000 (17:24 +0900)]
build: fix failures with -Wcast-align and -Werror
Closes #457
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
Jay Satiro [Fri, 25 Sep 2015 06:37:42 +0000 (02:37 -0400)]
curl_easy_getinfo.3: Add brief description for each CURLINFO
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
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.
Daniel Stenberg [Wed, 23 Sep 2015 11:53:38 +0000 (13:53 +0200)]
tests: disable 1510 due to CI-problems on github
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>
Daniel Stenberg [Tue, 22 Sep 2015 20:21:58 +0000 (22:21 +0200)]
RELEASE-NOTES: synced with
6b56901b56e
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>
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.
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
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