summaryrefslogtreecommitdiff
path: root/www/curl
AgeCommit message (Collapse)AuthorFilesLines
2022-10-26*: bump PKGREVISION for libunistring shlib major bumpwiz2-3/+4
2022-10-26curl: update to 7.86.0.wiz3-7/+12
Changes: NPN: remove support for and use of Websockets: initial support Bugfixes: altsvc: reject bad port numbers altsvc: use 'h3' for h3 amiga: do not hardcode openssl/zlib into the os config amiga: set SIZEOF_CURL_OFF_T=8 by default amigaos: add missing curl header asyn-ares: set hint flags when calling ares_getaddrinfo autotools: allow --enable-symbol-hiding with windows autotools: allow unix sockets on Windows autotools: reduce brute-force when detecting recv/send arg list aws_sigv4: fix header computation bearssl: make it proper C89 compliant CI/GHA: cancel outdated CI runs on new PR changes CI/GHA: merge msh3 and openssl3 builds into linux workflow cirrus-ci: add macOS build with m1 cirrus: use make LDFLAGS=-all-static instead of curl_LDFLAGS cli tool: do not use disabled protocols cmake: add missing inet_ntop check cmake: add the check of HAVE_SOCKETPAIR cmake: define BUILDING_LIBCURL in lib/CMakeLists, not config.h cmake: delete duplicate HAVE_GETADDRINFO test cmake: enable more detection on Windows cmake: fix original MinGW builds cmake: improve usability of CMake build as a sub-project cmake: set HAVE_GETADDRINFO_THREADSAFE on Windows cmake: set HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID on Windows cmake: sync HAVE_SIGNAL detection with autotools cmdline/docs: add a required 'multi' keyword for each option configure: correct the wording when checking grep -E configure: deprecate builds with small curl_off_t configure: fail if '--without-ssl' + explicit parameter for an ssl lib configure: the ngtcp2 option should default to 'no' connect: change verbose IPv6 address:port to [address]:port connect: fix builds without AF_INET6 connect: fix Curl_updateconninfo for TRNSPRT_UNIX connect: fix the wrong error message on connect failures content_encoding: use writer struct subclasses for different encodings cookie: reject cookie names or content with TAB characters ctype: remove all use of <ctype.h>, use our own versions curl-compilers.m4: for gcc + want warnings, set gnu89 standard curl-compilers.m4: use -O2 as default optimize for clang curl-wolfssl.m4: error out if wolfSSL is not usable curl.h: fix mention of wrong error code in comment curl/add_file_name_to_url: use the libcurl URL parser curl/add_parallel_transfers: better error handling curl/get_url_file_name: use libcurl URL parser curl: warn for --ssl use, considered insecure curl_ctype: convert to macros-only curl_easy_pause.3: unpausing is as fast as possible curl_escape.3: fix typo curl_setup: disable use of FLOSS for 64-bit NonStop builds curl_setup: include curl.h after platform setup headers curl_setup: include only system.h instead of curl.h curl_strequal.3: fix argument typo curl_url_set.3: document CURLU_APPENDQUERY proper CURLMOPT_PIPELINING.3: dedup manpage xref CURLOPT_ACCEPT_ENCODING.3: remove "four" as they are five CURLOPT_AUTOREFERER.3: highlight the privacy leak risk CURLOPT_COOKIEFILE: insist on "" for enable-without-file CURLOPT_COOKIELIST.3: fix formatting mistake CURLOPT_DNS_INTERFACE.3: mention it works for almost all protocols CURLOPT_MIMEPOST.3: add an (inline) example CURLOPT_POSTFIELDS.3: refer to CURLOPT_MIMEPOST CURLOPT_PROXY_SSLCERT_BLOB.3: this is for HTTPS proxies CURLOPT_WILDCARDMATCH.3: Fix backslash escaping under single quotes CURLSHOPT_UNLOCKFUNC.3: the callback has no 'access' argument DEPRECATE.md: Support for systems without 64 bit data types docs/examples: avoid deprecated options in examples where possible docs/INSTALL: update Android Instructions for newer NDKs docs/libcurl/symbols-in-versions: add several missing symbols docs: 100+ spellfixes docs: correct missing uppercase in Markdown files docs: document more server names for test files docs: fix deprecation versions inconsistencies docs: make sure libcurl opts examples pass in long arguments docs: remove mentions of deprecated '--without-openssl' parameter docs: tag curl options better in man pages docs: tell about disabled protocols in CURLOPT_*PROTOCOLS_STR. docs: update sourceforge project links easy: fix the #include order easy: fix the altsvc init for curl_easy_duphandle easy_lock: check for HAVE_STDATOMIC_H as well examples/chkspeed: improve portability formdata: fix warning: 'CURLformoption' is promoted to 'int' ftp: ignore a 550 response to MDTM ftp: remove redundant if functypes: provide the recv and send arg and return types getparameter: return PARAM_MANUAL_REQUESTED for -M even when disabled GHA: build tests in a separate step from the running of them GHA: run proselint on markdown files github: initial CODEOWNERS setup for CI configuration header: define public API functions as extern c headers: reset the requests counter at transfer start hostip: guard PF_INET6 use hostip: lazily wait to figure out if IPv6 works until needed http, vauth: always provide Curl_allow_auth_to_host() functionality http2: make nghttp2 less picky about field whitespace HTTP3.md: update Caddy example http: try parsing Retry-After: as a number first http_proxy: restore the protocol pointer on error httpput-postfields.c: shorten string for C89 compliance ldap: delete stray CURL_HAS_MOZILLA_LDAP reference lib1560: extended to verify detect/reject of unknown schemes lib517: fix C89 constant signedness lib: add missing limits.h includes lib: add required Win32 setup definitions in setup-win32.h lib: prepare the incoming of additional protocols lib: sanitize conditional exclusion around MIME lib: set more flags in config-win32.h lib: the number four in a sequence is the "fourth" libssh: if sftp_init fails, don't get the sftp error code Makefile.m32: deduplicate build rules Makefile.m32: drop CROSSPREFIX and our CC/AR defaults Makefile.m32: exclude libs & libpaths for shared mode exes Makefile.m32: fix regression with tool_hugehelp Makefile.m32: major rework Makefile.m32: reintroduce CROSSPREFIX and -W -Wall Makefile.m32: support more options manpage-syntax.pl: all libcurl option symbols should be \fI-tagged manpages: Fix spelling of "allows to" -> "allows one to" misc: ISSPACE() => ISBLANK() misc: use the term "null-terminate" consistently mprintf: reject two kinds of precision for the same argument mprintf: use snprintf if available mqtt: return error for too long topic mqtt: spell out CONNECT in comments msh3: change the static_assert to make the code C89 netrc: compare user name case sensitively netrc: replace fgets with Curl_get_line netrc: use the URL-decoded user ngtcp2: fix build errors due to changes in ngtcp2 library ngtcp2: fix C89 compliance nit noproxy: support proxies specified using cidr notation openssl: make certinfo available for QUIC README.md: add GHA status badges for Linux and macOS builds RELEASE-PROCEDURE.md: mention patch releases resolve: make forced IPv4 resolve only use A queries runtests: fix uninitialized value on ignored tests schannel: ban server ALPN change during recv renegotiation schannel: don't reset recv/send function pointers on renegotiation schannel: when importing PFX, disable key persistence scripts: use `grep -E` instead of `egrep` setopt: use the handler table for protocol name to number conversions setopt: when POST is set, reset the 'upload' field setup-win32: no longer define UNICODE/_UNICODE implicitly single_transfer: use the libcurl URL parser when appending query parts smb: replace CURL_WIN32 with WIN32 strcase: add and use Curl_timestrcmp strerror: improve two URL API error messages symbol-scan.pl: also check for LIBCURL* symbols symbol-scan.pl: scan and verify .3 man pages symbols-in-versions: add missing LIBCURL* symbols symbols-in-versions: CURLOPT_ENCODING is deprecated since 7.21.6 test1119: scan all public headers test1275: verify uppercase after period in markdown test972: verify the output without using external tool tests/certs/scripts: insert standard curl source headers tests/Makefile: remove run time stats from ci-test tests: avoid CreateThread if _beginthreadex is available tests: fix tag syntax errors in test files tests: skip mime/form tests when mime is not built-in tidy-up: delete parallel/unused feature flags tidy-up: delete unused HAVE_STRUCT_POLLFD TODO: provide the error body from a CONNECT response tool: avoid generating ambiguous escaped characters in --libcurl tool: remove dead code tool: reorganize function c_escape around a dynbuf tool_hugehelp: make hugehelp a blank macro when disabled tool_main: exit at once if out of file descriptors tool_operate: avoid a few #ifdefs for disabled-libcurl builds tool_operate: more transfer cleanup after parallel transfer fail tool_operate: prevent over-queuing in parallel mode tool_operate: reduce errorbuffer allocs tool_paramhelp: asserts verify maximum sizes for string loading tool_paramhelp: make the max argument a 'double' tool_progress: remove 'Qd' from the parallel progress bar tool_setopt: use better English in --libcurl source comments tool_xattr: save the original URL, not the final redirected one unit test 1655: make it C89-compliant url: a zero-length userinfo part in the URL is still a (blank) user url: allow non-HTTPS HSTS-matching for debug builds url: rename function due to name-clash in Watt-32 url: use IDN decoded names for HSTS checks urlapi: detect scheme better when not guessing urlapi: fix parsing URL without slash with CURLU_URLENCODE urlapi: leaner with fewer allocs urlapi: reject more bad characters from the host name field winbuild/MakefileBuild.vc: handle spaces in libssh(2) include paths winbuild: use NMake batch-rules for compilation windows: add .rc support to autotools builds windows: adjust name of two internal public functions windows: autotools .rc warnings fixup wolfSSL: fix session management bug.
2022-09-01curl: updated to 7.85.0adam4-26/+10
7.85.0 Changes: quic: add support via wolfSSL schannel: Add TLS 1.3 support setopt: add CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS_STR Bugfixes: amigaos: fix threaded resolver on AmigaOS 4.x amissl: allow AmiSSL to be used with AmigaOS 4.x builds amissl: make AmiSSL v5 a minimum requirement asyn-ares: make a single alloc out of hostname + async data asyn-thread: fix socket leak on OOM asyn-thread: make getaddrinfo_complete return CURLcode base64: base64url encoding has no padding BUGS.md: improve language build: improve OS string in CMake and `config-win32.h` cert.d: clarify that escape character works for file paths cirrus.yml: replace py38-pip with py39-pip cirrus/freebsd-ci: bootstrap the pip installer cmake: add detection of threadsafe feature cmake: do not force Windows target versions cmake: fix build for mingw cross compile cmake: link curl to its dependencies with PRIVATE cmake: remove APPEND in export(TARGETS) cmake: set feature PSL if present cmake: support ngtcp2 boringssl backend cmdline-opts/gen.pl: improve performance config: remove the check for and use of SIZEOF_SHORT configure: -pthread not available on AmigaOS 4.x configure: check for the stdatomic.h header in configure configure: fix --disable-headers-api configure: fix broken m4 syntax in TLS options configure: fixup bsdsocket detection code for AmigaOS 4.x configure: if asked to use TLS, fail if no TLS lib was detected configure: introduce CURL_SIZEOF connect: add quic connection information connect: close the happy eyeballs loser connection when using QUIC connect: revert the use of IP*_RECVERR connect: set socktype/protocol correctly cookie: reject cookies with "control bytes" cookie: treat a blank domain in Set-Cookie: as non-existing cookie: use %zu to infof() for size_t values curl-compilers.m4: make icc use -diag* options and disable two warnings curl-config: quote directories with potential space curl-confopts: remove leftover AC_REQUIREs curl-functions.m4: check whether atomics can link curl-wolfssl.m4: add options header when building test code curl.h: CURLE_CONV_FAILED is obsoleted curl.h: include <sys/select.h> on SunOS curl: output warning when a cookie is dropped due to size curl: writeout: fix repeated header outputs Curl_close: call Curl_resolver_cancel to avoid memory-leak curl_easy_header: Add CURLH_PSEUDO to sanity check curl_mime_data.3: polish the wording curl_multi_timeout.3: clarify usage CURLINFO_SPEED_UPLOAD/DOWNLOAD.3: fix examples CURLOPT_BUFFERSIZE.3: add upload buffersize to see also CURLOPT_CONNECT_ONLY.3: clarify multi API use CURLOPT_SERVER_RESPONSE_TIMEOUT: the new name digest: fix memory leak, fix not quoted 'opaque' digest: fix missing increment of 'nc' value for auth-int digest: pass over leading spaces in qop values digest: reject broken header with session protocol but without qop docs/cmdline-opts/gen.pl: encode leading single and double quotes docs/cmdline-opts: fix example and categories for --form-escape docs/cmdline: mark fail and fail-with-body as mutually exclusive docs: add dns category to --resolve docs: explain curl_easy_escape/unescape curl handle is ignored docs: remove him/her/he/she from documentation doh: move doh related struct definitions to doh.h doh: use https protocol by default easy_lock.h: include sched.h if available to fix build easy_lock.h: use __asm__ instead of asm to fix build easy_lock: fix build for mingw easy_lock: fix build with icc easy_lock: fix the #ifdef conditional for ia32_pause easy_lock: switch to using atomic_int instead of bool easyoptions: fix icc warning escape: remove outdated comment examples/curlx.c: remove file: add handling of native AmigaOS paths file: fix icc enumerated type mixed with another type warning ftp: use a correct expire ID for timer expiry getinfo: return better error on NULL as first argument GHA: add two Intel compiler CI jobs GHA: move libressl CI from zuul to GitHub gha: move over ngtcp2-gnutls CI job from zuul GHA: mv CI torture test from Zuul h2h3: fix overriding the 'TE: Trailers' header hostip: resolve *.localhost to 127.0.0.1/::1 HTTP3.md: update to msh3 v0.4.0 http: typecast the httpreq assignment to avoid icc compiler warning http_aws_sigv4.c: remove two unusued includes http_chunks: remove an assign + typecast hyper: customize test1274 to how hyper unfolds headers hyper: enable obs-folded multiline headers hyper: use wakers for curl pause/resume imap: use ISALNUM() for alphanumeric checks ldap: adapt to conn->port now being an 'int' lib/curl_path.c: add ISC to license expression lib3026: reduce the number of threads to 100 libcurl-security.3: fix typo on macro "SH_" libssh2: make atime/mtime date overflow return error libssh2: provide symlink name in SFTP dir listing libssh: ignore deprecation warnings libssh: make atime/mtime date overflow return error Makefile.m32: add `CURL_RC` and `CURL_STRIP` variables [ci skip] Makefile.m32: add `NGTCP2_LIBS` option [ci skip] makefile.m32: add support for custom ARCH [ci skip] Makefile.m32: allow -nghttp3/-ngtcp2 without -ssl [ci skip] Makefile.m32: do not set the libcurl.rc debug flag [ci skip] Makefile.m32: stop trying to build libcares.a [ci skip] memdebug: add annotation attributes mprintf: fix *dyn_vprintf() when out-of-memory mprintf: make dprintf_formatf never return negative msh3: fix the QUIC disconnect function multi: fix the return code from Curl_pgrsDone() multi: have curl_multi_remove_handle close CONNECT_ONLY transfer multi: use a pipe instead of a socketpair on apple platforms multi: use larger dns hash table for multi interface multi_wait: fix and improve Curl_poll error handling on Windows multi_wait: fix skipping to populate revents for extra_fds netrc.d: remove spurious quote netrc: Use the password from lines without login ngtcp2: Fix build error due to change in nghttp3 prototypes ngtcp2: fix incompatible function pointer types ngtcp2: Fix missing initialization of nghttp3_nv.flags ngtcp2: fix stall or busy loop on STOP_SENDING with upload data ngtcp2: implement cb_h3_stop_sending and cb_h3_reset_stream callbacks openssl: add `CURL_BORINGSSL_VERSION` to identify BoringSSL openssl: add cert path in error message openssl: add details to "unable to set client certificate" error openssl: fix BoringSSL symbol conflicts with LDAP and Schannel quiche: fix build failure select: do not return fatal error on EINTR from poll() sendf: fix paused header writes since after the header API sendf: make Curl_debug a void function sendf: skip storing HTTP headers if HTTP disabled sendf: store the header type in an usigned char to avoid icc warnings splay: avoid using -1 in unsigned variable test3026: add support for Windows using native Win32 threads test3026: require 'threadsafe' test44[2-4]: add '--resolve' to the keywords tests/server/sockfilt.c: avoid race condition without a mutex tests: fix http2 tests to use CRLF headers tests: several enumerated type cleanups THANKS: merged two entries for Evgeny Grin tidy-up: delete unused build configuration macros tool: reintroduce set file comment code for AmigaOS tool_cfgable: make 'synthetic_error' a plain bool tool_formparse: fix variable may be used before its value is set tool_getparam: make --doh-url "" switch it off tool_getparam: repair cleanarg tool_operate: better cleanup of easy handle in exit path tool_paramhlp: fix "enumerated type mixed with another type" tool_paramhlp: make check_protocol return ParameterError tool_progress: avoid division by zero in parallel progress meter tool_writeout: fix enumerated type mixed with another type trace: 0x7F character is non-printable unit1303: four tests should have TRUE for 'connecting' url: enumerated type mixed with another type url: really use the user provided in the url when netrc entry exists url: reject URLs with hostnames longer than 65535 bytes url: treat missing usernames in netrc as empty urldata: change second proxytype field to unsigned char to match urldata: make 'negnpn' use less storage urldata: make state.httpreq an unsigned char urldata: make three *_proto struct fields smaller urldata: move smaller fields down in connectdata struct urldata: reduce size of several struct fields vtls: make Curl_ssl_backend() return the enum type curl_sslbackend windows: improve random source
2022-08-17curl: SunOS build fix. Reported upstream. Bump.tnn3-3/+20
2022-06-28*: recursive bump for perl 5.36wiz2-3/+4
2022-06-27curl: update to 7.84.0.wiz3-7/+9
Security fix release. This release includes the following changes: o curl: add --rate to set max request rate per time unit [69] o curl: deprecate --random-file and --egd-file [12] o curl_version_info: add CURL_VERSION_THREADSAFE [100] o CURLINFO_CAPATH/CAINFO: get the default CA paths from libcurl [9] o lib: make curl_global_init() threadsafe when possible [101] o libssh2: add CURLOPT_SSH_HOSTKEYFUNCTION [78] o opts: deprecate RANDOM_FILE and EGDSOCKET [13] o socks: support unix sockets for socks proxy [2] This release includes the following bugfixes: o aws-sigv4: fix potentional NULL pointer arithmetic [48] o bindlocal: don't use a random port if port number would wrap [14] o c-hyper: mark status line as status for Curl_client_write() [58] o ci: avoid `cmake -Hpath` [114] o CI: bump FreeBSD 13.0 to 13.1 [127] o ci: update github actions [36] o cmake: add libpsl support [3] o cmake: do not add libcurl.rc to the static libcurl library [53] o cmake: enable curl.rc for all Windows targets [55] o cmake: fix detecting libidn2 [56] o cmake: support adding a suffix to the OS value [54] o configure: skip libidn2 detection when winidn is used [89] o configure: use the SED value to invoke sed [28] o configure: warn about rustls being experimental [103] o content_encoding: return error on too many compression steps [106] o cookie: address secure domain overlay [7] o cookie: apply limits [83] o copyright.pl: parse and use .reuse/dep5 for skips [105] o copyright: make repository REUSE compliant [119] o curl.1: add a few see also --tls-max [52] o curl.1: mention exit code zero too [44] o curl: re-enable --no-remote-name [31] o curl_easy_pause.3: remove explanation of progress function [97] o curl_getdate.3: document that some illegal dates pass through [34] o Curl_parsenetrc: don't access local pwbuf outside of scope [27] o curl_url_set.3: clarify by default using known schemes only [120] o CURLOPT_ALTSVC.3: document the file format [118] o CURLOPT_FILETIME.3: fix the protocols this works with o CURLOPT_HTTPHEADER.3: improve comment in example [66] o CURLOPT_NETRC.3: document the .netrc file format o CURLOPT_PORT.3: We discourage using this option [92] o CURLOPT_RANGE.3: remove ranged upload advice [99] o digest: added detection of more syntax error in server headers [81] o digest: tolerate missing "realm" [80] o digest: unquote realm and nonce before processing [82] o DISABLED: disable 1021 for hyper again o docs/cmdline-opts: add copyright and license identifier to each file [112] o docs/CONTRIBUTE.md: document the 'needs-votes' concept [79] o docs: clarify data replacement policy for MIME API [16] o doh: remove UNITTEST macro definition [67] o examples/crawler.c: use the curl license [73] o examples: remove fopen.c and rtsp.c [76] o FAQ: Clarify Windows double quote usage [42] o fopen: add Curl_fopen() for better overwriting of files [72] o ftp: restore protocol state after http proxy CONNECT [110] o ftp: when failing to do a secure GSSAPI login, fail hard [62] o GHA/hyper: enable debug in the build o gssapi: improve handling of errors from gss_display_status [45] o gssapi: initialize gss_buffer_desc strings o headers api: remove EXPERIMENTAL tag [35] o http2: always debug print stream id in decimal with %u [46] o http2: reject overly many push-promise headers [63] o http: restore header folding behavior [64] o hyper: use 'alt-used' [71] o krb5: return error properly on decode errors [107] o lib: make more protocol specific struct fields #ifdefed [84] o libcurl-security.3: add "Secrets in memory" [30] o libcurl-security.3: document CRLF header injection [98] o libssh: skip the fake-close when libssh does the right thing [102] o links: update dead links to the curl-wiki [21] o log2changes: do not indent empty lines [ci skip] [37] o macos9: remove partial support [22] o Makefile.am: fix portability issues [1] o Makefile.m32: delete obsolete options, improve -On [ci skip] [65] o Makefile.m32: delete two obsolete OpenSSL options [ci skip] [39] o Makefile.m32: stop forcing XP target with ipv6 enabled [ci skip] [116] o max-time.d: clarify max-time sets max transfer time [70] o mprintf: ignore clang non-literal format string [19] o netrc: check %USERPROFILE% as well on Windows [77] o netrc: support quoted strings [33] o ngtcp2: allow curl to send larger UDP datagrams [29] o ngtcp2: correct use of ngtcp2 and nghttp3 signed integer types [25] o ngtcp2: enable Linux GSO [91] o ngtcp2: extend QUIC transport parameters buffer [4] o ngtcp2: fix alert_read_func return value [26] o ngtcp2: fix typo in preprocessor condition [121] o ngtcp2: handle error from ngtcp2_conn_submit_crypto_data [5] o ngtcp2: send appropriate connection close error code [6] o ngtcp2: support boringssl crypto backend [17] o ngtcp2: use helper funcs to simplify TLS handshake integration [68] o ntlm: provide a fixed fake host name [32] o projects: fix third-party SSL library build paths for Visual Studio [125] o quic: add Curl_quic_idle [18] o quiche: support ca-fallback [49] o rand: stop detecting /dev/urandom in cross-builds [113] o remote-name.d: mention --output-dir [88] o runtests.pl: add the --repeat parameter to the --help output [43] o runtests: fix skipping tests not done event-based [95] o runtests: skip starting the ssh server if user name is lacking [104] o scripts/copyright.pl: fix the exclusion to not ignore man pages [75] o sectransp: check for a function defined when __BLOCKS__ is undefined [20] o select: return error from "lethal" poll/select errors [93] o server/sws: support spaces in the HTTP request path o speed-limit/time.d: mention these affect transfers in either direction [74] o strcase: some optimisations [8] o test 2081: add a valid reply for the second request [60] o test 675: add missing CR so the test passes when run through Privoxy [61] o test414: add the '--resolve' keyword [23] o test681: verify --no-remote-name [90] o tests 266, 116 and 1540: add a small write delay o tests/data/test1501: kill ftp server after slow LIST response [59] o tests/getpart: fix getpartattr to work with "data" and "data2" o tests/server/sws.c: change the HTTP writedelay unit to milliseconds [47] o test{440,441,493,977}: add "HTTP proxy" keywords [40] o tool_getparam: fix --parallel-max maximum value constraint [51] o tool_operate: make sure --fail-with-body works with --retry [24] o transfer: fix potential NULL pointer dereference [15] o transfer: maintain --path-as-is after redirects [96] o transfer: upload performance; avoid tiny send [124] o url: free old conn better on reuse [41] o url: remove redundant #ifdefs in allocate_conn() o url: URL encode the path when extracted, if spaces were set o urlapi: make curl_url_set(url, CURLUPART_URL, NULL, 0) clear all parts [126] o urlapi: support CURLU_URLENCODE for curl_url_get() o urldata: reduce size of a few struct fields [86] o urldata: remove three unused booleans from struct UserDefined [87] o urldata: store tcp_keepidle and tcp_keepintvl as ints [85] o version: allow stricmp() for sorting the feature list [57] o vtls: make curl_global_sslset thread-safe [94] o wolfssh.h: removed [10] o wolfssl: correct the failf() message when a handle can't be made [38] o wolfSSL: explicitly use compatibility layer [11] o x509asn1: mark msnprintf return as unchecked [50]
2022-05-11curl: update to 7.83.1.wiz2-6/+6
This release includes the following bugfixes: o altsvc: fix host name matching for trailing dots [31] o cirrus: Update to FreeBSD 12.3 [24] o cirrus: Use pip for Python packages on FreeBSD [23] o conn: fix typo 'connnection' -> 'connection' in two function names [1] o cookies: make bad_domain() not consider a trailing dot fine [26] o curl: free resource in error path [3] o curl: guard against size_t wraparound in no-clobber code [4] o CURLOPT_DOH_URL.3: mention the known bug [19] o CURLOPT_HSTS*FUNCTION.3: document the involved structs as well [20] o CURLOPT_SSH_AUTH_TYPES.3: fix the default [18] o data/test376: set a proper name o GHA/mbedtls: enabled nghttp2 in the build [11] o gha: build msh3 [5] o gskit: fixed bogus setsockopt calls [17] o gskit: remove unused function set_callback [2] o hsts: ignore trailing dots when comparing hosts names [28] o HTTP-COOKIES: add missing CURLOPT_COOKIESESSION [40] o http: move Curl_allow_auth_to_host() [9] o http_proxy/hyper: handle closed connections [34] o hyper: fix test 357 [32] o Makefile: fix "make ca-firefox" [37] o mbedtls: bail out if rng init fails [14] o mbedtls: fix compile when h2-enabled [12] o mbedtls: fix some error messages o misc: use "autoreconf -fi" instead buildconf [22] o msh3: get msh3 version from MsH3Version [6] o msh3: print boolean value as text representation [10] o msh3: psss remote_port to MsH3ConnectionOpen [7] o ngtcp2: add ca-fallback support for OpenSSL backend [35] o nss: return error if seemingly stuck in a cert loop [30] o openssl: define HAVE_SSL_CTX_SET_EC_CURVES for libressl [8] o post_per_transfer: remove the updated file name [27] o sectransp: bail out if SSLSetPeerDomainName fails [33] o tests/server: declare variable 'reqlogfile' static [39] o tests: fix markdown formatting in README [38] o test{898,974,976}: add 'HTTP proxy' keywords [16] o tls: check more TLS details for connection reuse [25] o url: check SSH config match on connection reuse [21] o urlapi: address (harmless) UndefinedBehavior sanitizer warning [15] o urlapi: reject percent-decoding host name into separator bytes [29] o x509asn1: make do_pubkey handle EC public keys [13]
2022-04-29*: mark py-flask dependencies as not-for-python-2.xwiz1-1/+3
I'll update py-flask soon; the current pkgsrc of py-flask version is broken and all newer versions do not support python 2.x
2022-04-27curl: update to 7.83.0.wiz4-22/+25
curl and libcurl 7.83.0 This release includes the following changes: o curl: add %header{name} experimental support in -w handling o curl: add %{header_json} experimental support in -w handling o curl: add --no-clobber [28] o curl: add --remove-on-error [11] o header api: add curl_easy_header and curl_easy_nextheader [56] o msh3: add support for QUIC and HTTP/3 using msh3 [84] This release includes the following bugfixes: o appveyor: add Cygwin build [77] o appveyor: only add MSYS2 to PATH where required [78] o BearSSL: add CURLOPT_SSL_CIPHER_LIST support [27] o BearSSL: add CURLOPT_SSL_CTX_FUNCTION support [26] o BINDINGS.md: add Hollywood binding [34] o CI: Do not use buildconf. Instead, just use: autoreconf -fi [42] o CI: install Python package impacket to run SMB test 1451 [5] o configure.ac: move -pthread CFLAGS setting back where it used to be [14] o configure: bump the copyright year range int the generated output o conncache: include the zone id in the "bundle" hashkey [112] o connecache: remove duplicate connc->closure_handle check [90] o connect: make Curl_getconnectinfo work with conn cache from share handle [22] o connect: use TCP_KEEPALIVE only if TCP_KEEPIDLE is not defined [6] o cookie.d: clarify when cookies are sent o cookies: improve errorhandling for reading cookiefile [123] o curl/system.h: update ifdef condition for MCST-LCC compiler [4] o curl: error out if -T and -d are used for the same URL [99] o curl: error out when options need features not present in libcurl [18] o curl: escape '?' in generated --libcurl code [117] o curl: fix segmentation fault for empty output file names. [60] o curl_easy_header: fix typos in documentation [74] o CURLINFO_PRIMARY_PORT.3: clarify which port this is [126] o CURLOPT*TLSAUTH.3: they only work with OpenSSL or GnuTLS [105] o CURLOPT_DISALLOW_USERNAME_IN_URL.3: use uppercase URL o CURLOPT_PREQUOTE.3: only works for FTP file transfers, not dirs [79] o CURLOPT_PROGRESSFUNCTION.3: fix typo in example [63] o CURLOPT_UNRESTRICTED_AUTH.3: extended explanation [127] o CURLSHOPT_UNLOCKFUNC.3: fix the callback prototype [9] o docs/HYPER.md: updated to reflect current hyper build needs o docs/opts: Mention Schannel client cert type is P12 [50] o docs: Fix missing semicolon in example code [102] o docs: lots of minor language polish [51] o English: use American spelling consistently [95] o fail.d: tweak the description [101] o firefox-db2pem.sh: make the shell script safer [47] o ftp: fix error message for partial file upload [61] o gen.pl: change wording for mutexed options [98] o GHA: add openssl3 jobs moved over from zuul [88] o GHA: build hyper with nightly rustc [7] o GHA: move bearssl jobs over from zuul [85] o gha: move the event-based test over from Zuul [59] o gtls: fix build for disabled TLS-SRP [48] o http2: handle DONE called for the paused stream [69] o http2: RST the stream if we stop it on our own will [67] o http: avoid auth/cookie on redirects same host diff port [110] o http: close the stream (not connection) on time condition abort [68] o http: reject header contents with nul bytes [41] o http: return error on colon-less HTTP headers [31] o http: streamclose "already downloaded" [57] o hyper: fix status_line() return code [13] o hyper: fix tests 580 and 581 for hyper [107] o hyper: no h2c support [33] o infof: consistent capitalization of warning messages [103] o ipv4/6.d: clarify that they are about using IP addresses [3] o json.d: fix typo (overriden -> overridden) [24] o keepalive-time.d: It takes many probes to detect brokenness [29] o lib/warnless.[ch]: only check for WIN32 and ignore _WIN32 [45] o lib670: avoid double check result [71] o lib: #ifdef on USE_HTTP2 better [65] o lib: fix some misuse of curlx_convert_wchar_to_UTF8 [38] o lib: remove exclamation marks [100] o libssh2: compare sha256 strings case sensitively [114] o libssh2: make the md5 comparison fail if wrong length [111] o libssh: fix build with old libssh versions [12] o libssh: fix double close [124] o libssh: Improve fix for missing SSH_S_ stat macros [10] o libssh: unstick SFTP transfers when done event-based [58] o macos: set .plist version in autoconf [122] o mbedtls: remove 'protocols' array from backend when ALPN is not used [66] o mbedtls: remove server_fd from backend [91] o mk-ca-bundle.pl: Use stricter logic to process the certificates [39] o mk-ca-bundle.vbs: delete this script in favor of mk-ca-bundle.pl [8] o mlc_config.json: add file to ignore known troublesome URLs [35] o mqtt: better handling of TCP disconnect mid-message [55] o ngtcp2: add client certificate authentication for OpenSSL [15] o ngtcp2: avoid busy loop in low CWND situation [119] o ngtcp2: deal with sub-millisecond timeout [116] o ngtcp2: disconnect the QUIC connection proper [19] o ngtcp2: enlarge H3_SEND_SIZE [82] o ngtcp2: fix HTTP/3 upload stall and avoid busy loop [83] o ngtcp2: fix memory leak [80] o ngtcp2: fix QUIC_IDLE_TIMEOUT [94] o ngtcp2: make curl 1ms faster [93] o ngtcp2: remove remote_addr which is not used in a meaningful way [81] o ngtcp2: update to work after recent ngtcp2 updates [62] o ngtcp2: use token when detecting :status header field [92] o nonblock: restore setsockopt method to curlx_nonblock [20] o openssl: check SSL_get_peer_cert_chain return value [1] o openssl: enable CURLOPT_SSL_EC_CURVES with BoringSSL [23] o openssl: fix CN check error code [21] o options: remove mistaken space before paren in prototype o perl: removed a double semicolon at end of line [64] o pop3/smtp: return *WEIRD_SERVER_REPLY when not understood [43] o projects/README: converted to markdown [76] o projects: Update VC version names for VS2017, VS2022 [52] o rtsp: don't let CSeq error override earlier errors [37] o runtests: add 'bearssl' as testable feature [87] o runtests: make 'oldlibssh' be before 0.9.4 [2] o schannel: remove dead code that will never run [89] o scripts/copyright.pl: ignore the new mlc_config.json file o scripts: move three scripts from lib/ to scripts/ [44] o test1135: sync with recent API updates [54] o test1459: disable for oldlibssh [53] o test375: fix line endings on Windows [40] o test386: Fix an incorrect test markup tag o test718: edited slightly to return better HTTP [32] o tests/server/util.h: align WIN32 condition with util.c [46] o tests: refactor server/socksd.c to support --unix-socket [96] o timediff.[ch]: add curlx helper functions for timeval conversions [86] o tls: make mbedtls and NSS check for h2, not nghttp2 [70] o tool and tests: force flush of all buffers at end of program [17] o tool_cb_hdr: Turn the Location: into a terminal hyperlink [30] o tool_getparam: error out on missing -K file [115] o tool_listhelp.c: uppercase URL o tool_operate: fix a scan-build warning [16] o tool_paramhlp: use feof(3) to identify EOF correctly when using fread(3) [97] o transfer: redirects to other protocols or ports clear auth [109] o unit1620: call global_init before calling Curl_open [125] o url: check sasl additional parameters for connection reuse. [113] o vtls: provide a unified APLN-disagree string for all backends [75] o vtls: use a backend standard message for "ALPN: offers %s" [73] o vtls: use a generic "ALPN, server accepted" message [72] o winbuild/README.md: fixup dead link [36] o winbuild: Add a Visual Studio example to the README [49] o wolfssl: fix compiler error without IPv6 [25]
2022-03-08curl: update to 7.82.0.wiz3-164/+19
This release includes the following changes: o curl: add --json [67] o mesalink: remove support [23] This release includes the following bugfixes: o appveyor: update images from VS 2019 to 2022 o appveyor: use VS 2017 image for the autotools builds o azure-pipelines: add a build on Windows with libssh [154] o bearssl: fix connect error on expired cert and no verify [132] o bearssl: fix EXC_BAD_ACCESS on incomplete CA cert [131] o bearssl: fix session resumption (session id) [133] o build: enable -Warith-conversion o build: fix -Wenum-conversion handling o build: fix ngtcp2 crypto library detection [63] o checkprefix: remove strlen calls [128] o checksrc: fix typo in comment [34] o CI: move 'distcheck' job from zuul to azure pipelines [60] o CI: move scan-build job from Zuul to Azure Pipelines [59] o CI: move the NSS job from zuul to GHA [84] o ci: move the OpenSSL + c-ares job from Zuul to Circle CI [75] o CI: move the rustls CI job to GHA from Zuul [8] o CI: move two jobs from Zuul to Circle CI [73] o CI: test building wolfssl with --enable-opensslextra [42] o CI: workflows/wolfssl: install impacket [47] o circleci: add a job using libssh [121] o cirlceci: also run a c-ares job on arm with debug enabled [74] o cmake: fix iOS CMake project generation error [13] o cmdline-opts/gen.pl: fix option matching to improve references [50] o config.d: Clarify _curlrc filename is still valid on Windows [95] o configure.ac: use user-specified gssapi dir when using pkg-config [136] o configure: change output for cross-compiled alt-svc support [140] o configure: fix '--enable-code-coverage' typo [110] o configure: remove support for "embedded ares" [82] o configure: requires --with-nss-deprecated to build with NSS [114] o configure: set CURL_LIBRARY_PATH for nghttp2 [58] o configure: support specification of a nghttp2 library path [101] o configure: use correct CFLAGS for threaded resolver with xlC on AIX [54] o curl tool: erase some more sensitive command line arguments [22] o curl-functions.m4: fix LIBRARY_PATH adjustment to avoid eval [5] o curl-functions.m4: revert DYLD_LIBRARY_PATH tricks in CURL_RUN_IFELSE [9] o curl-openssl: fix SRP check for OpenSSL 3.0 [86] o curl-openssl: remove the OpenSSL headers and library versions check [35] o curl.h: fix typo [129] o curl: remove "separators" (when using globbed URLs) [32] o curl_getdate.3: remove pointless .PP line [68] o curl_multi_socket.3: remove callback and typical usage descriptions [7] o curl_url_set.3: mention when CURLU_ALLOW_SPACE was added o CURLMOPT_TIMERFUNCTION/DATA.3: fix the examples [27] o CURLOPT_PROGRESSFUNCTION.3: fix example struct assignment [147] o CURLOPT_RESOLVE.3: change example port to 443 o CURLOPT_XFERINFOFUNCTION.3: fix example struct assignment [153] o CURLOPT_XFERINFOFUNCTION.3: fix typo in example [81] o CURLSHOPT_LOCKFUNC.3: fix typo "relased" -> "released" [71] o des: fix compile break for OpenSSL without DES [141] o docs/cmdline-opts: add "mutexed" options for more http versions [25] o docs/DEPRECATE: remove NPN support in August 2022 [64] o docs: capitalize the name 'Netscape' [77] o docs: document HTTP/2 not insisting on TLS 1.2 [49] o docs: fix mandoc -T lint formatting complaints [2] o docs: update IETF links to use datatracker [41] o examples/curlx: support building with OpenSSL 1.1.0+ [148] o examples/multi-app.c: call curl_multi_remove_handle as well [19] o formdata: avoid size_t => long typecast overflows [37] o ftp: provide error message for control bytes in path [66] o gen.pl: terminate "example" sections better [4] o gha: add a macOS CI job with libssh [142] o gskit: Convert to using Curl_poll [111] o gskit: Fix errors from Curl_strerror refactor [113] o gskit: Fix initialization of Curl_ssl_gskit struct [112] o h2/h3: allow CURLOPT_HTTPHEADER change ":scheme" [88] o hostcheck: fixed to not touch used input strings [38] o hostcheck: reduce strlen calls on chained certificates [92] o hostip: avoid unused parameter error in Curl_resolv_check [144] o http2: move two infof calls to debug-h2-only [145] o http: make Curl_compareheader() take string length arguments too [87] o if2ip: make Curl_ipv6_scope a blank macro when IPv6-disabled [104] o KNOWN_BUGS: fix typo "libpsl" o ldap: return CURLE_URL_MALFORMAT for bad URL [24] o lib: remove support for CURL_DOES_CONVERSIONS [96] o libssh2: don't typecast socket to int for libssh2_session_handshake [151] o libssh: fix include files and defines use for Windows builds [156] o Makefile.am: Generate VS 2022 projects o maketgz: return error if 'make dist' fails [79] o mbedtls: enable use of mbedtls without CRL support [57] o mbedtls: enable use of mbedtls without filesystem functions support [100] o mbedtls: fix CURLOPT_SSLCERT_BLOB (again) o mbedtls: fix ssl_init error with mbedTLS 3.1.0+ [12] o mbedtls: remove #include <mbedtls/certs.h> [56] o mbedtls: return CURLcode result instead of a mbedtls error code [1] o md5: check md5_init_func return value o mime: use a define instead of the magic number 24 [89] o misc: allow curl to build with wolfssl --enable-opensslextra [43] o misc: remove BeOS code and references [30] o misc: remove the final watcom references [29] o misc: remove unused data when IPv6 is not supported [80] o mqtt: free 'sendleftovers' in disconnect [115] o mqtt: free any send leftover data when done [36] o multi: allow user callbacks to call curl_multi_assign [126] o multi: grammar fix in comment [69] o multi: remember connection_id before returning connection to pool [76] o multi: set in_callback for multi interface callbacks [28] o netware: remove support [72] o next.d. remove .fi/.nf as they are handled by gen.pl [3] o ngtcp2: adapt to changed end of headers callback proto [39] o ngtcp2: fix declaration of ‘result’ shadows a previous local [14] o ngtcp2: Reset dynbuf when it is fully drained [143] o nss: handshake callback during shutdown has no conn->bundle [55] o ntlm: remove unused feature defines [117] o openldap: fix compiler warning when built without SSL support [70] o openldap: implement SASL authentication [16] o openldap: pass string length arguments to client_write() [116] o openssl.h: avoid including OpenSSL headers here [15] o openssl: check if sessionid flag is enabled before retrieving session [125] o openssl: check SSL_get_ex_data to prevent potential NULL dereference [40] o openssl: check the return value of BIO_new_mem_buf() [18] o openssl: fix `ctx_option_t` for OpenSSL v3+ o openssl: fix build for version < 1.1.0 [134] o openssl: return error if TLS 1.3 is requested when not supported [45] o os400: Add function wrapper for system command [138] o os400: Add link to QADRT devkit to README.OS400 [137] o os400: Default build to target current release [139] o OS400: fix typos in rpg include file [149] o projects: add support for Visual Studio 17 (2022) [124] o projects: fix Visual Studio wolfSSL configurations o projects: remove support for MSVC before VC10 (Visual Studio 2010) [123] o quiche: after leaving h3_recving state, poll again [108] o quiche: change qlog file extension to `.sqlog` [44] o quiche: fix upload for bigger content-length [146] o quiche: handle stream reset [83] o quiche: remove two leftover debug infof() outputs o quiche: verify the server cert on connect [33] o quiche: when *recv_body() returns data, drain it before polling again [109] o README.md: fix links [118] o remote-header-name.d: clarify [10] o runtests.pl: disable debuginfod [51] o runtests.pl: properly print the test if it contains binary zeros o runtests.pl: support the nonewline attribute for the data part [21] o runtests.pl: tolerate test directories without Makefile.inc [98] o runtests: allow client/file to specify multiple directories o runtests: make 'rustls' a testable feature o runtests: make 'wolfssl' a testable feature [6] o runtests: set 'oldlibssh' for libssh versions before 0.9.5 [122] o rustls: add CURLOPT_CAINFO_BLOB support [26] o schannel: move the algIds array out of schannel.h [135] o scripts/cijobs.pl: output data about all currect CI jobs [78] o scripts/completion.pl: improve zsh completion [46] o scripts/copyright.pl: support many provided file names on the cmdline o scripts/delta: check the file delta for current branch o sectransp: mark a 3DES cipher as weak [130] o setopt: do bounds-check before strdup [99] o setopt: fix the TLSAUTH #ifdefs for proxy-disabled builds [53] o sha256: Fix minimum OpenSSL version [102] o smb: pass socket for writing and reading data instead of FIRSTSOCKET [90] o ssl: reduce allocated space for ssl backend when FTP is disabled [127] o test3021: disable all msys2 path transformation o test374: gif data without new line at the end [20] o tests/disable-scan.pl: properly detect multiple symbols per line [94] o tests/unit/Makefile.am: add NSS_LIBS to build with NSS fine [85] o tool_findfile: check ~/.config/curlrc too [17] o tool_getparam: DNS options that need c-ares now fail without it [31] o TPF: drop support [97] o unit1610: init SSL library before calling SHA256 functions [152] o url: exclude zonefrom_url when no ipv6 is available [103] o url: given a user in the URL, find pwd for that user in netrc [11] o url: keep trailing dot in host name [62] o url: make Curl_disconnect return void [48] o urlapi: handle "redirects" smarter [119] o urldata: CONN_IS_PROXIED replaces bits.proxy when proxy can be disabled [52] o urldata: remove conn->bits.user_passwd [105] o version_win32: fix warning for `CURL_WINDOWS_APP` [93] o vtls: fix socket check conditions [150] o vtls: pass on the right SNI name [61] o vxworks: drop support [65] o winbuild: add parameter WITH_SSH [120] o wolfssl: return CURLE_AGAIN for the SSL_ERROR_NONE case [106] o wolfssl: when SSL_read() returns zero, check the error [107] o write-out.d: Fix num_headers formatting o x509asn1: toggle off functions not needed for diff tls backends [91]
2022-01-31On macOS, do not use DYLD_LIBRARY_PATH for ordinary configure checks.schmonz2-13/+158
Fixes configure (and build, and package) on at least Monterey. This workaround will be unneeded in the next curl release. From MacPorts, via Michael-John Turner on pkgsrc-users@.
2022-01-15curl: Update MASTER_SITES and HOMEPAGE to follow redirectsryoon1-3/+3
2022-01-07curl: updated to 7.81.0adam3-8/+13
7.81.0 Changes: mime: use percent-escaping for multipart form field and file names Bugfixes: asyn-ares: ares_getaddrinfo needs no happy eyeballs timer azure: make the "w/o HTTP/SMTP/IMAP" build disable SSL proper BINDINGS: add cURL client for PostgreSQL BINDINGS: add one from Everything curl and update a link checksrc: detect more kinds of NULL comparisons we avoid CI: build examples for additional code verification CI: bump job to use mbedtls 3.1.0 cmake: don't set _USRDLL on a static Windows build cmake: prevent dev warning due to mismatched arg cmake: private identifiers use CURL_ instead of CMAKE_ prefix config.d: update documentation to match the path search configure: add -lm to configure for rustls build. configure: better diagnostics if hyper is built wrong configure: don't enable TLS when --without-* flags are used configure: fix runtime-lib detection on macOS curl.1: require "see also" for every documented option curl: improve error message for --head with -J curl_easy_cleanup.3: remove from multi handle first curl_easy_escape.3: call curl_easy_cleanup in example curl_easy_unescape.3: call curl_easy_cleanup in example curl_multi_init.3: fix EXAMPLE formatting curl_multi_perform/socket_action.3: clarify what errors mean curl_share_setopt.3: split out options into their own manpages CURLOPT_STDERR.3: does not work with libcurl as a win32 DLL digest: compute user:realm:pass digest w/o userhash docs/checksrc: Add documentation for STRERROR docs/cmdline-opts: do not say "protocols: all" docs/examples: workaround broken -Wno-pedantic-ms-format docs/HTTP3: describe how to setup a h3 reverse-proxy for testing docs/INSTALL.md: typo fix : added missing "get" verb docs/URL-SYNTAX.md: space is not fine in a given URL docs: add known bugs list to HTTP3.md docs: address proselint nits docs: consistent manpage SYNOPSIS docs: fix dead links, remove ECH.md docs: fix typo in OpenSSL 3 build instructions docs: Update the Reducing Size section example/progressfunc: remove code for old libcurls examples/multi-single.c: remove WAITMS() FAQ: typo fix : "yout" ➤ "your" ftp: disable warning 4706 in MSVC gen.pl: improve example output format github workflow: add wolfssl (removed from zuul) github/workflows: add mbedtls and mbedtls-clang (removed from zuul) gtls: check return code for gnutls_alpn_set_protocols hash: lazy-alloc the table in Curl_hash_add() http2:set_transfer_url() return early on OOM HTTP3: update quiche build instructions http: enable haproxy support for hyper backend http: Fix CURLOPT_HTTP200ALIASES http_proxy: don't close the socket (too early) insecure.d: detail its use for SFTP and SCP as well insecure.d: expand and clarify libcurl-multi.3: "SOCKS proxy handshakes" are not blocking libcurl-security.3: mention address and URL mitigations libssh2: fix error message for sha256 mismatch libtest: avoid "assignment within conditional expression" lift: ignore is a deprecated config option, use ignoreRules linkcheck.yml: add CI job that checks markdown links m4/curl-compilers: tell clang -Wno-pointer-bool-conversion Makefile.m32: rename -winssl option to -schannel and tidy up mbedTLS: add support for CURLOPT_CAINFO_BLOB mbedtls: fix CURLOPT_SSLCERT_BLOB mbedtls: fix private member designations for v3.1.0 misc: remove unused doh flags when CURL_DISABLE_DOH is defined misc: s/e-mail/email multi: cleanup the socket hash when destroying it multi: handle errors returned from socket/timer callbacks multi: shut down CONNECT in Curl_detach_connnection netrc.d: edit the .netrc example to look nicer ngtcp2: verify the server cert on connect (quictls) ngtcp2: verify the server certificate for the gnutls case nss:set_cipher don't clobber the cipher list openldap: implement STARTTLS openldap: process search query response messages one by one openldap: several minor improvements openldap: simplify ldif generation code openssl: check the return value of BIO_new() openssl: define HAVE_OPENSSL_VERSION for OpenSSL 1.1.0+ openssl: remove `RSA_METHOD_FLAG_NO_CHECK` handling if unavailable openssl: remove usage of deprecated `SSL_get_peer_certificate` openssl: use non-deprecated API to read key parameters page-footer: add a mention of how to report bugs to the man page page-footer: document more environment variables request.d: refer to 'method' rather than 'command' retry-all-errors.d: make the example complete runtests: make the SSH library a testable feature rustls: read of zero bytes might be okay rustls: remove comment about checking handshaking rustls: remove incorrect EOF check sha256/md5: return errors when init fails socks5: use appropriate ATYP for numerical IP address host names test1156: enable for hyper test1156: fixup the stdout check for Windows test1525: tweaked for hyper test1526: enable for hyper test1527: enable for hyper test1528: enable for hyper test1554: adjust for hyper test1556: adjust for hyper test302[12]: run only with the libssh2 backend test661: enable for hyper tests/CI.md: add more information on CI environments tests/data/test302[12]: fix MSYS2 path conversion of hostpubsha256 tftp: mark protocol as not possible to do over CONNECT tool_findfile: updated search for a file in the homedir tool_operate: only set SSH related libcurl options for SSH URLs tool_operate: warn if too many output arguments were found url.c: fix the SIGPIPE comment for Curl_close url: check ssl_config when re-use proxy connection url: reduce ssl backend count for CURL_DISABLE_PROXY builds urlapi: accept port number zero urlapi: if possible, shorten given numerical IPv6 addresses urlapi: provide more detailed return codes urlapi: reject short file URLs version_win32: Check build number and platform id vtls/rustls: adapt to the updated rustls_version proto writeout: fix %{http_version} for HTTP/3 x509asn1: return early on errors zuul.d: update rustls-ffi to version 0.8.2 zuul: fix quiche build pointing to wrong Cargo
2021-12-08revbump for icu and libffiadam2-3/+4
2021-11-10curl: updated to 7.80.0adam4-34/+25
Fixed in 7.80.0 Changes: CURLOPT_MAXLIFETIME_CONN: maximum allowed lifetime for conn reuse CURLOPT_PREREQFUNCTION: add new callback libssh2: add SHA256 fingerprint support urlapi: add curl_url_strerror() urlapi: support UNC paths in file: URLs on Windows wolfssl: allow setting of groups/curves Bugfixes: .github: retry macos "brew install" command on failure aws-sigv4: make signature work when post data is binary BINDINGS: URL updates build: remove checks for WinSock 1 c-hyper: don't abort CONNECT responses early when auth-in-progress c-hyper: make Curl_http propagate errors better c-hyper: make CURLOPT_SUPPRESS_CONNECT_HEADERS work c-hyper: make test 217 run c-hyper: use hyper_request_set_uri_parts to make h2 better checksrc: ignore preprocessor lines CI/makefiles: introduce dedicated test target ci: update Lift config to match requirements of curl build cirrus: remove FreeBSD 11.4 from the matrix cirrus: switch to openldap24-client cleanup: constify unmodified static structs cmake: add CURL_ENABLE_SSL option cmake: fix error getting LOCATION property on non-imported target CMake: restore support for SecureTransport on iOS cmake: with OpenSSL, define OPENSSL_SUPPRESS_DEPRECATED cmdline-opts: made the 'Added:' field mandatory configure.ac: replace krb5-config with pkg-config configure: when hyper is selected, deselect nghttp2 connect: use sysaddr_un from sys/un.h or custom-defined for windows curl-confopts.m4: remove --enable/disable-hidden-symbols curl-openssl.m4: modify library order for openssl linking curl-openssl: pass argument to sed single-quoted curl.1: remove mentions of really old version changes curl: actually append "-" to --range without number only curl: correct grammar in generated libcurl code curl: print help descriptions in an aligned right column curl_gssapi: fix link error on macOS Monterey curl_multi_socket_action.3: add a "RETURN VALUE" section curl_ntlm_core: use OpenSSL only if DES is available Curl_updateconninfo: store addresses for QUIC connections too CURLOPT_ALTSVC_CTRL.3: mention conn reuse is preferred CURLOPT_HSTSWRITEFUNCTION.3: using CURLOPT_HSTS_CTRL is required CURLOPT_HTTPHEADER.3: add descripion for specific headers docs/HTTP3: improve build instructions docs/Makefile.am: repair 'make html' docs: fix typo in CURLOPT_TRAILERFUNCTION example docs: provide "RETURN VALUE" section for more func manpages docs: reduce use of "very" doh: remove experimental code for DoH with GET examples/htmltidy: correct wrong printf() use examples/imap-append: fix end-of-data check ftp: make the MKD retry to retry once per directory gen.pl: insert the current date and version in generated man page gen.pl: replace leading single quotes with \(aq http2: make getsock not wait for write if there's no remote window HTTP3: fix the HTTP/3 Explained book link http: fix Basic auth with empty name field in URL http: reject HTTP response codes < 100 http: remove assert that breaks hyper http: set content length earlier http_proxy: make hyper CONNECT() return the correct error code http_proxy: multiple CONNECT with hyper done better hyper: disable test 1294 since hyper doesn't allow such crazy headers hyper: does not support disabling CURLOPT_HTTP_TRANSFER_DECODING hyper: pass the CONNECT line to the debug callback imap: display quota information INSTALL: update symbol hiding option lib/mk-ca-bundle.pl: skip certs passed Not Valid After date lib: avoid fallthrough cases in switch statements libcurl.rc: switch out the copyright symbol for plain ASCII libssh2: Get the version at runtime if possible limit-rate.d: this is average over several seconds llist: remove redundant code, branch will not be executed Makefile.m32: fix to not require OpenSSL with -libssh2 or -rtmp options maketgz: redirect updatemanpages.pl output to /dev/null man pages: require all to use the same section header order manpage: adjust the asterisk in some SYNOPSIS sections md5: fix compilation with OpenSSL 3.0 API misc: fix a few issues on MidnightBSD misc: fix typos in docs and comments ngtcp2: advertise h3 as well as h3-29 ngtcp2: compile with the latest nghttp3 ngtcp2: specify the missing required callback functions ngtcp2: use latest QUIC TLS RFC9001 NTLM: use DES_set_key_unchecked with OpenSSL openssl: if verifypeer is not requested, skip the CA loading openssl: with OpenSSL 1.1.0+ a failed RAND_status means goaway Revert "src/tool_filetime: disable -Wformat on mingw for this file" sasl: binary messages schannel: fix memory leak due to failed SSL connection scripts/delta: count command line options in the new file sendf: accept zero-length data in Curl_client_write() sha256: use high-level EVP interface for OpenSSL smooth-gtk-thread.c: enhance the mutex lock use sws: fix memory leak on exit test1160: edited to work with hyper test1173: make manpage-syntax.pl spot \n errors in examples test1185: verify checksrc test1266/1267: disabled on hyper: no HTTP/0.9 support test1287: make work on hyper test207: accept a different error code for hyper test262: don't attempt with hyper test552: updated to work with hyper test559: add 'HTTP' in keywords tests/smbserver.py: fix compatibility with impacket 0.9.23+ tests: add Schannel-specific tests and disable unsupported ones tests: disable test 2043 tests: kill some test servers afterwards to avoid locked logfiles tests: use python3 in test 1451 tls: remove newline from three infof() calls tool_cb_prg: make resumed upload progress bar show better tool_listhelp: easier generated with gen.pl tool_main: fix typo in comment tool_operate: a failed etag save now only fails that transfer URL-SYNTAX: add IMAP UID SEARCH example url: check the return value of curl_url() url: set "k->size" -1 at start of request urlapi: skip a strlen(), pass in zero urlapi: URL decode percent-encoded host names version_win32: use actual version instead of manifested version vtls: Fix a memory leak if an SSL session cannot be added to the cache wolfssl: use for SHA256, MD4, MD5, and setting DES odd parity zuul: pin the quiche build to use an older cmake-rs
2021-10-26www: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes Not committed (merge conflicts): www/nghttp2/distinfo Unfetchable distfiles (almost certainly fetched conditionally...): ./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz ./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz ./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz ./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz ./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz ./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz ./www/nginx-devel/distinfo naxsi-1.3.tar.gz ./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz ./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz ./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz ./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz ./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz ./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz ./www/nginx-devel/distinfo njs-0.5.0.tar.gz ./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz ./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz ./www/nginx/distinfo echo-nginx-module-0.62.tar.gz ./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz ./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz ./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz ./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz ./www/nginx/distinfo naxsi-1.3.tar.gz ./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz ./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz ./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz ./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz ./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz ./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz ./www/nginx/distinfo njs-0.5.0.tar.gz ./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
2021-10-21*: recursive bump for heimdal 7.7.0wiz2-4/+4
its buildlink3.mk now includes openssl's buildlink3.mk
2021-10-07www: Remove SHA1 hashes for distfilesnia1-2/+1
2021-09-29revbump for boost-libsadam2-3/+4
2021-09-27curl: updated to 7.79.1adam2-7/+7
Fixed in 7.79.1 Bugfixes: Curl_http2_setup: don't change connection data on repeat invokes curl_multi_fdset: make FD_SET() not operate on sockets out of range dist: provide lib/.checksrc in the tarball FAQ: add GOPHERS + curl works on data, not files hsts: CURLSTS_FAIL from hsts read callback should fail transfer hsts: handle unlimited expiry http: fix the broken >3 digit response code detection strerror: use sys_errlist instead of strerror on Windows test1184: disable tests/sshserver.pl: make it work with openssh-8.7p1
2021-09-15curl: update to 7.79.0.wiz3-23/+23
This release includes the following changes: o bearssl: support CURLOPT_CAINFO_BLOB [3] o http: consider cookies over localhost to be secure [24] o secure transport: support CURLINFO_CERTINFO [63] This release includes the following bugfixes: o CVE-2021-22945: clear the leftovers pointer when sending succeeds [112] o CVE-2021-22946: do not ignore --ssl-reqd [111] o CVE-2021-22947: reject STARTTLS server response pipelining [110] o ares: use ares_getaddrinfo() [51] o asyn-ares.c: move all version number checks to the top o auth: do not append zero-terminator to authorisation id in kerberos [32] o auth: properly handle byte order in kerberos security message [36] o auth: use sasl authzid option in kerberos [34] o auth: we do not support a security layer after kerberos authentication [35] o BINDINGS.md: update links to use https where available [50] o build: fix compiler warnings [39] o c-hyper: deal with Expect: 100-continue combined with POSTFIELDS [66] o c-hyper: fix header value passed to debug callback [46] o c-hyper: handle HTTP/1.1 => HTTP/1.0 downgrade on reused connection [65] o c-hyper: initial step for 100-continue support [43] o c-hyper: initial support for "dumping" 1xx HTTP responses [40] o c-hyper: remove the hyper_executor_poll() loop from Curl_http [13] o CI/cirrus: reduce compile time with increased parallism [19] o CI: use GitHub Container Registry instead of Docker Hub [47] o cirrus: Add FreeBSD 13.0 job and disable sanitizer build [128] o cmake: avoid poll() on macOS [59] o cmake: sync CURL_DISABLE options [55] o codeql: fix error "Resource not accessible by integration" [61] o compressed.d: it's a request, not an order [21] o config.d: escape the backslash properly [81] o config.d: note that curlrc is used even when --config [107] o config: get rid of the unused HAVE_SIG_ATOMIC_T et. al. o configure.ac: revert bad nghttp2 library detection improvements [9] o configure: error out if both ngtcp2 and quiche are specified [30] o configure: make --disable-hsts work [106] o configure: set classic mingw minimum OS version to XP [83] o configure: tweak nghttp2 library name fix [2] o connect: get local port + ip also when reusing connections [95] o connect: remove superfluous conditional [23] o curl-openssl.m4: check lib64 for the pkg-config file [14] o curl-openssl.m4: show correct output for OpenSSL v3 [75] o curl.1: mention "global" flags [7] o curl.1: provide examples for each option [99] o curl: add warning for ignored data after quoted form parameter [60] o curl: add warning for incompatible parameters usage [102] o curl: better error message when -O fails to get a good name [88] o curl: stop retry if Retry-After: is longer than allowed [104] o curl_easy_setopt.3: improve the string copy wording [89] o Curl_hsts_loadcb: don't attempt to load if hsts wasn't inited [116] o curl_setup.h: sync values for HTTP_ONLY [82] o curl_url_get.3: clarify about path and query [45] o CURLMOPT_TIMERFUNCTION.3: remove misplaced "time" [5] o CURLOPT_DOH_URL.3: CURLOPT_OPENSOCKETFUNCTION is not inherited [8] o CURLOPT_SSL_CTX_*.3: tidy up the example [15] o CURLOPT_UNIX_SOCKET_PATH.3: remove nginx reference, add see also [90] o docs/MQTT: update state of username/password support [4] o docs: remove experimental mentions from HSTS and MQTT [93] o docs: the security list is reached at security at curl.se now [124] o easy: use a custom implementation of wcsdup on Windows [31] o examples/*hiperfifo.c: fix calloc arguments to match function proto [103] o examples/cookie_interface: avoid printfing time_t directly [18] o examples/cookie_interface: fix scan-build printf warning [16] o examples/ephiperfifo.c: simplify signal handler [42] o FAQ: add two dev related questions [108] o getparameter: fix the --local-port number parser [58] o happy-eyeballs-timeout-ms.d: polish the wording [10] o hostip: Make Curl_ipv6works function independent of getaddrinfo [26] o http2: Curl_http2_setup needs to init stream data in all invokes [119] o http2: revert a change that broke upgrade to h2c [57] o http2: revert call the handle-closed function correctly on closed stream [25] o http: disallow >3-digit response codes [80] o http: ignore content-length if any transfer-encoding is used [101] o http_proxy: clear 'sending' when the outgoing request is sent [6] o http_proxy: fix the User-Agent inclusion in CONNECT [115] o http_proxy: fix user-agent and custom headers for CONNECT with hyper [38] o http_proxy: only wait for writable socket while sending request [78] o INTERNALS: bump c-ares requirement to 1.16.0 o INTERNALS: c-ares has a new home: c-ares.org o lib: don't use strerror() [127] o libcurl-errors.3: clarify two CURLUcode errors [72] o limit-rate.d: clarify base unit [17] o mailing lists: move from cool.haxx.se to lists.haxx.se o mbedtls: avoid using a large buffer on the stack [105] o mbedTLS: initial 3.0.0 support [33] o mbedtls_threadlock: fix unused variable warning [11] o mksymbolsmanpage.pl: Fix showing symbol's last used version [76] o mksymbolsmanpage.pl: match symbols case insenitively [77] o multi: fix compiler warning with `CURL_DISABLE_WAKEUP` [96] o ngtcp2: compile with the latest ngtcp2 and nghttp3 [12] o ngtcp2: fix build with ngtcp2 and nghttp3 [117] o ngtcp2: remove the acked_crypto_offset struct field init [64] o ngtcp2: replace deprecated functions with nghttp3_conn_shutdown_stream_read [28] o ngtcp2: reset the oustanding send buffer again when drained [53] o ngtcp2: rework the return value handling of ngtcp2_conn_writev_stream [29] o ngtcp2: stop buffering crypto data [85] o ngtcp2: utilize crypto API functions to simplify [52] o openssl: annotate SSL3_MT_SUPPLEMENTAL_DATA [98] o openssl: when creating a new context, there cannot be an old one [48] o opt-docs: make sure all man pages have examples [92] o opt-docs: verify man page sections + order [91] o opts docs: unify phrasing in NAME header [126] o output.d: add method to suppress response bodies [49] o page-header: add GOPHERS, simplify wording in the 1st para [94] o progress: fix a compile warning on some systems [54] o progress: make trspeed avoid floats [100] o runtests: add option -u to error on server unexpectedly alive [125] o schannel: Work around typo in classic mingw macro [84] o scripts: invoke interpreters through /usr/bin/env [68] o setopt: enable CURLOPT_IGNORE_CONTENT_LENGTH for hyper [70] o strerror.h: remove the #include from files not using it o symbols-in-versions: fix CURLSSLBACKEND_QSOSSL last used version [73] o test1138: remove trailing space to make work with hyper [71] o test1173: check references to libcurl options [69] o test1280: CRLFify the response to please hyper [86] o test1565: fix windows build errors [27] o test365: verify response with chunked AND Content-Length headers o tests/*server.pl: flush output before executing subprocess [41] o tests/*server.py: remove pidfile on server termination [1] o tests/runtests.pl: cleanup copy&paste mistakes and unused code o tests/server/*.c: align handling of portfile argument and file [56] o tests: adjust the tftpd output to work with hyper mode [97] o tests: be explicit about using 'python3' instead of 'python' [67] o tests: enable test 1129 for hyper builds [87] o tests: make three tests pass until 2037 [22] o tool/tests: fix potential year 2038 issues [20] o tool_operate: Fix --fail-early with parallel transfers [62] o url: fix compiler warning in no-verbose builds [120] o urlapi.c:seturl: assert URL instead of using if-check [74] o vtls: fix typo in schannel_verify.c [44] o winbuild/README.md: clarify GEN_PDB option o wolfssl: clean up wolfcrypt error queue [79] o write-out.d: clarify size_download/upload [118] o x509asn1: fix heap over-read when parsing x509 certificates [37]
2021-07-21curl: Update to 7.78.0leot3-23/+23
Changes: 7.78.0 ------ This release includes the following changes: o curl_url_set: reject spaces in URLs w/o CURLU_ALLOW_SPACE o CURLE_SETOPT_OPTION_SYNTAX: new error name for wrong setopt syntax o hostip: make 'localhost' return fixed values o mbedtls: add support for cert and key blob options o metalink: remove all support for it o mqtt: add support for username and password This release includes the following bugfixes: o --socks4[a]: clarify where the host name is resolved o ares: always store IPv6 addresses first o asyn-ares: remove check for 'data' in Curl_resolver_cancel o bearssl: explicitly initialize all fields of Curl_ssl o bearssl: remove incorrect const on variable that is modified o build: fix compiler warnings when CURL_DISABLE_VERBOSE_STRINGS o c-hyper: abort CONNECT response reading early on non 2xx responses o c-hyper: add support for transfer-encoding in the request o c-hyper: bail on too long response headers o c-hyper: clear NTLM auth buffer when request is issued o c-hyper: convert HYPERE_INVALID_PEER_MESSAGE to CURLE_UNSUPPORTED_PROTOCOL o c-hyper: fix NTLM on closed connection tested with test159 o c-hyper: fix the uploaded field in progress callbacks o c-hyper: handle NULL from hyper_buf_copy() o c-hyper: support CURLINFO_STARTTRANSFER_TIME o c-hyper: support CURLOPT_HEADER o ccsidcurl: fix the compile errors o CI/cirrus: install impacket from PyPI instead of FreeBSD packages o CI: add bearssl build o CI: add Circle CI o CI: add jobs using Zuul o CI: delete --enable-hsts option (it is the default now) o CI: remove travis details o cleanup: spell DoH with a lowercase o o cmake: add CURL_DISABLE_NTLM option o cmake: avoid leaking absolute paths into exported config o cmake: fix IoctlSocket FIONBIO check o cmake: fix support for UnixSockets feature on Win32 o cmake: remove libssh2 feature checks o cmake: try well-known send/recv signature for Apple o configure.ac: make non-executable o configure/cmake: remove checks for many unused functions o configure: add --disable-ntlm option o configure: disable RTSP when hyper is selected o configure: do not strip out debug flags o configure: fix nghttp2 library name for static builds o configure: inhibit the implicit-fallthrough warning on gcc-12 o configure: rename get-easy-option configure option to get-easy-options o conn_shutdown: if closed during CONNECT cleanup properly o conncache: lowercase the hash key for better match o cookies: track expiration in jar to optimize removals o copyright: add boiler-plate headers to CI config files o crustls: bump crustls version and use new URL o curl.h: <sys/select.h> is supported by VxWorks7 o curl.h: include sys/select.h for NuttX RTOS o curl: ignore blank --output-dir o curl_endian: remove the unused Curl_write64_le function o curl_multibyte: Remove local encoding fallbacks o Curl_ntlm_core_mk_nt_hash: fix OOM in error path o Curl_ssl_getsessionid: fail if no session cache exists o CURLOPT_WRITEFUNCTION.3: minor update of the example o docs/BINDINGS: fix outdated links o docs/examples: use curl_multi_poll() in multi examples o docs/INSTALL: remove mentions of configure --with-darwin-ssl o docs: document missing arguments to commands o docs: fix inconsistencies in EGDSOCKET documentation o docs: fix incorrect argument name reference o docs: Fix typos o docs: make docs for --etag-save match the program behaviour o docs: use --max-redirs instead of --max-redir o doh: (void)-prefix call to curl_easy_setopt o doh: fix wrong DEBUGASSERT for doh private_data o easy: during upkeep, attach Curl_easy to connections in the cache o examples/multi-single: fix scan-build warning o examples: length-limit two sscanf() uses of %s o examples: safer and more proper read callback logic o filecheck: quietly remove test-place/*~ o formdata: avoid "Argument cannot be negative" warning o formdata: correct typecast in curl_mime_data call o GHA: add a linux-hyper job o GHA: add several libcurl tests to the hyper job o GHA: run the newly fixed tests with hyper o github: timeout jobs on macOS after 90 minutes o glob: pass an 'int' as len when using printf's %*s o gnutls: set the preferred TLS versions in correct order o GOVERNANCE: add 'user', 'committer' and 'contributor' o hostip: (macOS) free returned memory of SCDynamicStoreCopyProxies o hostip: bad CURLOPT_RESOLVE syntax now returns error o hsts: ignore numberical IP address hosts o HSTS: not experimental anymore o http2: clarify 'Using HTTP2' verbose message o http2: init recvbuf struct for pushed streams o http2_connisdead: handle trailing GOAWAY better o http: fix crash in rate-limited upload o http: make the haproxy support work with unix domain sockets o http_proxy: deal with non-200 CONNECT response with Hyper o hyper: propagate errors back up from read callbacks o HYPER: remove mentions of deprecated development branch o idn: fix libidn2 with windows unicode builds o infof: remove newline from format strings, always append it o lib: don't compare fd to FD_SETSIZE when using poll o lib: fix compiler warnings with CURL_DISABLE_NETRC o lib: fix type of len passed to *printf's %*s o lib: more %u for port and int for %*s fixes o lib: use %u instead of %ld for port number printf o libcurl-security.3: mention file descriptors and forks o libssh2: limit time a disconnect can take to 1 second o mbedtls: make mbedtls_strerror always work o mbedtls: Remove unnecessary include o mqtt: detect illegal and too large file size o mqtt: extend the error message for no topic o msnprintf: return number of printed characters excluding null byte o multi: add scan-build-6 work-around in curl_multi_fdset o multi: alter transfer timeout ordering o multi: do not switch off connect_only flag when closing o multi: fix crash in curl_multi_wait / curl_multi_poll o netrc: skip 'macdef' definitions o ngtcp2: disable TLSv1.3 compatible mode when using GnuTLS o openssl: avoid static variable for seed flag o openssl: don't remove session id entry in disassociate o pinnedpubkey.d: fix formatting for version support lists o proto.d: fix formatting for paragraphs after margin changes o quiche: use send() instead of sendto() to avoid macOS issue o Revert "c-hyper: handle body on HYPER_TASK_EMPTY" o Revert "ftp: Expression 'ftpc->wait_data_conn' is always false" o runtests: also find the last test in Makefile.inc o runtests: enable 'hyper mode' only for HTTP tests o runtests: init $VERSION to avoid warnings when using -l o runtests: parse data/Makefile.inc instead of using make o runtests: skip disabled tests unless -f is used o rustls: remove native_roots fallback o schannel: set ALPN length correctly for HTTP/2 o SChannel: Use '_tcsncmp()' instead o sectransp: check for client certs by name first, then file o setopt: fix incorrect comments o socketpair: fix potential hangs o socks4: scan for the IPv4 address in resolve results o ssl: read pending close notify alert before closing the connection o sws: malloc request struct instead of using stack o telnet: fix option parser to not send uninitialized contents o test1116: hyper doesn't pass through "surprise-trailers" o test1147: hyper doesn't allow "crazy" request headers like built-in o test1151: added missing CRLF to work with hyper o test1216: adjusted for hyper mode o test1218: adjusted for hyper mode o test1230: adjust to work in hyper mode o test1340/1341: adjusted for hyper mode o test1438/1457: add HTTP keyword to make hyper mode work o test1514: add a CRLF to the response to make it correct o test1518: adjusted to work with hyper o test1519: adjusted to work with hyper o test1594/1595/1596: fix to work in hyper mode o test269: disable for hyper o test3010: work with hyper mode o test328: avoid a header-looking body to make hyper mode work o test339: CRLFify better to work in hyper mode o test347: CRLFify to work in hyper mode o test393: make Content-Length fit within 64 bit for hyper o test394: hyper returns a different error o test395: hyper cannot work around > 64 bit content-lengths like built-in o test433: adjust for hyper mode o test434: add HTTP keyword o test500: adjust to work with hyper mode o test566: adjust to work with hyper mode o test599: adjusted to work in hyper mode o test644: remove as duplicate of test 587 o tests: fix Accept-Encoding strips to work with Hyper builds o TLS: prevent shutdown loops to get stuck o tool: make _lseeki64() macro work with the PellesC compiler o tool_help: document that --tlspassword takes a password o tool_help: remove unused define o url.c: remove two variable assigns that are never read o url: (void)-prefix a curl_url_get() call o url: bad CURLOPT_CONNECT_TO syntax now returns error o version: turn version number functions into returning void o vtls: exit addsessionid if no cache is inited o vtls: fix connection reuse checks for issuer cert and case sensitivity o vtls: only store TIMER_APPCONNECT for non-proxy connect o vtls: use free() not curl_free() o warnless: simplify type size handling o Win32: fix build with Watt-32 o winbuild/README: VC should be set to 6 'or larger' o winbuild: support alternate nghttp2 static lib name o wolfssl: failing to set a session id is not reason to error out o write-out.d: clarify urlnum is not unique for de-globbed URLs o zuul: use the new rustls directory name
2021-05-26curl: update to 7.77.0.wiz3-9/+10
curl and libcurl 7.77.0 This release includes the following changes: o configure: make the TLS library choice(s) explicit [3] o curl: ignore options asking for SSLv2 or SSLv3 [10] o hsts: enable by default [8] o SSL: support in-memory CA certs for some backends [85] o vtls: refuse setting any SSL version [9] This release includes the following bugfixes: o CVE-2021-22297: schannel cipher selection surprise [132] o CVE-2021-22298: TELNET stack contents disclosure [131] o CVE-2021-22901: TLS session caching disaster [130] o AmigaOS: add functions definitions for SHA256 [126] o build: fix compilation for Windows UWP platform [82] o c-hyper: don't write to set.writeheader if null [67] o c-hyper: fix handling of zero-byte chunk from hyper [39] o c-hyper: handle body on HYPER_TASK_EMPTY [104] o checksrc: complain on == NULL or != 0 checks in conditions [20] o CI/cirrus: add shared and static Windows release builds [102] o cmake: add CURL_ENABLE_EXPORT_TARGET option [133] o cmake: check for getppid and utimes [87] o cmake: detect CURL_SA_FAMILY_T [124] o cmake: fix two invokes result in different curl_config.h [123] o cmake: make libcurl output filename configurable [41] o cmake: Use multithreaded compilation on VS 2008+ [122] o config: remove now-unused macros [107] o configure: if asked for, fail if ldap is not found [109] o configure: provide --with-openssl, deprecate --with-ssl [15] o conn: add 'attach' to protocol handler, make libssh2 use it [119] o connect: use CURL_SA_FAMILY_T for portability [34] o ConnectionExists: respect requests for h1 connections better o cookie: CURLOPT_COOKIEFILE set to NULL switches off cookies [1] o curl-wolfssl.m4: without custom include path, assume /usr/include [116] o curl: include libmetalink version in --version output [111] o Curl_http_header: check for colon when matching Persistent-Auth [51] o Curl_http_input_auth: require valid separator after negotiation type [52] o Curl_input_digest: require space after Digest [50] o curl_mprintf.3: add description [73] o curl_setup: provide the shutdown flags wider [33] o curl_url_set.3: add memory management information [38] o CURLcode: add CURLE_SSL_CLIENTCERT [47] o CURLOPT_CAPATH.3: defaults to a path, not NULL [103] o CURLOPT_IPRESOLVE: preventing wrong IP version from being used [125] o CURLOPT_POSTFIELDS.3: clarify how it gets the size of the data [40] o data_pending: check only SECONDARY socket for FTP(S) transfers [117] o docs/TheArtOfHttpScripting: fix markdown links [129] o docs: camelcase it like GitHub everywhere [62] o docs: cookies from HTTP headers need domain set [121] o docs: fix typo in fail-with-body doc [63] o docs: improve INTERNALS.md regarding getsock cb [105] o docs: replace dots with dashes in markdown enums [101] o easy: ignore sigpipe in curl_easy_send [69] o FILEFORMAT: mention sectransp as a feature [89] o GIT-INFO: suggest using autoreconf instead of buildconf [96] o github: add a workflow with libssh2 on macOS using cmake [81] o github: inhibit deprecated declarations for clang on macOS [118] o GnuTLS: don't allow TLS 1.3 for versions that don't support it [77] o gnutls: make setting only the MAX TLS allowed version work [83] o gskit: fix CURL_DISABLE_PROXY build [57] o gskit: fix undefined reference to 'conn' [58] o hostip.h: remove declaration of unimplemented function [108] o hostip: remove the debug code for LocalHost [113] o http2: call the handle-closed function correctly on closed stream [37] o http2: fix a resource leak in push_promise() [54] o http2: fix resource leaks in set_transfer_url() [55] o http2: make sure pause is done on HTTP [120] o http2: move the stream error field to the per-transfer storage [36] o http2: skip immediate parsing of payload following protocol switch [90] o http2: use nghttp2_session_upgrade2 instead of nghttp2_session_upgrade [91] o HTTP3.md: fix nghttp2's HTTP/3 server port [21] o HTTP3.md: make the ngtcp2 build use the quictls fork [98] o http: deal with partial CONNECT sends [97] o http: fix the check for 'Authorization' with Bearer [53] o http: limit the initial send amount to used upload buffer size [99] o http: reset the header buffer when sending the request [61] o http: use offsets inst of integer literals for header parsing [95] o INSTALL: add IBM i specific quirks [75] o krb5/name_to_level: replace checkprefix with curl_strequal [49] o krb5: don't use 'static' to store PBSZ size response [23] o krb5: remove the unused 'overhead' function [35] o lib/hostip6.c: make NAT64 address synthesis on macOS work [135] o lib1564.c: enable last wakeup test part on Windows [26] o lib: fix 0-length Curl_client_write calls [60] o lib: fix some misuse of curlx_convert_UTF8_to_tchar [64] o libcurl-security.3: be careful of setuid [66] o libcurl-security.3: don't try to filter IPv4 hosts based on the URL [71] o libcurl.3: mention the URL API [76] o libssh2: fix Value stored to 'sshp' is never read [13] o libssh2: ignore timeout during disconnect [45] o libssh: fix "empty expression statement has no effect" warnings [7] o libtest: remove lib530.c [88] o m4: add security frameworks on Mac when compiling rustls [31] o multi: don't close connection HTTP_1_1_REQUIRED o multi: fix slow write/upload performance on Windows [27] o multi: reduce Win32 API calls to improve performance [28] o ngtcp2: fix the cb_acked_stream_data_offset proto [46] o NSS: add ciphers to map [30] o NSS: make colons, commas and spaces valid separators in cipher list [106] o nss_set_blocking: avoid static for sock_opt [72] o ntlm: precaution against super huge type2 offsets [65] o openldap: protect SSL-specific code with proper #ifdef [12] o openldap: replace ldap_ prefix on private functions [84] o openssl: fix build error with OpenSSL < 1.0.2 [4] o openssl: remove unneeded cast for CertOpenSystemStore() [93] o os400: additional support for options metadata [24] o progress: fix scan-build-11 warnings [92] o progress: reset limit_size variables at transfer start [114] o progress: when possible, calculate transfer speeds with microseconds [48] o README.md: delete Codacy UTM parameters [5] o Revert "Revert 'multi: implement wait using winsock events'" [26] o rustls: only return CURLE_AGAIN when TLS session is fully drained [2] o rustls: use ALPN [56] o sasl: use 'unsigned short' to store mechanism [112] o schannel: Disable auto credentials; add an option to enable it [18] o schannel: Support strong crypto option [44] o sectransp: allow cipher name to be specified [29] o sectransp: fix EXC_BAD_ACCESS caused by uninitialized buffer [136] o sigpipe: ignore SIGPIPE when using wolfSSL as well [70] o sockfilt: avoid getting stuck waiting for writable socket [80] o sockfilt: fix invalid increment of handles index variable nfd [79] o sws: #ifdef S_IFSOCK use [32] o sws: allow HTTP requests up to 2MB in size [100] o test server: take care of siginterrupt() deprecation [25] o test2100: make it run with and require IPv6 [127] o tests/disable-scan.pl: also scan all m4 files [17] o tests/getpart: generate output URL encoded for better diffs [128] o tests: ignore case of chunked hex numbers in tests [86] o tls: add USE_HTTP2 define [59] o tool_getparam: handle failure of curlx_convert_tchar_to_UTF8() [78] o tool_getparam: replace (in-place) '%20' by '+' according to RFC1866 [14] o tool_operate: don't discard failed parallel transfer result [16] o tool_writeout: fix the HTTP_CODE json output [11] o travis: disable the failing libssh build [94] o URL-SYNTAX: update IDNA section for WHATWG spec changes [74] o urlapi: "normalize" numerical IPv4 host names [6] o vauth: factor base64 conversions out of authentication procedures [22] o version: add gsasl_version to curl_version_info_data [43] o version: add OpenLDAP version in the output [110] o vtls: deduplicate some DISABLE_PROXY ifdefs [19] o vtls: reset ssl use flag upon negotiation failure [42] o wolfssl: handle SSL_write() returns 0 for error [68] o wolfssl: remove SSLv3 support leftovers [115]
2021-05-24*: recursive bump for perl 5.34wiz1-2/+2
2021-04-21revbump for boost-libsadam2-3/+4
2021-04-14curl: updated to 7.76.1adam2-7/+7
7.76.1 Bugfixes: configure: disable min version set for Darwin configure: include <time.h> unconditionally configure: remove use of RETSIGTYPE docs/HTTP3.md: update the build instruction using gnutls examples/hiperfifo.c: check event_initialized before delete file: support GETing directories again github/workflow: add "security-extended" to codeql-analysis.yml h2: allow 100 streams by default hostip: fix builds that disable all asynchronous DNS http_proxy: only loop on 407 + close if we have credentials install: add instructions for Apple Darwin platforms lib: remove unused HAVE_INET_NTOA_R* defines libssh: get rid of PATH_MAX ngtcp2+gnutls: clear credentials when freed ngtcp2: Use ALPN h3-29 for now ntlm: fix negotiated flags usage ntlm: support version 2 on 32-bit platforms openssl: fix CURLOPT_SSLCERT_BLOB without CURLOPT_SSLCERT_KEY TLS: fix HTTP/2 selection tool_progress: fix progress meter final update in parallel mode typecheck-gcc: make the ssl-ctx-cb check use SSL_CTX pointers
2021-03-31curl: Update to 7.76.0leot3-8/+12
Changes: 7.76.0 ====== This release includes the following changes: o cookies: Support multiple -b parameters o curl: add --fail-with-body o doh: add options to disable ssl verification o http: add support to read and store the referrer header o sasl: support SCRAM-SHA-1 and SCRAM-SHA-256 via libgsasl o vtls: initial implementation of rustls backend This release includes the following bugfixes: o CVE-2021-22876: strip credentials from the auto-referer header field o CVE-2021-22890: add 'isproxy' argument to Curl_ssl_get/addsessionid() o asyn-ares: use consistent resolve error message o BUG-BOUNTY: removed the cooperation mention o build: delete unused feature guards o build: fix --disable-dateparse o build: fix --disable-http-auth o build: remove all traces of USE_BLOCKING_SOCKETS o c-hyper: Remove superfluous pointer check o c-hyper: support automatic content-encoding o CI/azure: disable test 433 on azure-ubuntu o CI/azure: replace python-impacket with python3-impacket o ci: stop building on freebsd-12-1 o cmake: fix import library name for non-MS compiler on Windows o cmake: use CMAKE_INSTALL_INCLUDEDIR indirection o cmake: support WinIDN o config: fix building SMB with configure using Win32 Crypto o config: fix detection of restricted Windows App environment o configure: fail if --with-quiche is used and quiche isn't found o configure: make AC_TRY_* into AC_*_IFELSE o configure: make hyper opt-in, and fail if missing o configure: only add OpenSSL paths if they are defined o configure: provide Largefile feature for curl-config o configure: remove use of deprecated macros o configure: s/AC_HELP_STRING/AS_HELP_STRING o cookies: Fix potential NULL pointer deref with PSL o curl: set CURLOPT_NEW_FILE_PERMS if requested o curl_easy_setopt.3: add curl_easy_option* functions to SEE ALSO o curl_multibyte: always return a heap-allocated copy of string o curl_multibyte: fall back to local code page stat/access on Windows o Curl_timeleft: check both timeouts during connect o curl_url_set.3: mention CURLU_PATH_AS_IS o CURLOPT_QUOTE.3: clarify that libcurl doesn't parse what's sent o docs/HTTP2: remove the outdated remark about multiplexing for the tool o docs/Makefile.inc: format to be update-friendly o docs: add CURLOPT_CURLU to 'See also' in curl_url_ functions o docs: add missing Arg tag to --stderr o docs: Add SSL backend names to CURL_SSL_BACKEND o docs: clarify timeouts for queued transfers in multi API o docs: Explain DOH transfers inherit some SSL settings o docs: fix FILE example url in --metalink documentation o docs: make gen.pl support *italic* and **bold** o doh: Fix sharing user's resolve list with DOH handles o doh: Inherit CURLOPT_STDERR from user's easy handle o dynbuf: bump the max HTTP request to 1MB o examples: Remove threaded-shared-conn.c due to bug o file: Support unicode urls on windows o ftp: add 'list_only' to the transfer state struct o ftp: add 'prefer_ascii' to the transfer state struct o FTP: allow SIZE to fail when doing (resumed) upload o ftp: avoid SIZE when asking for a TYPE A file o ftp: fix Codacy/cppcheck warning about null pointer arithmetic o ftp: fix memory leak in ftp_done o ftp: never set data->set.ftp_append outside setopt o gen.pl: quote "bare" minuses in the nroff curl.1 o github: add torture-ftp for FTP-only torture testing o gnutls: assume nettle crypto support o gskit: correct the gskit_send() prototype o hostip: fix build with sync resolver o hostip: fix crash in sync resolver builds that use DOH o hsts: remove unused defines o http2: don't set KEEP_SEND when there's no more data to be sent o http2: fail if connection terminated without END_STREAM o http: cap body data amount during send speed limiting o http: do not add a referrer header with empty value o http: make 416 not fail with resume + CURLOPT_FAILONERRROR o http: remove superfluous NULL assign o http: strip default port from URL sent to proxy o http: use credentials from transfer, not connection o ldap: use correct memory free function o lib1536: check ptr against NULL before dereferencing it o lib1537: check ptr against NULL before dereferencing it o lib: remove 'conn->data' completely o libssh2: kdb_callback: get the right struct pointer o libssh2:ssh_connect: clear session pointer after free o memdebug: close debug logfile explicitly on exit o mingw: enable using strcasecmp() o multi: close the connection when h2=>h1 downgrading o multi: do once-per-transfer inits in before_perform in DID state o multi: rename the multi transfer states o multi: update pending list when removing handle o ngtcp2: adapt to the new recv_datagram callback o ngtcp2: clarify calculation precedence o ngtcp2: Fix build error due to change in ngtcp2_addr_init o ngtcp2: sync with recent API updates o openldap: avoid NULL pointer dereferences o openssl: adapt to v3's new const for a few API calls o openssl: ensure to check SSL_CTX_set_alpn_protos return values o openssl: remove get_ssl_version_txt in favor of SSL_get_version o openssl: set the transfer pointer for logging early o OS400: update for CURLOPT_AWS_SIGV4 o parse_proxy: fix a memory leak in the OOM path o pathhelp.pm: fix use of pwd -L in Msys environment o projects: Update VS projects for OpenSSL 1.1.x o quiche: fix build error: use 'int' for port number o quiche: fix crash when failing to connect o retry-all-errors.d: Explain curl errors versus HTTP response errors o retry.d: Clarify transient 5xx HTTP response codes o runtests.pl: add %TESTNUMBER variable to make copying tests more convenient o runtests.pl: add a -P option to specify an external proxy o runtests.pl: kill processes locking test log files o setopt: error on CURLOPT_HTTP09_ALLOWED set true with Hyper o test1188: change error to check for: --fail HTTP status o test220/314: adjust to run with Hyper o test304: header CRLF cleanup to work with Hyper o test306: make it not run with Hyper o tests: disable .curlrc in more environments o tests: use %TESTNUMBER instead of fixed number o tftp: remove the 3600 second default timeout o time: enable 64-bit time_t in supported mingw environments o tool_help: add missing argument for --create-file-mode o tool_help: Increase space between option and description o tool_operate: bail if set CURLOPT_HTTP09_ALLOWED returns error o travis: add a rustls build o travis: bump wolfssl to 4.7.0 o travis: only build wolfssl when needed o travis: split "torture" into a separate "events" build o travis: switch ngtcp2 build over to quictls o travis: use ubuntu nghttp2 package instead of build our own o url.c: use consistent error message for failed resolve o url: fix memory leak if OOM in the HSTS handling o url: fix possible use-after-free in default protocol o urldata: don't touch data->set.httpversion at run-time o urldata: fix build without HTTP and MQTT o urldata: make 'actions[]' use unsigned char instead of int o urldata: merge "struct DynamicStatic" into "struct UrlState" o urldata: remove the 'rtspversion' field o urldata: remove the _ORIG suffix from string names o version.d: Add missing features to the features list o wolfssl: don't store a NULL sessionid
2021-03-01www/curl: Accomodate SSLCERTBUNDLEgdt1-1/+7
Rather than letting openssl perform default validation, curl passes in an explicit request to... use the certificates in the default location. In cases where SSLCERTBUNDLE is defined (because the system uses a bundle instead of the traditonal directory of trust anchors), pass that to curl's configure. As proposed on tech-pkg by Thomas Orgis, without objections.
2021-02-03curl: updated to 7.75.0adam3-8/+9
Changes: curl: add --create-file-mode [mode] curl: add new variables to --write-out dns: extend CURLOPT_RESOLVE syntax for adding non-permanent entries gopher: implement secure gopher protocol http: add Hyper as new optional HTTP backend http: introduce AWS HTTP v4 Signature support Bugfixes: badsymbols.pl: add verbose mode -v badsymbols.pl: ignore stand-alone single hash lines BUG-BOUNTY: minor language updates build: fix djgpp builds cleanup: fix empty expression statement has no effect cmake: Add an option to disable libidn2 cmake: enable gophers correctly in curl-config cmake: expose CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG cmdline-opts/gen.pl: return hard on errors cmdline-opts/retry.d: mention response code 429 as well configure: set -Wextra-semi-stmt for clang with --enable-debug connect: defer port selection until connect() time connect: mark intentional ignores of setsockopt return values connect: on linux, enable reporting of all ICMP errors on UDP sockets connect: zero variable on stack to silence valgrind complaint cookie: avoid the C1001 internal compiler error with MSVC 14 curl.1: fix typo microsft -> microsoft curl: fix handling of -q option curl: include the file name in --xattr/--remote-time error msgs curl: move fprintf outputs to warnf Curl_chunker: shrink the struct curl_easy_pause.3: add multiplexed pause effects CURLINFO_PRETRANSFER_TIME.3: clarify CURLOPT_URL.3: remove scheme specific details digest_sspi: Show InitializeSecurityContext errors in verbose mode docs/examples: adjust prototypes for CURLOPT_READFUNCTION docs/URL-SYNTAX: the URL syntax curl accepts and works with docs: enable syntax highlighting in several docs files docs: fix line length bug in gen.pl docs: fix typos in NEW-PROTOCOL.md docs: fix wrong documentation in help.d docs: remove redundant "better" in --fail help doh: allocate state struct on demand examples/libtest: add .checksrc to dist examples: remove superfluous asterisk uses failf: remove newline from formatting strings file: don't provide content-length for directories getinfo: build with disabled HTTP support gitattributes: Set batch files to CRLF line endings on checkout h2: do not wait for RECV on paused transfers HISTORY: added dates to early history http: empty reply connection are not left intact http: get CURLOPT_REQUEST_TARGET working with a HTTP proxy http: have CURLOPT_FAILONERROR fail after all headers http: make providing Proxy-Connection header not cause duplicated headers http: show the request as headers even when split-sending http_chunks: correct and clarify a comment on hexnumber length http_proxy: Fix CONNECT chunked encoding race condition httpauth: make multi-request auth work with custom port INSTALL: now at 85 operating systems INSTALL: update the list known OSes and CPU archs curl has run on lib/unit tests: add missing curl_global_cleanup() calls lib1564/5: verify that curl_multi_wakeup returns OK lib: pass in 'struct Curl_easy *' to most functions lib: remove Curl_ prefix from many static functions lib: save a bit of space with some structure packing libssh2: fix "Value stored to 'readdir_len' is never read" libssh2: move data from connection object to transfer object libssh: avoid plain free() of libssh-memory mime: make sure setting MIMEPOST to NULL resets properly misc: assorted typo fixes misc: fix "warning: empty expression statement has no effect" misc: fix typos mk-ca-bundle.pl: deterministic output when using -t mqtt: deal with 0 byte reads correctly mqtt: handle POST/PUBLISH without a set POSTFIELDSIZE multi: set the PRETRANSFER time-stamp when we switch to PERFORM multi: skip DONE state if there's no connection left for ftp wildcard multi: when erroring in TOOFAST state, act as for PERFORM multi_runsingle: bail out early on data->conn == NULL ngtcp2: Fix http3 upload stall ngtcp2: Fix stack buffer overflow ngtcp2: make it build it current master again nss: get the run-time version instead of build-time openssl: lowercase the hostname before using it for SNI OS400: update ccsidcurl.c pretransfer: setup the User-Agent header here quiche: remove fprintf() leftover Revert "CI/github: work-around for brew breakage on macOS" runtests: add 'wakeup' as a feature runtests: add support for %if [feature] conditions runtests: preprocess DISABLED to allow conditionals schannel: plug a memory-leak schannel_verify: fix safefree call typo select: convert Curl_select() to private static function socks: use the download buffer instead speedcheck: exclude paused transfers strerror: skip errnum >= 0 assertion on windows test1522: add debug tracing test1633: set appropriate name test179: use consistent header line endings test410: verify HTTPS GET with a 49K request header tests/mqttd: extract the client id from the correct offset tests: make --libcurl tests only test FTP options if ftp enabled tool_doswin: Restore original console settings on CTRL signal tool_operate: fix the suppression logic of some error messages tool_operate: spellfix a comment tooĺ_writeout: fix the -w time output units transfer: fix GCC 10 warning with flag '-Wint-in-bool-context' travis: build ngtcp2 --with-gnutls travis: limit the tests with quiche builds to HTTPS and FTPS only travis: restrict the openssl3 job to only run https and ftps tests url: if IDNA conversion fails, fallback to Transitional urldata: make magic be the first struct field urldata: remove 'local_ip' from the connectdata struct urldata: remove duplicate 'upkeep_interval_ms' from connectdata urldata: remove duplicate port number storage urldata: remove the duplicate 'ip_addr_str' field urldata: store ip version in a single byte vtls: remove md5sum warnless: remove curlx_ultosi wolfssl: add SECURE_RENEGOTIATION support wolfssl: Support wolfSSL builds missing TLS 1.1
2020-12-09curl: updated to 7.74.0adam3-9/+14
curl and libcurl 7.74.0 This release includes the following changes: o hsts: add experimental support for Strict-Transport-Security This release includes the following bugfixes: o CVE-2020-8286: Inferior OCSP verification o CVE-2020-8285: FTP wildcard stack overflow o CVE-2020-8284: trusting FTP PASV responses o acinclude: detect manually set minimum macos/ipod version o alt-svc: enable (in the build) by default o alt-svc: minimize variable scope and avoid "DEAD_STORE" o asyn: use 'struct thread_data *' instead of 'void *' o checksrc: warn on empty line before open brace o CI/appveyor: disable test 571 in two cmake builds o CI/azure: improve on flakiness by avoiding libtool wrappers o CI/tests: enable test target on TravisCI for CMake builds o CI/travis: add brotli and zstd to the libssh2 build o cirrus: build with FreeBSD 12.2 in CirrusCI o cmake: call the feature unixsockets without dash o cmake: check for linux/tcp.h o cmake: correctly handle linker flags for static libs o cmake: don't pass -fvisibility=hidden to clang-cl on Windows o cmake: don't use reserved target name 'test' o cmake: make BUILD_TESTING dependent option o cmake: make CURL_ZLIB a tri-state variable o cmake: set the unicode feature in curl-config on Windows o cmake: store IDN2 information in curl_config.h o cmake: use libcurl.rc in all Windows builds o configure: pass -pthread to Libs.private for pkg-config o configure: use pkgconfig to find openSSL when cross-compiling o connect: repair build without ipv6 availability o curl.1: add an "OUTPUT" section at the top of the manpage o curl.se: new home o curl: add compatibility for Amiga and GCC 6.5 o curl: only warn not fail, if not finding the home dir o curl_easy_escape: limit output string length to 3 * max input o Curl_pgrsStartNow: init speed limit time stamps at start o curl_setup: USE_RESOLVE_ON_IPS is for Apple native resolver use o curl_url_set.3: fix typo in the RETURN VALUE section o CURLOPT_DNS_USE_GLOBAL_CACHE.3: fix typo o CURLOPT_HSTS.3: document the file format o CURLOPT_NOBODY.3: fix typo o CURLOPT_TCP_NODELAY.3: fix comment in example code o CURLOPT_URL.3: clarify SCP/SFTP URLs are for uploads as well o docs: document the 8MB input string limit o docs: fix typos and markup in ETag manpage sections o docs: Fix various typos in documentation o examples/httpput: remove use of CURLOPT_PUT o FAQ: refreshed o file: avoid duplicated code sequence o ftp: retry getpeername for FTP with TCP_FASTOPEN o gnutls: fix memory leaks (certfields memory wasn't released) o header.d: mention the "Transfer-Encoding: chunked" handling o HISTORY: the new domain o http3: fix two build errors, silence warnings o http3: use the master branch of GnuTLS for testing o http: pass correct header size to debug callback for chunked post o http_proxy: use enum with state names for 'keepon' o httpput-postfields.c: new example doing PUT with POSTFIELDS o infof/failf calls: fix format specifiers o libssh2: fix build with disabled proxy support o libssh2: fix transport over HTTPS proxy o libssh2: require version 1.0 or later o Makefile.m32: add support for HTTP/3 via ngtcp2+nghttp3 o Makefile.m32: add support for UNICODE builds o mqttd: fclose test file when done o NEW-PROTOCOL: document what needs to be done to add one o ngtcp2: adapt to recent nghttp3 updates o ngtcp2: advertise h3 ALPN unconditionally o ngtcp2: Fix build error due to symbol name change o ngtcp2: use the minimal version of QUIC supported by ngtcp2 o ntlm: avoid malloc(0) on zero length user and domain o openssl: acknowledge SRP disabling in configure properly o openssl: free mem_buf in error path o openssl: guard against OOM on context creation o openssl: use OPENSSL_init_ssl() with >= 1.1.0 o os400: Sync libcurl API options o packages/OS400: make the source code-style compliant o quiche: close the connection o quiche: remove 'static' from local buffer o range.d: clarify that curl will not parse multipart responses o range.d: fix typo o Revert "multi: implement wait using winsock events" o rtsp: error out on empty Session ID, unified the code o rtsp: fixed Session ID comparison to refuse prefix o rtsp: fixed the RTST Session ID mismatch in test 570 o runtests: return error if no tests ran o runtests: revert the mistaken edit of $CURL o runtests: show keywords when no tests ran o scripts/completion.pl: parse all opts o socks: check for DNS entries with the right port number o src/tool_filetime: disable -Wformat on mingw for this file o strerror: use 'const' as the string should never be modified o test122[12]: remove these two tests o test506: make it not run in c-ares builds o tests/*server.py: close log file after each log line o tests/server/tftpd.c: close upload file right after transfer o tests/util.py: fix compatibility with Python 2 o tests: add missing global_init/cleanup calls o tests: fix some http/2 tests for older versions of nghttpx o tool_debug_cb: do not assume zero-terminated data o tool_help: make "output" description less confusing o tool_operate: --retry for HTTP 408 responses too o tool_operate: bail out proper on errors during parallel transfers o tool_operate: fix compiler warning when --libcurl is disabled o tool_writeout: use off_t getinfo-types instead of doubles o travis: use ninja-build for CMake builds o travis: use valgrind when running tests for debug builds o urlapi: don't accept blank port number field without scheme o urlapi: URL encode a '+' in the query part o urldata: remove 'void *protop' and create the union 'p' o vquic/ngtcp2.h: define local_addr as sockaddr_storage
2020-12-04Revbump packages with a runtime Python dep but no version prefix.nia1-1/+2
For the Python 3.8 default switch.
2020-11-15curl: Explicitly disable libpsl supportleot1-1/+2
At least on some non-pkgsrc setup it can be accidentally picked up. Noticed by Dr. Thomas Orgis via tech-pkg@.
2020-10-18curl: update to 7.73.0.wiz3-18/+14
curl and libcurl 7.73.0 Public curl releases: 195 Command line options: 234 curl_easy_setopt() options: 278 Public functions in libcurl: 85 Contributors: 2270 This release includes the following changes: o curl: add --output-dir [25] o curl: support XDG_CONFIG_HOME to find .curlrc [3] o curl: update --help with categories [77] o curl_easy_option_*: new API for meta-data about easy options [40] o CURLE_PROXY: new error code [7] o mqtt: enable by default [28] o sftp: add new quote commands 'atime' and 'mtime' [6] o ssh: add the option CURLKHSTAT_FINE_REPLACE [27] o tls: add CURLOPT_SSL_EC_CURVES and --curves [29] This release includes the following bugfixes: o altsvc: clone setting in curl_easy_duphandle [60] o base64: also build for smtp, pop3 and imap [81] o BUGS: convert document to markdown [107] o build-wolfssl: fix build with Visual Studio 2019 [114] o buildconf: invoke 'autoreconf -fi' instead [37] o checksrc: detect // comments on column 0 [132] o checksrc: verify do-while and spaces between the braces [2] o checksrc: warn on space after exclamation mark [129] o CI/azure: disable test 571 in the msys2 builds [93] o CI/azure: MQTT is now enabled by default [64] o CI/azure: no longer ignore results of test 1013 [43] o CI/tests: fix invocation of tests for CMake builds [117] o CI/travis: add a CI job with openssl3 (from git master) [51] o cleanups: avoid curl_ on local variables [53] o CMake: add option to enable Unicode on Windows [48] o cmake: make HTTP_ONLY also disable MQTT [58] o CMake: remove explicit `CMAKE_ANSI_CFLAGS` [45] o cmake: remove scary warning [96] o cmdline-opts/gen.pl: generate nicer "See Also" in curl.1 [66] o configure: don't say HTTPS-proxy is enabled when disabled [120] o configure: fix pkg-config detecting wolfssl [26] o configure: let --enable-debug set -Wenum-conversion with gcc >= 10 [56] o conn: check for connection being dead before reuse [39] o connect.c: remove superfluous 'else' in Curl_getconnectinfo [42] o curl.1: add see also no-progress-meter on two spots [67] o curl.1: fix typo invokved -> invoked [36] o curl: in retry output don't call all problems "transient" [74] o curl: make --libcurl show binary posts correctly [130] o curl: make checkpasswd use dynbuf [100] o curl: make file2memory use dynbuf [102] o curl: make file2string use dynbuf [103] o curl: make glob_match_url use dynbuf [101] o curl: make sure setopt CURLOPT_IPRESOLVE passes on a long [134] o curl: retry delays in parallel mode no longer sleeps blocking [70] o curl: use curlx_dynbuf for realloc when loading config files [73] o curl:parallel_transfers: make sure retry readds the transfer [71] o curl_get_line: build only if cookies or alt-svc are enabled [13] o curl_mime_headers.3: fix the example's use of curl_slist_append [83] o Curl_pgrsTime - return new time to avoid timeout integer overflow [32] o Curl_send: return error when pre_receive_plain can't malloc [111] o dist: add missing CMake Find modules to the distribution [14] o docs/LICENSE-MIXING: remove [79] o docs/opts: fix typos in two manual pages [119] o docs/RESOURCES: remove [105] o docs/TheArtOfHttpScripting: convert to markdown [106] o docs: add description about CI platforms to CONTRIBUTE.md [44] o docs: correct non-existing macros in man pages [35] o doh: add error message for DOH_DNS_NAME_TOO_LONG [17] o dynbuf: make sure Curl_dyn_tail() zero terminates [78] o easy_reset: clear retry counter [82] o easygetopt: pass a valid enum to avoid compiler warning [75] o etag: save and use the full received contents [4] o ftp: a 550 response to SIZE returns CURLE_REMOTE_FILE_NOT_FOUND [99] o ftp: avoid risk of reading uninitialized integers [76] o ftp: get rid of the PPSENDF macro [85] o ftp: make a 552 response return CURLE_REMOTE_DISK_FULL [87] o ftp: separate FTPS from FTP over "HTTPS proxy" [112] o git: ignore libtests in 3XXX area [16] o github: use new issue template feature [88] o HISTORY: mention alt-svc added in 2019 o HTTP/3: update to OpenSSL_1_1_1g-quic-draft-29 [41] o http: consolidate nghttp2_session_mem_recv() call paths [80] o http_proxy: do not count proxy headers in the header bytecount [90] o http_proxy: do not crash with HTTPS_PROXY and NO_PROXY set [50] o imap: make imap_send use dynbuf for the send buffer management [110] o imap: set cselect_bits to CURL_CSELECT_IN initially [104] o ldap: reduce the amount of #ifdefs needed [124] o lib/Makefile.am: bump VERSIONINFO due to new functions [65] o lib1560: verify "redirect" to double-slash leading URL [20] o lib583: fix enum mixup o lib: fix -Wassign-enum warnings [84] o lib: make Curl_gethostname accept a const pointer [38] o libssh2: handle the SSH protocols done over HTTPS proxy [125] o libssh2: pass on the error from ssh_force_knownhost_key_type [47] o Makefile.m32: add ability to override zstd libs [ci skip] [10] o man pages: switch to https://example.com URLs [86] o MANUAL: update examples to resolve without redirects [122] o mbedtls: add missing header when defining MBEDTLS_DEBUG [133] o memdebug: remove 9 year old unused debug function [126] o multi: expand pre-check for socket readiness [21] o multi: handle connection state winsock events [31] o multi: implement wait using winsock events [22] o ngtcp2: adapt to new NGTCP2_PROTO_VER_MAX define [108] o ngtcp2: adapt to the new pkt_info arguments [18] o ntlm: fix condition for curl_ntlm_core usage [46] o openssl: avoid error conditions when importing native CA [52] o openssl: consider ALERT_CERTIFICATE_EXPIRED a failed verification [57] o openssl: Fix wincrypt symbols conflict with BoringSSL [9] o parsedate: tune the date to epoch conversion [95] o pause: only trigger a reread if the unpause sticks [92] o pingpong: use a dynbuf for the *_pp_sendf() function [113] o READMEs: convert several to markdown [115] o runtests: add %repeat[]% for test files [116] o runtests: allow creating files without newlines [72] o runtests: allow generating a binary sequence from hex o runtests: clear pid variables when failing to start a server [12] o runtests: make cleardir() erase dot files too [8] o runtests: provide curl's version string as %VERSION for tests [127] o schannel: fix memory leak when using get_cert_location [15] o schannel: return CURLE_PEER_FAILED_VERIFICATION for untrusted root [128] o scripts: improve the "get latest curl release tag" logic o sectransp: make it build with --disable-proxy [123] o select.h: make socket validation macros test for INVALID_SOCKET [24] o select: align poll emulation to return all relevant events [63] o select: fix poll-based check not detecting connect failure o select: reduce duplication of Curl_poll in Curl_socket_check [23] o select: simplify return code handling for poll and select [49] o setopt: if the buffer exists, refuse the new BUFFERSIZE [5] o setopt: return CURLE_BAD_FUNCTION_ARGUMENT on bad argument [91] o socketpair: allow CURL_DISABLE_SOCKETPAIR [11] o sockfilt: handle FD_CLOSE winsock event on write socket [30] o src: spell whitespace without whitespace [121] o SSLCERTS: fix English syntax [34] o strerror: honor Unicode API choice on Windows [109] o symbian: drop support [118] o telnet.c: depend on static requirement of WinSock version 2 [61] o test1541: remove since it is a known bug [68] o test163[12]: require http to be built-in to run [94] o test434: test -K use in a single line without newline [59] o test971: show test mismatches "inline" o tests/data: Fix some mismatched XML tags in test cases o tests/FILEFORMAT: document nonewline support for <file> o tests/FILEFORMAT: document type=shell for <command> o tests/server/util.c: fix support for Windows Unicode builds [131] o tests: remove pipelining tests [69] o tls: fix SRP detection by using the proper #ifdefs [33] o tls: provide the CApath verbose log on its own line [1] o tool_setopt: escape binary data to hex, not octal o tool_writeout: add new writeout variable, %{num_headers} [97] o travis: add a build using libressl (from git master) [55] o url: use blank credentials when using proxy w/o username and password [54] o urlapi: use more Curl_safefree [89] o vtls: deduplicate client certificates in ssl_config_data [98] o win32: drop support for WinSock version 1, require version 2 [62] o winbuild: convert the instruction text to README.md [19]
2020-08-31*: bump PKGREVISION for perl-5.32.wiz1-1/+2
2020-08-24curl: replace hardcoded perl shebang in testsleot1-1/+2
2020-08-24curl: nghttpx is needed as test dependency for HTTP/2 testsleot1-1/+2
2020-08-19curl: Update to 7.72.0leot4-12/+26
pkgsrc changes: - Add test dependency to Python and py-impacket for SMB and TELNET tests Changes: 7.72.0 ------ This release includes the following changes: o content_encoding: add zstd decoding support o CURL_PUSH_ERROROUT: allow the push callback to fail the parent stream o CURLINFO_EFFECTIVE_METHOD: added This release includes the following bugfixes: o CVE-2020-8231: libcurl: wrong connect-only connection o appveyor: collect libcurl.dll variants with prefix or suffix o asyn-ares: correct some bad comments o bearssl: fix build with disabled proxy support o buildconf: avoid array concatenation in die() o buildconf: retire ares buildconf invocation o checksrc: ban gmtime/localtime o checksrc: invoke script with -D to find .checksrc proper o CI/azure: install libssh2 for use with msys2-based builds o CI/azure: unconditionally enable warnings-as-errors with autotools o CI/macos: enable warnings as errors for CMake builds o CI/macos: set minimum macOS version o CI/macos: unconditionally enable warnings-as-errors with autotools o CI: Add muse CI analyzer o cirrus-ci: upgrade 11-STABLE to 11.4 o CMake: don't complain about missing nroff o CMake: fix test for warning suppressions o cmake: fix windows xp build o configure.ac: Sort features name in summary o configure: allow disabling warnings o configure: cleanup wolfssl + pkg-config conflicts when cross compiling. o configure: show zstd "no" in summary when built without it o connect: remove redundant message about connect failure o curl-config: ignore REQUIRE_LIB_DEPS in --libs output o curl.1: add a few missing valid exit codes o curl: add %{method} to the -w variables o curl: improve the existing file check with -J o curl_multi_setopt: fix compiler warning "result is always false" o curl_version_info.3: CURL_VERSION_KERBEROS4 is deprecated o CURLINFO_CERTINFO.3: fix typo o CURLOPT_NOBODY.3: clarify what setting to 0 means o docs: add date of 7.20 to CURLM_CALL_MULTI_PERFORM mentions o docs: Add video link to docs/CONTRIBUTE.md o docs: change "web site" to "website" o docs: clarify MAX_SEND/RECV_SPEED functionality o docs: Update a few leftover mentions of DarwinSSL o doh: remove redundant cast o file2memory: use a define instead of -1 unsigned value o ftp: don't do ssl_shutdown instead of ssl_close o ftpserver: don't verify SMTP MAIL FROM names o getinfo: reset retry-after value in initinfo o gnutls: repair the build with `CURL_DISABLE_PROXY` o gtls: survive not being able to get name/issuer o h2: repair trailer handling o http2: close the http2 connection when no more requests may be sent o http2: fix nghttp2_strerror -> nghttp2_http2_strerror in debug messages o libssh2: s/ssherr/sftperr/ o libtest/Makefile.am: add -no-undefined for libstubgss for Cygwin o md(4|5): don't use deprecated macOS functions o mprintf: Fix dollar string handling o mprintf: Fix stack overflows o multi: Condition 'extrawait' is always true o multi: Remove 10-year old out-commented code o multi: remove two checks always true o multi: update comment to say easyp list is linear o multi_remove_handle: close unused connect-only connections o ngtcp2: adapt to error code rename o ngtcp2: adjust to recent sockaddr updates o ngtcp2: update to modified qlog callback prototype o nss: fix build with disabled proxy support o ntlm: free target_info before (re-)malloc o openssl: fix build with LibreSSL < 2.9.1 o page-header: provide protocol details in the curl.1 man page o quiche: handle calling disconnect twice o runtests.pl: treat LibreSSL and BoringSSL as OpenSSL o runtests: move the gnutls-serv tests to a dynamic port o runtests: move the smbserver to use a dynamic port number o runtests: move the TELNET server to a dynamic port o runtests: run the DICT server on a random port number o runtests: run the http2 tests on a random port number o runtests: support dynamicly base64 encoded sections in tests o setopt: unset NOBODY switches to GET if still HEAD o smtp_parse_address: handle blank input string properly o socks: use size_t for size variable o strdup: remove the odd strlen check o test1119: verify stdout in the test o test1139: make it display the difference on test failures o test1140: compare stdout o test1908: treat file as text o tests/FILEFORMAT.md: mention %HTTP2PORT o tests/sshserver.pl: fix compatibility with OpenSSH for Windows o TLS naming: fix more Winssl and Darwinssl leftovers o tls-max.d: this option is only for TLS-using connections o tlsv1.3.d. only for TLS-using connections o tool_doswin: Simplify Windows version detection o tool_getparam: make --krb option work again o TrackMemory tests: ignore realloc and free in getenv.c o transfer: fix data_pending for builds with both h2 and h3 enabled o transfer: fix memory-leak with CURLOPT_CURLU in a duped handle o transfer: move retrycount from connect struct to easy handle o travis/script.sh: fix use of `-n' with unquoted envvar o travis: add ppc64le and s390x builds o travis: update quiche builds for new boringssl layout o url: fix CURLU and location following o url: silence MSVC warning o util: silence conversion warnings o win32: Add Curl_verify_windows_version() to curlx o WIN32: stop forcing narrow-character API o windows: add unicode to feature list o windows: disable Unix Sockets for old mingw
2020-07-01curl: updated to 7.71.1adam3-14/+14
Fixed in 7.71.1: cirrus-ci: disable FreeBSD 13 (again) Curl_inet_ntop: always check the return code CURLOPT_READFUNCTION.3: provide the upload data size up front DYNBUF.md: fix a typo: trail => tail escape: make the URL decode able to reject only %00-bytes escape: zero length input should return a zero length output examples/multithread.c: call curl_global_cleanup() http2: set the correct URL in pushed transfers http: fix proxy auth with blank password mbedtls: fix build with disabled proxy support ngtcp2: sync with current master openssl: Fix compilation on Windows when ngtcp2 is enabled Revert "multi: implement wait using winsock events" sendf: improve the message on client write errors terminology: call them null-terminated strings tool_cb_hdr: Fix etag warning output and return code url: allow user + password to contain "control codes" for HTTP(S) vtls: compare cert blob when finding a connection to reuse
2020-06-25curl: update to 7.71.0.wiz4-14/+20
freeze ok: gdt, leot curl and libcurl 7.71.0 Public curl releases: 192 Command line options: 232 curl_easy_setopt() options: 277 Public functions in libcurl: 82 Contributors: 2202 This release includes the following changes: o CURLOPT_SSL_OPTIONS: optional use of Windows' CA store (with openssl) [10] o setopt: add CURLOPT_PROXY_ISSUERCERT(_BLOB) for coherency [31] o setopt: support certificate options in memory with struct curl_blob [41] o tool: Add option --retry-all-errors to retry on any error [27] This release includes the following bugfixes: o CVE-2020-8177: curl overwrite local file with -J [111] o CVE-2020-8169: Partial password leak over DNS on HTTP redirect [48] o *_sspi: fix bad uses of CURLE_NOT_BUILT_IN [21] o all: fix codespell errors [75] o altsvc: bump to h3-29 [114] o altsvc: fix 'dsthost' may be used uninitialized in this function o altsvc: fix parser for lines ending with CRLF [74] o altsvc: remove the num field from the altsvc struct [109] o appveyor: add non-debug plain autotools-based build [90] o appveyor: disable flaky test 1501 and ignore broken 1056 o appveyor: disable test 1139 instead of ignoring it o asyn-*: remove support for never-used NULL entry pointers [19] o azure: use matrix strategy to avoid configuration redundancy [83] o build: disable more code/data when built without proxy support [84] o buildconf: remove -print from the find command that removes files o checksrc: enhance the ASTERISKSPACE and update code accordingly [52] o CI/macos: fix 'is already installed' errors by using bundle [94] o cirrus: disable SFTP and SCP tests [7] o CMake: add ENABLE_ALT_SVC option o CMake: add HTTP/3 support (ngtcp2+nghttp3, quiche) [34] o CMake: add libssh build support [37] o CMake: do not build test programs by default [30] o CMake: fix runtests.pl with CMake, add new test targets [29] o CMake: ignore INTERFACE_LIBRARY targets for pkg-config file [112] o CMake: rebuild Makefile.inc.cmake when Makefile.inc changes [58] o CODE_REVIEW.md: how to do code reviews in curl [108] o configure: fix pthread check with static boringssl o configure: for wolfSSL, check for the DES func needed for NTLM o configure: only strip first -L from LDFLAGS [89] o configure: repair the check if argv can be written to [47] o configure: the wolfssh backend does not provide SCP [57] o connect: improve happy eyeballs handling [118] o connect: make happy eyeballs work for QUIC (again) [16] o curl.1: Quote globbed URLs [51] o curl: remove -J "informational" written on stdout [36] o Curl_addrinfo: use one malloc instead of three [97] o CURLINFO_ACTIVESOCKET.3: clarify the description [87] o doc: add missing closing parenthesis in CURLINFO_SSL_VERIFYRESULT.3 [5] o doc: Rename VERSIONS to VERSIONS.md as it already has Markdown syntax [20] o docs/HTTP3: add qlog to the quiche build instruction o docs/options-in-versions: which version added each cmdline option [53] o docs: unify protocol lists [54] o dynbuf: introduce internal generic dynamic buffer functions [17] o easy: fix dangling pointer on easy_perform fail [26] o examples/ephiperfifo: turn off interval when setting timerfd [79] o examples/http2-down/upload: add error checks [78] o examples: remove asiohiper.cpp [4] o FILEFORMAT: add more features that tests can depend on o FILEFORMAT: describe verify/stderr o ftp: make domore_getsock() return the secondary socket properly o ftp: mark return-ignoring calls to Curl_GetFTPResponse with (void) [64] o ftp: shut down the secondary connection properly when SSL is used [43] o GnuTLS: Backend support for CURLINFO_SSL_VERIFYRESULT [9] o hostip: make Curl_printable_address not return anything [63] o hostip: on macOS avoid DoH when given a numerical IP address [69] o http2: keep trying to send pending frames after req.upload_done [40] o http2: simplify and clean up trailer handling [6] o HTTP3.md: clarify cargo build directory [77] o http: move header storage to Curl_easy from connectdata [107] o libcurl.pc: Merge Libs.private into Libs for static-only builds [28] o libssh2: improved error output for wrong quote syntax [39] o libssh2: keep sftp errors as 'unsigned long' [103] o libssh2: set the expected total size in SCP upload init [2] o libtest/cmake: Remove commented code [13] o list-only.d: this option existed already in 4.0 o manpage: add three missing environment variables [121] o multi: add defensive check on data->multi->num_alive [96] o multi: implement wait using winsock events [120] o ngtcp2: cleanup memory when failing to connect [70] o ngtcp2: fix build with current ngtcp2 master implementing draft 28 [76] o ngtcp2: fix happy eyeballs quic connect crash [118] o ngtcp2: introduce qlog support [23] o ngtcp2: never call fprintf() in lib code in release version o ngtcp2: update with recent API changes [100] o ntlm: enable NTLM support with wolfSSL [81] o OpenSSL: have CURLOPT_CRLFILE imply CURLSSLOPT_NO_PARTIALCHAIN [55] o openssl: set FLAG_TRUSTED_FIRST unconditionally [105] o projects: Add crypt32.lib to dependencies for all OpenSSL configs [93] o quiche: clean up memory properly when failing to connect [71] o quiche: enable qlog output [14] o quiche: update SSLKEYLOGFILE support [98] o Revert "buildconf: use find -execdir" [38] o Revert "ssh: ignore timeouts during disconnect" [67] o runtests: remove sleep calls [18] o runtests: show elapsed test time with higher precision (ms) o select: always use Sleep in Curl_wait_ms on Win32 [82] o select: fix overflow protection in Curl_socket_check [22] o sendf: make failf() use the mvsnprintf() return code [62] o server/sws: fix asan warning on use of uninitialized variable o server/util: fix logmsg format using curl_off_t argument [106] o sha256: fixed potentially uninitialized variable [61] o share: don't set the share flag it something fails [116] o sockfilt: make select_ws stop waiting on exit signal event o socks: detect connection close during handshake [95] o socks: fix expected length of SOCKS5 reply [68] o socks: remove unreachable breaks in socks.c and mime.c [101] o source cleanup: remove all custom typedef structs [42] o test1167: fixes in badsymbols.pl [73] o test1177: look for curl.h in source directory [1] o test1238: avoid tftpd being busy for tests shortly following [33] o test613.pl: make tests 613 and 614 work with OpenSSH for Windows [8] o test75: Remove precheck test o tests: add https-proxy support to the test suite [49] o tests: add support for SSH server variant specific transfer paths [24] o tests: add two simple tests for --login-options [99] o tests: make test 1248 + 1249 use %NOLISTENPORT [3] o tests: pick a random port number for SSH [12] o tests: run stunnel for HTTPS and FTPS on dynamic ports [11] o timeouts: change millisecond timeouts to timediff_t from time_t [86] o timeouts: move ms timeouts to timediff_t from int and long [104] o tool: fixup a few --help descriptions [56] o tool: support UTF-16 command line on Windows [46] o tool_cfgable: free login_options at exit [102] o tool_getparam: fix memory leak in parse_args o tool_operate: fixed potentially uninitialized variables [60] o tool_paramhlp: fixed potentially uninitialized strtol() variable [59] o transfer: close connection after excess data has been read [66] o travis: add "qlog" as feature in the quiche build o travis: Add ngtcp2 and quiche tests for CMake o travis: upgrade to bionic, clang-9, improve readability [35] o typecheck-gcc.h: CURLINFO_PRIVATE does not need a 'char *' [44] o unit1604.c: fix implicit conv from 'SANITIZEcode' to 'CURLcode' [88] o url: accept "any length" credentials for proxy auth [72] o url: alloc the download buffer at transfer start [85] o url: reject too long input when parsing credentials [25] o url: sort the protocol schemes in rough popularity order [32] o urlapi: accept :: as a valid IPv6 address [15] o urldata: leave the HTTP method untouched in the set.* struct [45] o urlglob: treat literal IPv6 addresses with zone IDs as a host name [115] o user-agent.d: spell out what happens given a blank argument [80] o vauth/cleartext: fix theoretical integer overflow [50] o version.d: expanded and alpha-sorted [110] o vtls: Extract and simplify key log file handling from OpenSSL o wolfssl: add SSLKEYLOGFILE support [65] o wording: avoid blacklist/whitelist stereotypes [92] o write-out.d: added "response_code"
2020-05-22revbump after updating security/nettleadam2-4/+4
2020-05-06revbump after boost updateadam2-3/+4
2020-04-29curl: Update to 7.70.0leot3-23/+23
Changes: 7.70.0 ------ This release includes the following changes: o curl: add --ssl-revoke-best-effort to allow a "best effort" revocation check o mqtt: add new experimental protocol o schannel: add "best effort" revocation check option: CURLSSLOPT_REVOKE_BEST_EFFORT o writeout: support to generate JSON output with '%{json}' This release includes the following bugfixes: o appveyor: add Unicode winbuild jobs o appveyor: completely disable tests that fail to timeout early o appveyor: show failed tests in log even if test is ignored o appveyor: sort builds by type and add two new variants o appveyor: turn disabled tests into ignored result tests o appveyor: use random test server ports based upon APPVEYOR_API_URL o build: fixed build for systems with select() in unistd.h o buildconf: avoid using tempfile when removing files o checksrc: warn on obvious conditional blocks on the same line as if() o CI-fuzz: increase fuzz time to 40 minutes o ci/tests: fix Azure Pipelines not running Windows containers o CI: add build with ngtcp2 + gnutls on Travis CI o CI: bring GitHub Actions fuzzing job in line with macOS jobs o CI: migrate macOS jobs from Azure and Travis CI to GitHub Actions o CI: remove default Ubuntu build from GitHub Actions o cirrus: no longer ignore test 504 which is working again o cirrus: re-enable the FreeBSD 13 CI builds o cleanup: insert newline after if() conditions o cmake: add aliases so exported target names are available in tree o cmake: add CMAKE_MSVC_RUNTIME_LIBRARY o cmake: add support for building with wolfSSL o cmake: Avoid MSVC C4273 warnings in send/recv checks o cmdline: fix handling of OperationConfig linked list (--next) o compressed.d: stress that the headers are not modified o config: remove all defines of HAVE_DES_H o configure: convert -I to -isystem as a last step o configure: document 'compiler_num' for gcc o configure: don't check for Security.framework when cross-compiling o configure: fix -pedantic-errors for GCC 5 and later o configure: remove use of -vec-report0 from CFLAGS with icc o connect: happy eyeballs cleanup o connect: store connection info for QUIC connections o copyright: fix out-of-date copyright ranges and missing headers o curl-functions.m4: remove inappropriate AC_REQUIRE o curl.h: remnove CURL_VERSION_ESNI. Never supported nor documented o curl.h: update comment typo o curl: allow both --etag-compare and --etag-save with same file name o curl_setup: define _WIN32_WINNT_[OS] symbols o CURLINFO_CONDITION_UNMET: return true for 304 http status code o CURLINFO_NUM_CONNECTS: improve accuracy o CURLOPT_WRITEFUNCTION.3: add inline example and new see-also o dist: add mail-rcpt-allowfails.d to the tarball o docs/make: generate curl.1 from listed files only o docs: add warnings about FILE: URLs on Windows o easy: fix curl_easy_duphandle for builds missing IPv6 that use c-ares o examples/sessioninfo.c: add include to fix compiler warning o github actions: run when pushed to master or */ci + PRs o gnutls: bump lowest supported version to 3.1.10 o gnutls: Don't skip really long certificate fields o gnutls: ensure TLS 1.3 when SRP isn't requested o gopher: check remaining time left during write busy loop o gskit: use our internal select wrapper for portability o http2: Fix erroneous debug message that h2 connection closed o http: don't consider upload done if the request isn't completely sent off o http: free memory when Alt-Used header creation fails due to OOM o lib/mk-ca-bundle: skip empty certs o lib670: use the same Win32 API check as all other lib tests o lib: fix typos in comments and errormessages o lib: never define CURL_CA_BUNDLE with a getenv o libcurl-multi.3: added missing full stop o libssh: avoid options override by configuration files o libssh: Use new ECDSA key types to check known hosts o mailmap: fixup a few author names/fields o Makefile.m32: Improve windres parameter compatibility o Makefile: run the cd commands in a subshell o memdebug: don't log free(NULL) o mime: properly check Content-Type even if it has parameters o multi-ssl: reset the SSL backend on `Curl_global_cleanup()` o multi: improve parameter check for curl_multi_remove_handle o nghttp2: 1.12.0 required o ngtcp2: update to git master for the key installation API change o nss: check for PK11_CreateDigestContext() returning NULL o openssl: adapt to functions marked as deprecated since version 3 o OS400: update strings for ccsid-ifier (fixes the build) o output.d: quote the URL when globbing o packages: add OS400/chkstrings.c to the dist o RELEASE-PROCEDURE.md: run the copyright.pl script! o Revert "file: on Windows, refuse paths that start with \\" o runtests: always put test number in servercmd file o runtests: provide nicer errormsg when protocol "dump" file is empty o schannel: Fix blocking timeout logic o schannel: support .P12 or .PFX client certificates o scripts/release-notes.pl: add helper script for RELEASE-NOTES maintenance o select: make Curl_socket_check take timediff_t timeout o select: move duplicate select preparation code into Curl_select o select: remove typecast from SOCKET_WRITABLE/READABLE macros o server/getpart: make the "XML-parser" stricter o server/resolve: remove AI_CANONNAME to make macos tell the truth o smtp: set auth correctly o sockfilt: add logmsg output to select_ws_wait_thread on Windows o sockfilt: fix broken pipe on Windows to be ready in select_ws o sockfilt: fix handling of ready closed sockets on Windows o sockfilt: fix race-condition of waiting threads and event handling o socks: Fix blocking timeout logic o src: Remove C99 constructs to ensure C89 compliance o SSLCERTS.md: Fix example code for setting CA cert file o test1148: tolerate progress updates better (again) o test1154: set a proper name o test1177: verify that all the CURL_VERSION_ bits are documented o test1566: verify --etag-compare that gets a 304 back o test1908: avoid using fixed port number in test data o test2043: use revoked.badssl.com instead of revoked.grc.com o test2100: fix static port instead of dynamic value being used o tests/data: fix some XML formatting issues in test cases o tests/FILEFORMAT: converted to markdown and extended o tests/server/util.c: use curl_off_t instead of long for pid o tests: add %NOLISTENPORT and use it o tests: add Windows compatible pidwait like pidkill and pidterm o tests: fix conflict between Cygwin/msys and Windows PIDs o tests: introduce preprocessed test cases o tests: make Python-based servers compatible with Python 2 and 3 o tests: make runtests check that disabled tests exists o tests: move pingpong server to dynamic listening port o tests: remove python_dependencies for smbserver from our tree o tests: run the RTSP test server on a dynamic port number o tests: run the SOCKS test server on a dynamic port number o tests: run the sws server on "any port" o tests: run the TFTP test server on a dynamic port number o tests: use Cygwin/msys PIDs for stunnel and sshd on Windows o tls: remove the BACKEND define kludge from most backends o tool: do not declare functions with Curl_ prefix o tool_operate: fix add_parallel_transfers when more are in queue o transfer: cap retries of "dead connections" to 5 o transfer: Switch PUT to GET/HEAD on 303 redirect o travis: bump the wolfssl CI build to use 4.4.0 o travis: update the ngtcp2 build to use the latest OpenSSL patch o url: allow non-HTTPS altsvc-matching for debug builds o version: add 'cainfo' and 'capath' to version info struct o version: increase buffer space for ssl version output o version: skip idn2_check_version() check and add precaution o vquic: add support for GnuTLS backend of ngtcp2 o vtls: fix ssl_config memory-leak on out-of-memory o warnless: remove code block for icc that didn't work o windows: enable UnixSockets with all build toolchains o windows: suppress UI in all CryptAcquireContext() calls
2020-03-11curl: updated to 7.69.1adam2-8/+7
curl and libcurl 7.69.1 This release includes the following bugfixes: * ares: store dns parameters for duphandle * cirrus-ci: disable the FreeBSD 13 builds * curl_share_setopt.3: Note sharing cookies doesn't enable the engine * lib1564: reduce number of mid-wait wakeup calls * libssh: Fix matching user-specified MD5 hex key * MANUAL: update a dict-using command line * mime: do not perform more than one read in a row * mime: fix the binary encoder to handle large data properly * mime: latch last read callback status * multi: skip EINTR check on wakeup socket if it was closed * pause: bail out on bad input * pause: force a connection recheck after unpausing (take 2) * pause: return early for calls that don't change pause state * runtests.1: rephrase how to specify what tests to run * runtests: fix missing use of exe_ext helper function * seek: fix fall back for missing ftruncate on Windows * sftp: fix segfault regression introduced in 7.69.0 * sha256: Added SecureTransport implementation * sha256: Added WinCrypt implementation * socks4: fix host resolve regression * socks5: host name resolv regression fix * tests/server: fix missing use of exe_ext helper function * tests: fix static ip:port instead of dynamic values being used * tests: make sleeping portable by avoiding select * unit1612: fix the inclusion and compilation of the HMAC unit test * urldata: remove the 'stream_was_rewound' connectdata struct member * version: make curl_version* thread-safe without using global context
2020-03-08*: recursive bump for libffiwiz2-3/+4
2020-03-04curl: updated to 7.69.0adam3-9/+9
This release includes the following changes: o polarssl: removed o smtp: add CURLOPT_MAIL_RCPT_ALLLOWFAILS and --mail-rcpt-allowfails o wolfSSH: new SSH backend This release includes the following bugfixes: o altsvc: improved header parser o altsvc: keep a copy of the file name to survive handle reset o altsvc: make saving the cache an atomic operation o altsvc: use h3-27 o azure: disable brotli on the macos debug-builds o build: remove all HAVE_OPENSSL_ENGINE_H defines o checksrc.bat: Fix not being able to run script from the main curl dir o cleanup: fix several comment typos o cleanup: fix typos and wording in docs and comments o cmake: add support for CMAKE_LTO option o cmake: clean up and improve build procedures o cmake: enable SMB for Windows builds o cmake: improve libssh2 check on Windows o cmake: Show HTTPS-proxy in the features output o cmake: support specifying the target Windows version o cmake: use check_symbol_exists also for inet_pton o configure.ac: fix comments about --with-quiche o configure: disable metalink if mbedTLS is specified o configure: disable metalink support for incompatible SSL/TLS o conn: do not reuse connection if SOCKS proxy credentials differ o conncache: removed unused Curl_conncache_bundle_size() o connect: remove some spurious infof() calls o connection reuse: respect the max_concurrent_streams limits o contributors: also include people who contributed to curl-www o contrithanks: use the most recent tag by default o cookie: check __Secure- and __Host- case sensitively o cookies: make saving atomic with a rename o create-dirs.d: mention the mode o curl: avoid using strlen for testing if a string is empty o curl: error on --alt-svc use w/o support o curl: let -D merge headers in one file again o curl: make #0 not output the full URL o curl: make the -# spaceship bar not wrap the line o curl: remove 'config' field from OutStruct o curl:progressbarinit: ignore column width from terminals < 20 o curl_escape.3: add a link to curl_free o curl_getenv.3: fix the memory handling description o curl_global_init: assume the EINTR bit by default o curl_global_init: move the IPv6 works status bool to multi handle o CURLINFO_COOKIELIST.3: Fix example o CURLOPT_ALTSVC_CTRL.3: fix the DEFAULT wording o CURLOPT_PROXY_SSL_OPTIONS.3: Sync with CURLOPT_SSL_OPTIONS.3 o CURLOPT_REDIR_PROTOCOLS.3: update the DEFAULT section o data.d: remove "Multiple files can also be specified" o digest: do not quote algorithm in HTTP authorisation o docs/HTTP3: add --enable-alt-svc to curl's configure o docs/HTTP3: update the OpenSSL branch to use for ngtcp2 o docs: fix typo on CURLINFO_RETRY_AFTER o easy: remove dead code o form.d: fix two minor typos o ftp: convert 'sock_accepted' to a plain boolean o ftp: remove superfluous checking for crlf in user or pwd o ftp: shrink temp buffers used for PORT o github action: add CIFuzz o github: Instructions to post "uname -a" on Unix systems in issues o GnuTLS: always send client cert o gtls: fixed compilation when using GnuTLS < 3.5.0 o hostip: move code to resolve IP address literals to `Curl_resolv` o HTTP-COOKIES: describe the cookie file format o HTTP-COOKIES: mention that a trailing newline is required o http2: make pausing/unpausing set/clear local stream window o http2: now requires nghttp2 >= 1.12.0 o http: added 417 response treatment o http: increase EXPECT_100_THRESHOLD to 1Mb o http: mark POSTs with no body as "upload done" from the start o http: move "oauth_bearer" from connectdata to Curl_easy o include: remove non-curl prefixed defines o KNOWN_BUGS: Multiple methods in a single WWW-Authenticate: header o libssh2: add support for forcing a hostkey type o libssh2: fix variable type o libssh: improve known hosts handling o llist: removed unused Curl_llist_move() o location.d: the method change is from POST to GET only o md4: fixed compilation issues when using GNU TLS gcrypt o md4: use init/update/final functions in Secure Transport o md5: added implementation for mbedTLS o mk-ca-bundle: add support for CKA_NSS_SERVER_DISTRUST_AFTER o multi: change curl_multi_wait/poll to error on negative timeout o multi: fix outdated comment o multi: if Curl_readwrite sets 'comeback' use expire, not loop o multi_done: if multiplexed, make conn->data point to another transfer o multi_wait: stop loop when sread() returns zero o ngtcp2: add error code for QUIC connection errors o ngtcp2: fixed to only use AF_INET6 when ENABLE_IPV6 o ngtcp2: update to git master and its draft-25 support o ntlm: move the winbind data into the NTLM data structure o ntlm: pass the Curl_easy structure to the private winbind functions o ntlm: removed the dependency on the TLS libaries when using MD5 o ntlm_wb: use Curl_socketpair() for greater portability o oauth2-bearer.d: works for HTTP too o openssl: make CURLINFO_CERTINFO not truncate x509v3 fields o openssl: remove redundant assignment o os400: fixed the build o pause: force-drain the transfer on unpause o quiche: update to draft-25 o README: mention that the docs is in docs/ o RELEASE-PROCEDURE: feature win is closed post-release a few days o runtests: make random seed fixed for a month o runtests: restore the command log o schannel: make CURLOPT_CAINFO work better on Windows 7 o schannel_verify: Fix alt names manual verify for UNICODE builds o sha256: use crypto implementations when available o singleuse.pl: support new API functions, fix curl_dbg_ handling o smtp: support the SMTPUTF8 extension o smtp: support UTF-8 based host names in MAIL FROM o SOCKS: make the connect phase non-blocking o strcase: turn Curl_raw_tolower into static o strerror: increase STRERROR_LEN 128 -> 256 o test1323: added missing 'unit test' feature requirement o tests: add a unit test for MD4 digest generation o tests: add a unit test for SHA256 digest generation o tests: add a unit test for the HMAC hash generation o tests: deduce the tool name from the test case for unit tests o tests: fix Python 3 compatibility of smbserver.py o tool_dirhie: allow directory traversal during creation o tool_homedir: change GetEnv() to use libcurl's curl_getenv() o tool_util: improve Windows version of tvnow() o travis: update non-OpenSSL Linux jobs to Bionic o url: include the failure reason when curl_win32_idn_to_ascii() fails o urlapi: guess scheme properly with credentials given o urldata: do string enums without #ifdefs for build scripts o vtls: refactor Curl_multissl_version to make the code clearer o win32: USE_WIN32_CRYPTO to enable Win32 based MD4, MD5 and SHA256
2020-01-18*: Recursive revision bump for openssl 1.1.1.jperkin2-4/+4
2020-01-12*: Recursive revbump from devel/boost-libsryoon2-3/+4
2020-01-08curl: Update to 7.68.0leot4-29/+11
pkgsrc changes: - Removes patch-configure hunks applied upstream Changes: 7.68.0 ------ This release includes the following changes: o TLS: add BearSSL vtls implementation o XFERINFOFUNCTION: support CURL_PROGRESSFUNC_CONTINUE o curl: add --etag-compare and --etag-save o curl: add --parallel-immediate o multi: add curl_multi_wakeup() o openssl: CURLSSLOPT_NO_PARTIALCHAIN can disable partial cert chains This release includes the following bugfixes: o CVE-2019-15601: file: on Windows, refuse paths that start with \\ o Azure Pipelines: add several builds o CMake: add support for building with the NSS vtls backend o CURL-DISABLE: initial docs for the CURL_DISABLE_* defines o CURLOPT_HEADERFUNCTION.3: Document that size is always 1 o CURLOPT_QUOTE.3: fix typos o CURLOPT_READFUNCTION.3: fix the example o CURLOPT_URL.3: "curl supports SMB version 1 (only)" o CURLOPT_VERBOSE.3: see also ERRORBUFFER o HISTORY: added cmake, HTTP/3 and parallel downloads with curl o HISTORY: the SMB(S) support landed in 2014 o INSTALL.md: provide Android build instructions o KNOWN_BUGS: Connection information when using TCP Fast Open o KNOWN_BUGS: LDAP on Windows doesn't work correctly o KNOWN_BUGS: TLS session cache doesn't work with TFO o OPENSOCKETFUNCTION.3: correct the purpose description o TrackMemory tests: always remove CR before LF o altsvc: bump to h3-24 o altsvc: make the save function ignore NULL filenames o build: Disable Visual Studio warning "conditional expression is constant" o build: fix for CURL_DISABLE_DOH o checksrc.bat: Add a check for vquic and vssh directories o checksrc: repair the copyrightyear check o cirrus-ci: enable clang sanitizers on freebsd 13 o cirrus: Drop the FreeBSD 10.4 build o config-win32: cpu-machine-OS for Windows on ARM o configure: avoid unportable `==' test(1) operator o configure: enable IPv6 support without `getaddrinfo` o configure: fix typo in help text o conncache: CONNECT_ONLY connections assumed always in-use o conncache: fix multi-thread use of shared connection cache o copyrights: fix copyright year range o create_conn: prefer multiplexing to using new connections o curl -w: handle a blank input file correctly o curl.h: add two missing defines for "pre ISO C" compilers o curl/parseconfig: fix mem-leak o curl/parseconfig: use curl_free() to free memory allocated by libcurl o curl: cleanup multi handle on failure o curl: fix --upload-file . hangs if delay in STDIN o curl: fix -T globbing o curl: improved cleanup in upload error path o curl: make a few char pointers point to const char instead o curl: properly free mimepost data o curl: show better error message when no homedir is found o curl: show error for --http3 if libcurl lacks support o curl_setup_once: consistently use WHILE_FALSE in macros o define: remove HAVE_ENGINE_LOAD_BUILTIN_ENGINES, not used anymore o docs: Change 'experiemental' to 'experimental' o docs: TLS SRP doesn't work with TLS 1.3 o docs: fix several typos o docs: mention CURL_MAX_INPUT_LENGTH restrictions o doh: improved both encoding and decoding o doh: make it behave when built without proxy support o examples/postinmemory.c: Call curl_global_cleanup always o examples/url2file.c: corrected erroneous comment o examples: add multi-poll.c o global_init: undo the "intialized" bump in case of failure o hostip: suppress compiler warning o http_ntlm: Remove duplicate NSS initialisation o lib: Move lib/ssh.h -> lib/vssh/ssh.h o lib: fix compiler warnings with `CURL_DISABLE_VERBOSE_STRINGS` o lib: fix warnings found when porting to NuttX o lib: remove ASSIGNWITHINCONDITION exceptions, use our code style o lib: remove erroneous +x file permission on some c files o libssh2: add support for ECDSA and ed25519 knownhost keys o multi.h: remove INITIAL_MAX_CONCURRENT_STREAMS from public header o multi: free sockhash on OOM o multi_poll: avoid busy-loop when called without easy handles attached o ngtcp2: Support the latest update key callback type o ngtcp2: fix thread-safety bug in error-handling o ngtcp2: free used resources on disconnect o ngtcp2: handle key updates as ngtcp2 master branch tells us o ngtcp2: increase QUIC window size when data is consumed o ngtcp2: use overflow buffer for extra HTTP/3 data o ntlm: USE_WIN32_CRYPTO check removed to get USE_NTLM2SESSION set o ntlm_wb: fix double-free in OOM o openssl: Revert to less sensitivity for SYSCALL errors o openssl: improve error message for SYSCALL during connect o openssl: prevent recursive function calls from ctx callbacks o openssl: retrieve reported LibreSSL version at runtime o openssl: set X509_V_FLAG_PARTIAL_CHAIN by default o parsedate: offer a getdate_capped() alternative o pause: avoid updating socket if done was already called o projects: Fix Visual Studio projects SSH builds o projects: Fix Visual Studio wolfSSL configurations o quiche: reject HTTP/3 headers in the wrong order o remove_handle: clear expire timers after multi_done() o runtests: --repeat=[num] to repeat tests o runtests: introduce --shallow to reduce huge torture tests o schannel: fix --tls-max for when min is --tlsv1 or default o setopt: Fix ALPN / NPN user option when built without HTTP2 o strerror: Add Curl_winapi_strerror for Win API specific errors o strerror: Fix an error looking up some Windows error strings o strerror: Fix compiler warning "empty expression" o system.h: fix for MCST lcc compiler o test/sws: search for "Testno:" header unconditionally if no testno o test1175: verify symbols-in-versions and libcurl-errors.3 in sync o test1270: a basic -w redirect_url test o test1456: remove the use of a fixed local port number o test1558: use double slash after file: o test1560: require IPv6 for IPv6 aware URL parsing o tests/lib1557: fix mem-leak in OOM o tests/lib1559: fix mem-leak in OOM o tests/lib1591: free memory properly on OOM, in the trailers callback o tests/unit1607: fix mem-leak in OOM o tests/unit1609: fix mem-leak in OOM o tests/unit1620: fix bad free in OOM o tests: Change NTLM tests to require SSL o tests: Fix bounce requests with truncated writes o tests: fix build with `CURL_DISABLE_DOH` o tests: fix permissions of ssh keys in WSL o tests: make it possible to set executable extensions o tests: make sure checksrc runs on header files too o tests: set LC_ALL=en_US.UTF-8 instead of blank in several tests o tests: use DoH feature for DoH tests o tests: use \r\n for log messages in WSL o tool_operate: fix mem leak when failed config parse o travis: Fix error detection o travis: abandon coveralls, it is not reliable o travis: build ngtcp2 with --enable-lib-only o travis: export the CC/CXX variables when set o vtls: make BearSSL possible to set with CURL_SSL_BACKEND o winbuild: Define CARES_STATICLIB when WITH_CARES=static o winbuild: Document CURL_STATICLIB requirement for static libcurl This release includes the following known bugs: o see docs/KNOWN_BUGS (https://curl.haxx.se/docs/knownbugs.html)
2019-11-06curl: Update to 7.67.0leot4-23/+42
Changes: 7.67.0 ------ This release includes the following changes: o curl: added --no-progress-meter o setopt: CURLMOPT_MAX_CONCURRENT_STREAMS is new o urlapi: CURLU_NO_AUTHORITY allows empty authority/host part This release includes the following bugfixes: o BINDINGS: five new bindings addded o CURLOPT_TIMEOUT.3: Clarify transfer timeout time includes queue time o CURLOPT_TIMEOUT.3: remove the mention of "minutes" o ESNI: initial build/setup support o FTP: FTPFILE_NOCWD: avoid redundant CWDs o FTP: allow "rubbish" prepended to the SIZE response o FTP: remove trailing slash from path for LIST/MLSD o FTP: skip CWD to entry dir when target is absolute o FTP: url-decode path before evaluation o HTTP3.md: move -p for mkdir, remove -j for make o HTTP3: fix invalid use of sendto for connected UDP socket o HTTP3: fix ngtcp2 Windows build o HTTP3: fix prefix parameter for ngtcp2 build o HTTP3: fix typo somehere1 > somewhere1 o HTTP3: show an --alt-svc using example too o INSTALL: add missing space for configure commands o INSTALL: add vcpkg installation instructions o README: minor grammar fix o altsvc: accept quoted ma and persist values o altsvc: both backends run h3-23 now o appveyor: Add MSVC ARM64 build o appveyor: Use two parallel compilation on appveyor with CMake o appveyor: add --disable-proxy autotools build o appveyor: add 32-bit MinGW-w64 build o appveyor: add a winbuild o appveyor: add a winbuild that uses VS2017 o appveyor: make winbuilds with DEBUG=no/yes and VS 2015/2017 o appveyor: publish artifacts on appveyor o appveyor: upgrade VS2017 to VS2019 o asyn-thread: make use of Curl_socketpair() where available o asyn-thread: s/AF_LOCAL/AF_UNIX for Solaris o build: Remove unused HAVE_LIBSSL and HAVE_LIBCRYPTO defines o checksrc: fix uninitialized variable warning o chunked-encoding: stop hiding the CURLE_BAD_CONTENT_ENCODING error o cirrus: Increase the git clone depth o cirrus: Switch the FreeBSD 11.x build to 11.3 and add a 13.0 build o cirrus: switch off blackhole status on the freebsd CI machines o cleanups: 21 various PVS-Studio warnings o configure: only say ipv6 enabled when the variable is set o configure: remove all cyassl references o conn-reuse: requests wanting NTLM can reuse non-NTLM connections o connect: return CURLE_OPERATION_TIMEDOUT for errno == ETIMEDOUT o connect: silence sign-compare warning o cookie: avoid harmless use after free o cookie: pass in the correct cookie amount to qsort() o cookies: change argument type for Curl_flush_cookies o cookies: using a share with cookies shouldn't enable the cookie engine o copyrights: update copyright notices to 2019 o curl: create easy handles on-demand and not ahead of time o curl: ensure HTTP 429 triggers --retry o curl: exit the create_transfers loop on errors o curl: fix memory leaked by parse_metalink() o curl: load large files with -d @ much faster o docs/HTTP3: fix `--with-ssl` ngtcp2 configure flag o docs: added multi-event.c example o docs: disambiguate CURLUPART_HOST is for host name (ie no port) o docs: note on failed handles not being counted by curl_multi_perform o doh: allow only http and https in debug mode o doh: avoid truncating DNS QTYPE to lower octet o doh: clean up dangling DOH memory on easy close o doh: fix (harmless) buffer overrun o doh: fix undefined behaviour and open up for gcc and clang optimization o doh: return early if there is no time left o examples/sslbackend: fix -Wchar-subscripts warning o examples: remove the "this exact code has not been verified" o git: add tests/server/disabled to .gitignore o gnutls: make gnutls_bye() not wait for response on shutdown o http2: expire a timeout at end of stream o http2: prevent dup'ed handles to send dummy PRIORITY frames o http2: relax verification of :authority in push promise requests o http2_recv: a closed stream trumps pause state o http: lowercase headernames for HTTP/2 and HTTP/3 o ldap: Stop using wide char version of ldapp_err2string o ldap: fix OOM error on missing query string o mbedtls: add error message for cert validity starting in the future o mime: when disabled, avoid C99 macro o ngtcp2: adapt to API change o ngtcp2: compile with latest ngtcp2 + nghttp3 draft-23 o ngtcp2: remove fprintf() calls o openssl: close_notify on the FTP data connection doesn't mean closure o openssl: fix compiler warning with LibreSSL o openssl: use strerror on SSL_ERROR_SYSCALL o os400: getpeername() and getsockname() return ebcdic AF_UNIX sockaddr o parsedate: fix date parsing disabled builds o quiche: don't close connection at end of stream o quiche: persist connection details (fixes -I with --http3) o quiche: set 'drain' when returning without having drained the queues o quiche: update HTTP/3 config creation to new API o redirect: handle redirects to absolute URLs containing spaces o runtests: get textaware info from curl instead of perl o schannel: reverse the order of certinfo insertions o schannel_verify: Fix concurrent openings of CA file o security: silence conversion warning o setopt: handle ALTSVC set to NULL o setopt: make it easier to add new enum values o setopt: store CURLOPT_RTSP_SERVER_CSEQ correctly o smb: check for full size message before reading message details o smbserver: fix Python 3 compatibility o socks: Fix destination host shown on SOCKS5 error o test1162: disable MSYS2's POSIX path conversion o test1591: fix spelling of http feature o tests: add `connect to non-listen` keywords o tests: fix narrowing conversion warnings o tests: fix the test 3001 cert failures o tests: makes tests succeed when using --disable-proxy o tests: use %FILE_PWD for file:// URLs o tests: use port 2 instead of 60000 for a safer non-listening port o tool_operate: Fix retry sleep time shown to user when Retry-After o travis: Add an ARM64 build o url: Curl_free_request_state() should also free doh handles o url: don't set appconnect time for non-ssl/non-ssh connections o url: fix the NULL hostname compiler warning o url: normalize CURLINFO_EFFECTIVE_URL o url: only reuse TLS connections with matching pinning o urlapi: avoid index underflow for short ipv6 hostnames o urlapi: fix URL encoding when setting a full URL o urlapi: fix unused variable warning o urlapi: question mark within fragment is still fragment o urldata: use 'bool' for the bit type on MSVC compilers o vtls: Fix comment typo about macosx-version-min compiler flag o vtls: fix narrowing conversion warnings o winbuild/MakefileBuild.vc: Add vssh o winbuild/MakefileBuild.vc: Fix line endings o winbuild: Add manifest to curl.exe for proper OS version detection o winbuild: add ENABLE_UNICODE option
2019-09-18curl: http2 is now a suggested option; bump revisionadam2-3/+4