PaulHowarth/Blog/2020-01-08

Wednesday 8th January 2020

Local Packages

  • Updated curl to 7.68.0:

    • TLS: Add BearSSL vtls implementation
    • XFERINFOFUNCTION: Support CURL_PROGRESSFUNC_CONTINUE

    • curl: Add --etag-compare and --etag-save

    • curl: Add --parallel-immediate

    • multi: Add curl_multi_wakeup()

    • openssl: CURLSSLOPT_NO_PARTIALCHAIN can disable partial cert chains

    • CVE-2019-15601: file: on Windows, refuse paths that start with \\

    • Azure Pipelines: Add several builds
    • CMake: Add support for building with the NSS vtls backend
    • CURL-DISABLE: Initial docs for the CURL_DISABLE_* defines

    • CURLOPT_HEADERFUNCTION.3: Document that size is always 1

    • CURLOPT_QUOTE.3: Fix typos

    • CURLOPT_READFUNCTION.3: Fix the example

    • CURLOPT_URL.3: curl supports SMB version 1 (only)

    • CURLOPT_VERBOSE.3: See also ERRORBUFFER

    • HISTORY: Added cmake, HTTP/3 and parallel downloads with curl

    • HISTORY: The SMB(S) support landed in 2014

    • INSTALL.md: Provide Android build instructions

    • KNOWN_BUGS: Connection information when using TCP Fast Open

    • KNOWN_BUGS: LDAP on Windows doesn't work correctly

    • KNOWN_BUGS: TLS session cache doesn't work with TFO

    • OPENSOCKETFUNCTION.3: Correct the purpose description

    • TrackMemory tests: Always remove CR before LF

    • altsvc: Bump to h3-24
    • altsvc: Make the save function ignore NULL filenames

    • build: Disable Visual Studio warning "conditional expression is constant"
    • build: Fix for CURL_DISABLE_DOH

    • checksrc.bat: Add a check for vquic and vssh directories

    • checksrc: Repair the copyrightyear check

    • cirrus-ci: Enable clang sanitizers on freebsd 13

    • cirrus: Drop the FreeBSD 10.4 build
    • config-win32: cpu-machine-OS for Windows on ARM
    • configure: Avoid unportable '==' test(1) operator

    • configure: Enable IPv6 support without 'getaddrinfo'

    • configure: Fix typo in help text

    • conncache: CONNECT_ONLY connections assumed always in-use

    • conncache: Fix multi-thread use of shared connection cache
    • copyrights: Fix copyright year range
    • create_conn: Prefer multiplexing to using new connections

    • curl -w: Handle a blank input file correctly

    • curl.h: Add two missing defines for "pre ISO C" compilers

    • curl/parseconfig: Fix mem-leak

    • curl/parseconfig: Use curl_free() to free memory allocated by libcurl

    • curl: Clean up multi handle on failure

    • curl: Fix --upload-file . hangs if delay in STDIN

    • curl: Fix -T globbing

    • curl: Improved clean-up in upload error path

    • curl: Make a few char pointers point to const char instead

    • curl: Properly free mimepost data

    • curl: Show better error message when no homedir is found

    • curl: Show error for --http3 if libcurl lacks support

    • curl_setup_once: Consistently use WHILE_FALSE in macros

    • define: Remove HAVE_ENGINE_LOAD_BUILTIN_ENGINES, not used any more

    • docs: Change 'experiemental' to 'experimental'
    • docs: TLS SRP doesn't work with TLS 1.3
    • docs: Fix several typos
    • docs: Mention CURL_MAX_INPUT_LENGTH restrictions

    • doh: Improved both encoding and decoding
    • doh: Make it behave when built without proxy support
    • examples/postinmemory.c: Always call curl_global_cleanup

    • examples/url2file.c: Corrected erroneous comment

    • examples: Add multi-poll.c

    • global_init: Undo the "initialized" bump in case of failure

    • hostip: Suppress compiler warning
    • http_ntlm: Remove duplicate NSS initialization
    • lib: Move lib/ssh.hlib/vssh/ssh.h

    • lib: Fix compiler warnings with 'CURL_DISABLE_VERBOSE_STRINGS'

    • lib: Fix warnings found when porting to NuttX
    • lib: Remove ASSIGNWITHINCONDITION exceptions, use our code style

    • lib: Remove erroneous +x file permission on some c files

    • libssh2: Add support for ECDSA and ed25519 knownhost keys

    • multi.h: Remove INITIAL_MAX_CONCURRENT_STREAMS from public header

    • multi: Free sockhash on OOM

    • multi_poll: Avoid busy-loop when called without easy handles attached

    • ngtcp2: Support the latest update key callback type
    • ngtcp2: Fix thread-safety bug in error-handling
    • ngtcp2: Free used resources on disconnect
    • ngtcp2: Handle key updates as ngtcp2 master branch tells us
    • ngtcp2: Increase QUIC window size when data is consumed
    • ngtcp2: Use overflow buffer for extra HTTP/3 data
    • ntlm: USE_WIN32_CRYPTO check removed to get USE_NTLM2SESSION set

    • ntlm_wb: Fix double-free in OOM

    • openssl: Revert to less sensitivity for SYSCALL errors

    • openssl: Improve error message for SYSCALL during connect

    • openssl: Prevent recursive function calls from ctx callbacks
    • openssl: Retrieve reported LibreSSL version at runtime
    • openssl: Set X509_V_FLAG_PARTIAL_CHAIN by default

    • parsedate: Offer a getdate_capped() alternative

    • pause: Avoid updating socket if done was already called
    • projects: Fix Visual Studio projects SSH builds
    • projects: Fix Visual Studio wolfSSL configurations
    • quiche: Reject HTTP/3 headers in the wrong order
    • remove_handle: Clear expire timers after multi_done()

    • runtests: --repeat=[num] to repeat tests

    • runtests: Introduce --shallow to reduce huge torture tests

    • schannel: Fix --tls-max for when min is --tlsv1 or default

    • setopt: Fix ALPN / NPN user option when built without HTTP2

    • strerror: Add Curl_winapi_strerror for Win API specific errors

    • strerror: Fix an error looking up some Windows error strings

    • strerror: Fix compiler warning "empty expression"

    • system.h: Fix for MCST lcc compiler

    • test/sws: Search for "Testno:" header unconditionally if no testno

    • test1175: Verify symbols-in-versions and libcurl-errors.3 in sync

    • test1270: A basic -w redirect_url test

    • test1456: Remove the use of a fixed local port number

    • test1558: Use double slash after file:

    • test1560: Require IPv6 for IPv6 aware URL parsing

    • tests/lib1557: Fix mem-leak in OOM

    • tests/lib1559: Fix mem-leak in OOM

    • tests/lib1591: Free memory properly on OOM, in the trailers callback

    • tests/unit1607: Fix mem-leak in OOM

    • tests/unit1609: Fix mem-leak in OOM

    • tests/unit1620: Fix bad free in OOM

    • tests: Change NTLM tests to require SSL
    • tests: Fix bounce requests with truncated writes
    • tests: Fix build with 'CURL_DISABLE_DOH'

    • tests: Fix permissions of ssh keys in WSL
    • tests: Make it possible to set executable extensions
    • tests: Make sure checksrc runs on header files too

    • tests: Set LC_ALL=en_US.UTF-8 instead of blank in several tests

    • tests: Use DoH feature for DoH tests
    • tests: Use \r\n for log messages in WSL

    • tool_operate: Fix mem leak when failed config parse

    • travis: Fix error detection
    • travis: Abandon coveralls, it is not reliable
    • travis: Build ngtcp2 with --enable-lib-only

    • travis: Export the CC/CXX variables when set

    • vtls: Make BearSSL possible to set with CURL_SSL_BACKEND

    • winbuild: Define CARES_STATICLIB when WITH_CARES=static

    • winbuild: Document CURL_STATICLIB requirement for static libcurl

  • Updated perl-autodie to 2.31:

    • Correct diag explain in t/version.t so it'll pass on perl 5.8

    • Only test t/no-all.t if optional IPC::System::Simple is available

    • Switch automated testing to github actions
    • Turn off t/kill.t for Windows; recent versions of Windows seem to choke when doing: 'kill 0, $$;'


Recent