]>
granicus.if.org Git - curl/log
Michael Koenig [Mon, 17 Aug 2015 15:54:47 +0000 (17:54 +0200)]
TFTP: add option to suppress TFTP option requests (Part 1)
Some TFTP server implementations ignore the "TFTP Option extension"
(RFC 1782-1784, 2347-2349), or implement it in a flawed way, causing
problems with libcurl. Another switch for curl_easy_setopt
"CURLOPT_TFTP_NO_OPTIONS" is introduced which prevents libcurl from
sending TFTP option requests to a server, avoiding many problems caused
by faulty implementations.
Bug: https://github.com/curl/curl/issues/481
Karlson2k [Sun, 21 Feb 2016 12:48:10 +0000 (15:48 +0300)]
runtests: Fixed usage of %PWD on MinGW64
Closes #672
Jay Satiro [Sat, 20 Feb 2016 21:23:05 +0000 (16:23 -0500)]
CURLOPT_DEBUGFUNCTION.3: Fix example
Viktor Szakats [Sat, 20 Feb 2016 19:21:48 +0000 (20:21 +0100)]
src/Makefile.m32: add CURL_{LD,C}FLAGS_EXTRAS support
Sync with lib/Makefile.m32 which already uses those variables.
Bug: https://github.com/curl/curl/pull/670
Dan Fandrich [Sat, 20 Feb 2016 10:34:15 +0000 (11:34 +0100)]
Enabled test 1437 after the bug fix in commit
3fa220a6
Emil Lerner [Fri, 19 Feb 2016 00:47:27 +0000 (03:47 +0300)]
curl_sasl: Fix memory leak in digest parser
If any parameter in a HTTP DIGEST challenge message is present multiple
times, memory allocated for all but the last entry should be freed.
Bug: https://github.com/curl/curl/pull/667
Dan Fandrich [Fri, 19 Feb 2016 09:45:09 +0000 (10:45 +0100)]
Added test 1437 to verify a memory leak
Reported-by: neex@users.noreply.github.com
Jay Satiro [Fri, 19 Feb 2016 02:07:57 +0000 (21:07 -0500)]
CURLOPT_COOKIEFILE.3: HTTP headers must be Set-Cookie style
Bug: https://github.com/curl/curl/issues/666
Reported-by: baumanj@users.noreply.github.com
Jay Satiro [Fri, 19 Feb 2016 00:01:19 +0000 (19:01 -0500)]
curl.1: HTTP headers for --cookie must be Set-Cookie style
Bug: https://github.com/curl/curl/issues/666
Reported-by: baumanj@users.noreply.github.com
Daniel Stenberg [Thu, 18 Feb 2016 14:32:00 +0000 (15:32 +0100)]
curl.1: add a missing dash
Daniel Stenberg [Thu, 18 Feb 2016 10:59:17 +0000 (11:59 +0100)]
CONTRIBUTING.md: fix links
Daniel Stenberg [Thu, 18 Feb 2016 10:55:59 +0000 (11:55 +0100)]
ISSUE_TEMPLATE: github issue template
First version, try this out!
Daniel Stenberg [Thu, 18 Feb 2016 10:52:25 +0000 (11:52 +0100)]
CONTRIBUTING.md: move into .github
To hide github specific files somewhat from the rest.
Daniel Stenberg [Thu, 18 Feb 2016 08:14:48 +0000 (09:14 +0100)]
opts: add references
Daniel Stenberg [Wed, 17 Feb 2016 14:01:38 +0000 (15:01 +0100)]
examples/make: add 'checksrc' target
Daniel Stenberg [Wed, 17 Feb 2016 14:01:21 +0000 (15:01 +0100)]
10-at-a-time: typecast the argument passed to sleep()
Daniel Stenberg [Wed, 17 Feb 2016 14:00:54 +0000 (15:00 +0100)]
externalsocket.c: fix compiler warning for fwrite return type
Daniel Stenberg [Wed, 17 Feb 2016 14:00:34 +0000 (15:00 +0100)]
anyauthput.c: fix compiler warnings
Daniel Stenberg [Wed, 17 Feb 2016 14:00:18 +0000 (15:00 +0100)]
simplessl.c: warning: while with space
Daniel Stenberg [Wed, 17 Feb 2016 13:51:31 +0000 (14:51 +0100)]
curlx.c: i2s_ASN1_IA5STRING() clashes with an openssl function
Reported-By: Gisle Vanem
Daniel Stenberg [Wed, 17 Feb 2016 07:25:40 +0000 (08:25 +0100)]
http2: don't decompress gzip decoding automatically
At one point during the development of HTTP/2, the commit
133cdd29ea0
introduced automatic decompression of Content-Encoding as that was what
the spec said then. Now however, HTTP/2 should work the same way as
HTTP/1 in this regard.
Reported-by: Kazuho Oku
Closes #661
Tatsuhiro Tsujikawa [Tue, 16 Feb 2016 19:44:57 +0000 (14:44 -0500)]
http: Don't break the header into chunks if HTTP/2
nghttp2 callback deals with TLS layer and therefore the header does not
need to be broken into chunks.
Bug: https://github.com/curl/curl/issues/659
Reported-by: Kazuho Oku
Viktor Szakats [Mon, 15 Feb 2016 23:22:54 +0000 (00:22 +0100)]
openssl: use macro to guard the opaque EVP_PKEY branch
Viktor Szakats [Sat, 13 Feb 2016 16:09:12 +0000 (17:09 +0100)]
openssl: avoid direct PKEY access with OpenSSL 1.1.0
by using API instead of accessing an internal structure.
This is required starting OpenSSL 1.1.0-pre3.
Closes #650
Daniel Stenberg [Mon, 15 Feb 2016 09:20:05 +0000 (10:20 +0100)]
RELEASE-NOTES: synced with
ede0bfc079da
Clint Clayton [Sun, 14 Feb 2016 21:22:19 +0000 (13:22 -0800)]
CURLOPT_CONNECTTIMEOUT_MS.3: Fix example to use milliseconds option
Change the example in the docs for CURLOPT_CONNECTTIMEOUT_MS to use
CURLOPT_CONNECTTIMEOUT_MS instead of CURLOPT_CONNECTTIMEOUT.
Closes #653
Daniel Stenberg [Sun, 14 Feb 2016 14:54:47 +0000 (15:54 +0100)]
opt-docs: add more references
David Byron [Tue, 21 Jul 2015 03:27:12 +0000 (20:27 -0700)]
SCP: use libssh2_scp_recv2 to support > 2GB files on windows
libssh2_scp_recv2 is introduced in libssh2 1.7.0 - to be released "any
day now.
Closes #451
Shine Fan [Sun, 14 Feb 2016 02:54:45 +0000 (10:54 +0800)]
gtls: fix for builds lacking encrypted key file support
Bug: https://github.com/curl/curl/pull/651
Dan Fandrich [Sat, 13 Feb 2016 21:49:45 +0000 (22:49 +0100)]
test1604: Add to Makefile.inc so it gets run
Jay Satiro [Sat, 13 Feb 2016 04:48:54 +0000 (23:48 -0500)]
generate.bat: Fix comment bug by removing old comments
Remove NOTES section, it's no longer needed since we aren't setting the
errorlevel and more importantly the recently updated URL in the comments
is causing some unusual behavior that breaks the script.
Closes https://github.com/curl/curl/issues/649
Kamil Dudka [Fri, 12 Feb 2016 17:39:57 +0000 (18:39 +0100)]
curl.1: --disable-{eprt,epsv} are ignored for IPv6 hosts
The behavior has been clarified in CURLOPT_FTP_USE_{EPRT,EPSV}.3 man
pages since curl-7_12_3~131. This patch makes it clear in the curl.1
man page, too.
Bug: https://bugzilla.redhat.com/
1305970
Daniel Stenberg [Fri, 12 Feb 2016 15:45:25 +0000 (16:45 +0100)]
dist: ship buildconf.bat too
As the winbuild/* stuff uses it!
Daniel Stenberg [Thu, 11 Feb 2016 22:52:43 +0000 (23:52 +0100)]
curlx_tvdiff: handle 32bit time_t overflows
On 32bit systems, make sure we don't overflow and return funky values
for very large time differences.
Reported-by: Anders Bakken
Closes #646
Daniel Stenberg [Thu, 11 Feb 2016 09:21:09 +0000 (10:21 +0100)]
examples: fix some compiler warnings
Daniel Stenberg [Thu, 11 Feb 2016 09:20:48 +0000 (10:20 +0100)]
simplessl.c: fix my breakage
Daniel Stenberg [Thu, 11 Feb 2016 08:42:38 +0000 (09:42 +0100)]
examples: adhere to curl code style
All plain C examples now (mostly) adhere to the curl code style. While
they are only examples, they had diverted so much and contained all
sorts of different mixed code styles by now. Having them use a unified
style helps users and readability. Also, as they get copy-and-pasted
widely by users, making sure they're clean and nice is a good idea.
573 checksrc warnings were addressed.
Daniel Stenberg [Thu, 11 Feb 2016 07:44:59 +0000 (08:44 +0100)]
examples/cookie_interface.c: add cleanup call
cleaning up handles is a good idea as we leak memory otherwise
Also, line wrapped before 80 columns.
Kamil Dudka [Thu, 4 Feb 2016 09:44:52 +0000 (10:44 +0100)]
nss: search slash in forward direction in dup_nickname()
It is wasteful to search it backwards if we look for _any_ slash.
Kamil Dudka [Thu, 4 Feb 2016 09:41:15 +0000 (10:41 +0100)]
nss: do not count enabled cipher-suites
We only care if at least one cipher-suite is enabled, so it does
not make any sense to iterate till the end and count all enabled
cipher-suites.
Daniel Stenberg [Wed, 10 Feb 2016 12:49:42 +0000 (13:49 +0100)]
contributors.sh: make 79 the max column width (from 80)
Daniel Stenberg [Wed, 10 Feb 2016 12:49:34 +0000 (13:49 +0100)]
RELEASE-NOTES: synced with
c276aefee3995
Daniel Stenberg [Wed, 10 Feb 2016 09:46:57 +0000 (10:46 +0100)]
mbedtls.c: re-indent to better match curl standards
Rafael Antonio [Mon, 1 Feb 2016 22:13:10 +0000 (23:13 +0100)]
mbedtls: fix memory leak when destroying SSL connection data
Closes #626
Daniel Stenberg [Tue, 9 Feb 2016 22:37:14 +0000 (23:37 +0100)]
mbedtls: fix ALPN usage segfault
Since we didn't keep the input argument around after having called
mbedtls, it could end up accessing the wrong memory when figuring out
the ALPN protocols.
Closes #642
Timotej Lazar [Tue, 9 Feb 2016 18:40:24 +0000 (19:40 +0100)]
opts: update references to renamed options
Jay Satiro [Tue, 9 Feb 2016 08:29:19 +0000 (03:29 -0500)]
KNOWN_BUGS: Update #92 - Windows device prefix
Jay Satiro [Tue, 9 Feb 2016 08:28:58 +0000 (03:28 -0500)]
tool_doswin: Support for literal path prefix \\?\
For example something like --output \\?\C:\foo
Daniel Stenberg [Tue, 9 Feb 2016 07:44:26 +0000 (08:44 +0100)]
configure: state "BoringSSL" in summary when that was detected
David Benjamin [Tue, 9 Feb 2016 04:19:31 +0000 (23:19 -0500)]
openssl: remove most BoringSSL #ifdefs.
As of https://boringssl-review.googlesource.com/#/c/6980/, almost all of
BoringSSL #ifdefs in cURL should be unnecessary:
- BoringSSL provides no-op stubs for compatibility which replaces most
#ifdefs.
- DES_set_odd_parity has been in BoringSSL for nearly a year now. Remove
the compatibility codepath.
- With a small tweak to an extend_key_56_to_64 call, the NTLM code
builds fine.
- Switch OCSP-related #ifdefs to the more generally useful
OPENSSL_NO_OCSP.
The only #ifdefs which remain are Curl_ossl_version and the #undefs to
work around OpenSSL and wincrypt.h name conflicts. (BoringSSL leaves
that to the consumer. The in-header workaround makes things sensitive to
include order.)
This change errs on the side of removing conditionals despite many of
the restored codepaths being no-ops. (BoringSSL generally adds no-op
compatibility stubs when possible. OPENSSL_VERSION_NUMBER #ifdefs are
bad enough!)
Closes #640
Jay Satiro [Mon, 8 Feb 2016 22:40:53 +0000 (17:40 -0500)]
KNOWN_BUGS: Windows device prefix is required for devices
Jay Satiro [Mon, 8 Feb 2016 20:09:42 +0000 (15:09 -0500)]
tool_urlglob: Allow reserved dos device names (Windows)
Allow --output to reserved dos device names without the device prefix
for backwards compatibility.
Example: --output NUL can be used instead of --output \\.\NUL
Bug: https://github.com/curl/curl/commit/
4520534 #commitcomment-
15954863
Reported-by: Gisle Vanem
Daniel Stenberg [Mon, 8 Feb 2016 14:48:18 +0000 (15:48 +0100)]
cookies: allow spaces in cookie names, cut of trailing spaces
It turns out Firefox and Chrome both allow spaces in cookie names and
there are sites out there using that.
Turned out the code meant to strip off trailing space from cookie names
didn't work. Fixed now.
Test case 8 modified to verify both these changes.
Closes #639
Patrick Monnerat [Mon, 8 Feb 2016 13:52:18 +0000 (14:52 +0100)]
Merge branch 'master' of github.com:curl/curl
Patrick Monnerat [Mon, 8 Feb 2016 13:50:53 +0000 (14:50 +0100)]
os400: sync ILE/RPG definitions with latest public header files.
Ludwig Nussel [Fri, 27 Mar 2015 07:22:39 +0000 (08:22 +0100)]
SSLCERTS: update wrt SSL CA certificate store
Ludwig Nussel [Tue, 24 Mar 2015 12:25:17 +0000 (13:25 +0100)]
configure: --with-ca-fallback: use built-in TLS CA fallback
When trying to verify a peer without having any root CA certificates
set, this makes libcurl use the TLS library's built in default as
fallback.
Closes #569
Daniel Stenberg [Thu, 4 Feb 2016 14:07:02 +0000 (15:07 +0100)]
Proxy-Connection: stop sending this header by default
RFC 7230 says we should stop. Firefox already stopped.
Bug: https://github.com/curl/curl/issues/633
Reported-By: Brad Fitzpatrick
Closes #633
Daniel Stenberg [Mon, 8 Feb 2016 09:47:44 +0000 (10:47 +0100)]
bump: work toward the next release
Daniel Stenberg [Mon, 8 Feb 2016 09:46:01 +0000 (10:46 +0100)]
THANKS: 2 contributors from the 7.47.1 release
Daniel Stenberg [Mon, 8 Feb 2016 09:35:35 +0000 (10:35 +0100)]
RELEASE-PROCEDURE: remove the github upload part
... as we're HTTPS on the main site now, there's no point in that
extra step
Daniel Stenberg [Mon, 8 Feb 2016 09:26:24 +0000 (10:26 +0100)]
RELEASE-NOTES: curl 7.47.1 time!
Jay Satiro [Sun, 7 Feb 2016 09:49:07 +0000 (04:49 -0500)]
tool_operhlp: Check for backslashes in get_url_file_name
Extract the filename from the last slash or backslash. Prior to this
change backslashes could be part of the filename.
This change needed for the curl tool built for Cygwin. Refer to the
CYGWIN addendum in advisory
20160127B .
Bug: https://curl.haxx.se/docs/adv_20160127B.html
Daniel Stenberg [Sun, 7 Feb 2016 15:20:23 +0000 (16:20 +0100)]
RELEASE-NOTES: synced with
d6a8869ea34
Jay Satiro [Sun, 7 Feb 2016 00:10:49 +0000 (19:10 -0500)]
openssl: Fix signed/unsigned mismatch warning in X509V3_ext
sk_X509_EXTENSION_num may return an unsigned integer, however the value
will fit in an int.
Bug: https://github.com/curl/curl/commit/
dd1b44c #commitcomment-
15913896
Reported-by: Gisle Vanem
Daniel Stenberg [Sat, 6 Feb 2016 23:27:28 +0000 (00:27 +0100)]
TODO: 17.11 -w output to stderr
Michael Kaufmann [Fri, 5 Feb 2016 20:15:43 +0000 (21:15 +0100)]
idn_win32: Better error checking
.. also fix a conversion bug in the unused function
curl_win32_ascii_to_idn().
And remove wprintfs on error (Jay).
Bug: https://github.com/curl/curl/pull/637
Gisle Vanem [Sat, 6 Feb 2016 22:04:37 +0000 (17:04 -0500)]
examples/asiohiper: Avoid function name collision on Windows
closesocket => close_socket
Winsock already has the former.
Bug: https://curl.haxx.se/mail/lib-2016-02/0016.html
Gisle Vanem [Sat, 6 Feb 2016 22:02:53 +0000 (17:02 -0500)]
examples/htmltitle: Use _stricmp on Windows
Bug: https://curl.haxx.se/mail/lib-2016-02/0017.html
Daniel Stenberg [Sat, 6 Feb 2016 17:39:41 +0000 (18:39 +0100)]
COPYING: clarify that Daniel is not the sole author
... done on request and as it is a fair point.
Jay Satiro [Fri, 5 Feb 2016 18:37:39 +0000 (13:37 -0500)]
unit1604: Fix unit setup return code
Jay Satiro [Fri, 5 Feb 2016 07:22:24 +0000 (02:22 -0500)]
tool_doswin: Use type SANITIZEcode in sanitize_file_name
Jay Satiro [Fri, 5 Feb 2016 06:44:27 +0000 (01:44 -0500)]
tool_doswin: Improve sanitization processing
- Add unit test 1604 to test the sanitize_file_name function.
- Use -DCURL_STATICLIB when building libcurltool for unit testing.
- Better detection of reserved DOS device names.
- New flags to modify sanitize behavior:
SANITIZE_ALLOW_COLONS: Allow colons
SANITIZE_ALLOW_PATH: Allow path separators and colons
SANITIZE_ALLOW_RESERVED: Allow reserved device names
SANITIZE_ALLOW_TRUNCATE: Allow truncating a long filename
- Restore sanitization of banned characters from user-specified outfile.
Prior to this commit sanitization of a user-specified outfile was
temporarily disabled in
2b6dadc because there was no way to allow path
separators and colons through while replacing other banned characters.
Now in such a case we call the sanitize function with
SANITIZE_ALLOW_PATH which allows path separators and colons to pass
through.
Closes https://github.com/curl/curl/issues/624
Reported-by: Octavio Schroeder
Viktor Szakats [Wed, 3 Feb 2016 04:09:25 +0000 (05:09 +0100)]
URLs: change more http to https
Jay Satiro [Thu, 4 Feb 2016 23:11:07 +0000 (18:11 -0500)]
sasl_sspi: Fix memory leak in domain populate
Free an existing domain before replacing it.
Bug: https://github.com/curl/curl/issues/635
Reported-by: silveja1@users.noreply.github.com
Viktor Szakats [Wed, 3 Feb 2016 17:34:16 +0000 (18:34 +0100)]
URLs: follow GitHub project rename (also Travis CI)
Closes #632
Daniel Stenberg [Wed, 3 Feb 2016 14:33:47 +0000 (15:33 +0100)]
CHANGES.o: fix references to curl.haxx.nu
I removed the scheme prefix from the URLs references this host name, as
we don't own/run that anymore but the name is kept for historic reasons.
Daniel Stenberg [Wed, 3 Feb 2016 14:33:30 +0000 (15:33 +0100)]
HISTORY: add some info about when we used which host names
Viktor Szakats [Wed, 3 Feb 2016 03:16:52 +0000 (04:16 +0100)]
URLs: change more http to https
Dan Fandrich [Wed, 3 Feb 2016 00:45:21 +0000 (01:45 +0100)]
URLs: Change more haxx.se URLs from http: to https:
Daniel Stenberg [Tue, 2 Feb 2016 23:32:07 +0000 (00:32 +0100)]
RELEASE-NOTES: synced with
4af40b364
Daniel Stenberg [Tue, 2 Feb 2016 23:19:02 +0000 (00:19 +0100)]
URLs: change all http:// URLs to https://
Daniel Stenberg [Tue, 2 Feb 2016 21:49:05 +0000 (22:49 +0100)]
configure: update the copyright year range in output
Daniel Stenberg [Tue, 2 Feb 2016 21:43:54 +0000 (22:43 +0100)]
dotdot: allow an empty input string too
It isn't used by the code in current conditions but for safety it seems
sensible to at least not crash on such input.
Extended unit test 1395 to verify this too as well as a plain "/" input.
Daniel Stenberg [Mon, 1 Feb 2016 23:24:30 +0000 (00:24 +0100)]
HTTPS: update a bunch of URLs from HTTP to HTTPS
Sergei Nikulov [Thu, 28 Jan 2016 12:57:28 +0000 (15:57 +0300)]
AppVeyor: updated to handle OpenSSL/WinSSL builds
Closes #621
Jay Satiro [Mon, 1 Feb 2016 09:11:46 +0000 (04:11 -0500)]
tool_operate: Don't sanitize --output path (Windows)
Due to path separators being incorrectly sanitized in --output
pathnames, eg -o c:\foo => c__foo
This is a partial revert of
3017d8a until I write a proper fix. The
remote-name will continue to be sanitized, but if the user specified an
--output with string replacement (#1, #2, etc) that data is unsanitized
until I finish a fix.
Bug: https://github.com/bagder/curl/issues/624
Reported-by: Octavio Schroeder
Jay Satiro [Fri, 29 Jan 2016 08:28:48 +0000 (03:28 -0500)]
curl.1: Explain remote-name behavior if file already exists
.. also warn about letting the server pick the filename.
Gisle Vanem [Fri, 29 Jan 2016 05:11:41 +0000 (00:11 -0500)]
urldata: Error on missing SSL backend-specific connect info
Daniel Stenberg [Thu, 28 Jan 2016 15:36:29 +0000 (16:36 +0100)]
bump: towards the next (7.47.1 ?)
Sergei Nikulov [Wed, 27 Jan 2016 12:22:39 +0000 (15:22 +0300)]
cmake: fixed when OpenSSL enabled on Windows and schannel detected
Closes #617
Sergei Nikulov [Wed, 27 Jan 2016 13:01:05 +0000 (16:01 +0300)]
urldata: moved common variable out of ifdef
Closes https://github.com/bagder/curl/pull/618
Viktor Szakats [Wed, 27 Jan 2016 10:04:18 +0000 (11:04 +0100)]
tool_doswin: silence unused function warning
tool_doswin.c:185:14: warning: 'msdosify' defined but not used
[-Wunused-function]
Closes https://github.com/bagder/curl/pull/616
Daniel Stenberg [Wed, 27 Jan 2016 08:35:55 +0000 (09:35 +0100)]
getredirect.c: fix variable name
Reported-by: Bernard Spil
Daniel Stenberg [Wed, 27 Jan 2016 07:30:04 +0000 (08:30 +0100)]
examples/Makefile.inc: specify programs without .c!
Daniel Stenberg [Tue, 26 Jan 2016 22:45:02 +0000 (23:45 +0100)]
THANKS: 6 new contributors from 7.47.0 release notes
Isaac Boukris [Wed, 13 Jan 2016 09:05:51 +0000 (11:05 +0200)]
NTLM: Fix ConnectionExists to compare Proxy credentials
Proxy NTLM authentication should compare credentials when
re-using a connection similar to host authentication, as it
authenticate the connection.
Example:
curl -v -x http://proxy:port http://host/ -U good_user:good_pwd
--proxy-ntlm --next -x http://proxy:port http://host/
[-U fake_user:fake_pwd --proxy-ntlm]
CVE-2016-0755
Bug: http://curl.haxx.se/docs/adv_20160127A.html
Ray Satiro [Tue, 26 Jan 2016 22:23:15 +0000 (23:23 +0100)]
curl: avoid local drive traversal when saving file (Windows)
curl does not sanitize colons in a remote file name that is used as the
local file name. This may lead to a vulnerability on systems where the
colon is a special path character. Currently Windows/DOS is the only OS
where this vulnerability applies.
CVE-2016-0754
Bug: http://curl.haxx.se/docs/adv_20160127B.html
Daniel Stenberg [Tue, 26 Jan 2016 22:34:10 +0000 (23:34 +0100)]
RELEASE-NOTES: 7.47.0
Daniel Stenberg [Mon, 25 Jan 2016 10:11:29 +0000 (11:11 +0100)]
FAQ: language fix in 4.19