85 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
leot
|
c1b39a1042 |
curl: Update to 7.68.0
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) |
||
leot
|
73245a3a29 |
curl: Update to 7.67.0
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 |
||
leot
|
c4306ad855 |
curl: Update patch-configure comment to reflect current status
(Should be part of previous commit, sorry.) |
||
leot
|
322c8d40d5 |
curl: Update to 7.65.0
pkgsrc changes: - Remove patch-configure test(1) `==' -> `=' hunk applied upstream Changes: 7.65.0 ------ This release includes the following changes: o CURLOPT_DNS_USE_GLOBAL_CACHE: removed o CURLOPT_MAXAGE_CONN: set the maximum allowed age for conn reuse o pipelining: removed This release includes the following bugfixes: o CVE-2019-5435: Integer overflows in curl_url_set o CVE-2019-5436: tftp: use the current blksize for recvfrom() o --config: clarify that initial : and = might need quoting o AppVeyor: enable testing for WinSSL build o CURLMOPT_TIMERFUNCTION.3: warn about the recursive risk o CURLOPT_ADDRESS_SCOPE: fix range check and more o CURLOPT_CAINFO.3: with Schannel, you want Windows 8 or later o CURLOPT_CHUNK_BGN_FUNCTION.3: document the struct and time value o CURLOPT_READFUNCTION.3: see also CURLOPT_UPLOAD_BUFFERSIZE o CURL_MAX_INPUT_LENGTH: largest acceptable string input size o Curl_disconnect: treat all CONNECT_ONLY connections as "dead" o INTERNALS: Add code highlighting o OS400/ccsidcurl: replace use of Curl_vsetopt o OpenSSL: Report -fips in version if OpenSSL is built with FIPS o README.md: fix no-consecutive-blank-lines Codacy warning o VC15 project: remove MinimalRebuild o VS projects: use Unicode for VC10+ o WRITEFUNCTION: add missing set_in_callback around callback o altsvc: Fix building with cookies disabled o auth: Rename the various authentication clean up functions o base64: build conditionally if there are users o build-openssl.bat: Fixed support for OpenSSL v1.1.0+ o build: fix "clarify calculation precedence" warnings o checksrc.bat: ignore snprintf warnings in docs/examples o cirrus: Customize the disabled tests per FreeBSD version o cleanup: remove FIXME and TODO comments o cmake: avoid linking executable for some tests with cmake 3.6+ o cmake: clear CMAKE_REQUIRED_LIBRARIES after each use o cmake: rename CMAKE_USE_DARWINSSL to CMAKE_USE_SECTRANSP o cmake: set SSL_BACKENDS o configure: avoid unportable `==' test(1) operator o configure: error out if OpenSSL wasn't detected when asked for o configure: fix default location for fish completions o cookie: Guard against possible NULL ptr deref o curl: make code work with protocol-disabled libcurl o curl: report error for "--no-" on non-boolean options o curl_easy_getinfo.3: fix minor formatting mistake o curlver.h: use parenthesis in CURL_VERSION_BITS macro o docs/BUG-BOUNTY: bug bounty time o docs/INSTALL: fix broken link o docs/RELEASE-PROCEDURE: link to live iCalendar o documentation: Fix several typos o doh: acknowledge CURL_DISABLE_DOH o doh: disable DOH for the cases it doesn't work o examples: remove unused variables o ftplistparser: fix LGTM alert "Empty block without comment" o hostip: acknowledge CURL_DISABLE_SHUFFLE_DNS o http: Ignore HTTP/2 prior knowledge setting for HTTP proxies o http: acknowledge CURL_DISABLE_HTTP_AUTH o http: mark bundle as not for multiuse on < HTTP/2 response o http_digest: Don't expose functions when HTTP and Crypto Auth are disabled o http_negotiate: do not treat failure of gss_init_sec_context() as fatal o http_ntlm: Corrected the name of the include guard o http_ntlm_wb: Handle auth for only a single request o http_ntlm_wb: Return the correct error on receiving an empty auth message o lib509: add missing include for strdup o lib557: initialize variables o makedebug: Fix ERRORLEVEL detection after running where.exe o mbedtls: enable use of EC keys o mime: acknowledge CURL_DISABLE_MIME o multi: improved HTTP_1_1_REQUIRED handling o netrc: acknowledge CURL_DISABLE_NETRC o nss: allow fifos and character devices for certificates o nss: provide more specific error messages on failed init o ntlm: Fix misaligned function comments for Curl_auth_ntlm_cleanup o ntlm: Support the NT response in the type-3 when OpenSSL doesn't include MD4 o openssl: mark connection for close on TLS close_notify o openvms: Remove pre-processor for SecureTransport o openvms: Remove pre-processors for Windows o parse_proxy: use the URL parser API o parsedate: disabled on CURL_DISABLE_PARSEDATE o pingpong: disable more when no pingpong protocols are enabled o polarssl_threadlock: remove conditionally unused code o progress: acknowledge CURL_DISABLE_PROGRESS_METER o proxy: acknowledge DISABLE_PROXY more o resolve: apply Happy Eyeballs philosophy to parallel c-ares queries o revert "multi: support verbose conncache closure handle" o sasl: Don't send authcid as authzid for the PLAIN mechanism as per RFC 4616 o sasl: only enable if there's a protocol enabled using it o scripts: fix typos o singleipconnect: show port in the verbose "Trying ..." message o smtp: fix compiler warning o socks5: user name and passwords must be shorter than 256 o socks: fix error message o socksd: new SOCKS 4+5 server for tests o spnego_gssapi: fix return code on gss_init_sec_context() failure o ssh-libssh: remove unused variable o ssh: define USE_SSH if SSH is enabled (any backend) o ssh: move variable declaration to where it's used o test1002: correct the name o test2100: Fix typos in test description o tests/server/util: fix Windows Unicode build o tests: Run global cleanup at end of tests o tests: make Impacket (SMB server) Python 3 compatible o tool_cb_wrt: fix bad-function-cast warning o tool_formparse: remove redundant assignment o tool_help: Warn if curl and libcurl versions do not match o tool_help: include <strings.h> for strcasecmp o transfer: fix LGTM alert "Comparison is always true" o travis: add an osx http-only build o travis: allow builds on branches named "ci" o travis: install dependencies only when needed o travis: update some builds do Xenial o travis: updated mesalink builds o url: always clone the CUROPT_CURLU handle o url: convert the zone id from a IPv6 URL to correct scope id o urlapi: add CURLUPART_ZONEID to set and get o urlapi: increase supported scheme length to 40 bytes o urlapi: require a non-zero host name length when parsing URL o urlapi: stricter CURLUPART_PORT parsing o urlapi: strip off zone id from numerical IPv6 addresses o urlapi: urlencode characters above 0x7f correctly o vauth/cleartext: update the PLAIN login to match RFC 4616 o vauth/oauth2: Fix OAUTHBEARER token generation o vauth: Fix incorrect function description for Curl_auth_user_contains_domain o vtls: fix potential ssl_buffer stack overflow o wildcard: disable from build when FTP isn't present o winbuild: Support MultiSSL builds o xattr: skip unittest on unsupported platforms |
||
leot
|
ecb6a05128 |
curl: Update to 7.64.1
pkgsrc changes: - No longer install MANUAL, it is no longer available - Remove patch-lib_hostcheck.c, <netinet/in.h> is already included few lines before - Take MAINTAINERSHIP Changes: 7.64.1 ====== This release includes the following changes: o alt-svc: experiemental support added [74] o configure: add --with-amissl [84] This release includes the following bugfixes: o AppVeyor: add MinGW-w64 and classic Mingw builds [55] o AppVeyor: switch VS 2015 builds to VS 2017 image [49] o CURLU: fix NULL dereference when used over proxy [73] o Curl_easy: remove req.maxfd - never used! [58] o Curl_now: figure out windows version in win32_init: [11] o Curl_resolv: fix a gcc -Werror=maybe-uninitialized warning [20] o DoH: inherit some SSL options from user's easy handle [80] o Secure Transport: no more "darwinssl" [56] o Secure Transport: tvOS 11 is required for ALPN support [94] o cirrus: Added FreeBSD builds using Cirrus CI o cleanup: make local functions static [5] o cli tool: do not use mime.h private structures [27] o cmdline-opts/proxytunnel.d: the option tunnnels all protocols [83] o configure: add additional libraries to check for LDAP support [45] o configure: remove the unused fdopen macro [40] o configure: show features as well in the final summary [15] o conncache: use conn->data to know if a transfer owns it [95] o connection: never reuse CONNECT_ONLY connections [35] o connection_check: restore original conn->data after the check [14] o connection_check: set ->data to the transfer doing the check [3] o cookie: Add support for cookie prefixes [29] o cookies: dotless names can set cookies again [81] o cookies: fix NULL dereference if flushing cookies with no CookieInfo set [47] o curl.1: --user and --proxy-user are hidden from ps output [86] o curl.1: mark the argument to --cookie as <data|filename> [87] o curl.h: use __has_declspec_attribute for shared builds [52] o curl: display --version features sorted alphabetically [51] o curl: fix FreeBSD compiler warning in the --xattr code [2] o curl: remove MANUAL from -M output [38] o curl_easy_duphandle.3: clarify that a duped handle has no shares [64] o curl_multi_remove_handle.3: use at any time, just not from within callbacks o curl_url.3: this API is not experimental anymore o dns: release sharelock as soon as possible [1] o docs: update max-redirs.d phrasing [59] o easy: fix win32 init to work without CURL_GLOBAL_WIN32 [30] o examples/10-at-a-time.c: improve readability and simplify o examples/cacertinmem.c: use multiple certificates for loading CA-chain [54] o examples/crawler: Fix the Accept-Encoding setting o examples/ephiperfifo.c: various fixes [63] o examples/externalsocket: add missing close socket calls [78] o examples/http2-download: cleaned up o examples/http2-serverpush: add some sensible error checks [31] o examples/http2-upload: cleaned up o examples/httpcustomheader: Value stored to 'res' is never read o examples/postinmemory: Potential leak of memory pointed to by 'chunk.memory' o examples/sftpuploadresume: Value stored to 'result' is never read o examples: only include <curl/curl.h> [70] o examples: remove recursive calls to curl_multi_socket_action [42] o examples: remove superfluous null-pointer checks o file: fix "Checking if unsigned variable 'readcount' is less than zero." [90] o fnmatch: disable if FTP is disabled [25] o gnutls: remove call to deprecated gnutls_compression_get_name [66] o gopher: remove check for path == NULL [69] o gssapi: fix deprecated header warnings [16] o hostip: make create_hostcache_id avoid alloc + free [4] o http2: multi_connchanged() moved from multi.c, only used for h2 [21] o http2: verify :athority in push promise requests [37] o http: make adding a blank header thread-safe [33] o http: send payload when (proxy) authentication is done [89] o http: set state.infilesize when sending multipart formposts [57] o makefile: make checksrc and hugefile commands "silent" [85] o mbedtls: make it build even if MBEDTLS_VERSION_C isn't set [24] o mbedtls: release sessionid resources on error [28] o memdebug: log pointer before freeing its data [91] o memdebug: make debug-specific functions use curl_dbg_ prefix [82] o mime: put the boundary buffer into the curl_mime struct [18] o multi: call multi_done on connect timeouts, fixes CURLINFO_TOTAL_TIME [43] o multi: remove verbose "Expire in" ... messages [23] o multi: removed unused code for request retries [79] o multi: support verbose conncache closure handle [72] o negotiate: fix for HTTP POST with Negotiate [88] o openssl: add support for TLS ASYNC state [46] o openssl: if cert type is ENG and no key specified, key is ENG too [93] o pretransfer: don't strlen() POSTFIELDS set for GET requests [22] o rand: Fix a mismatch between comments in source and header [32] o runtests: detect "schannel" as an alias for "winssl" [50] o schannel: be quiet - remove verbose output [19] o schannel: close TLS before removing conn from cache [10] o schannel: support CALG_ECDH_EPHEM algorithm [44] o scripts/completion.pl: also generate fish completion file [67] o singlesocket: fix the 'sincebefore' placement [36] o source: fix two 'nread' may be used uninitialized warnings [68] o ssh: fix Condition '!status' is always true [60] o ssh: loop the state machine if not done and not blocking [71] o strerror: make the strerror function use local buffers [48] o system_win32: move win32_init here from easy.c [65] o test578: make it read data from the correct test o tests: Fixed XML validation errors in some test files o tests: add stderr comparison to the test suite [26] o tests: fix multiple may be used uninitialized warnings o threaded-resolver: shutdown the resolver thread without error message [61] o tool_cb_wrt: fix writing to Windows null device NUL [96] o tool_getpass: termios.h is present on AmigaOS 3, but no tcgetattr/tcsetattr [84] o tool_operate: build on AmigaOS [84] o tool_operate: fix typecheck warning [9] o transfer.c: do not compute length of undefined hex buffer o travis: add build using gnutls [75] o travis: add scan-build [13] o travis: bump the used wolfSSL version to 4.0.0 [92] o travis: enable valgrind for the iconv tests [12] o travis: use updated compiler versions: clang 7 and gcc 8 [77] o unit1307: require FTP support [17] o unit1651: survive curl_easy_init() fails o url/idnconvert: remove scan for <= 32 ascii values [6] o url: change conn shutdown order to ensure SOCKETFUNCTION callbacks [39] o urlapi: reduce variable scope, remove unreachable 'break' [7] o urldata: convert bools to bitfields and move to end [53] o urldata: simplify bytecounters [62] o urlglob: Argument with 'nonnull' attribute passed null o version.c: silent scan-build even when librtmp is not enabled o vtls: rename some of the SSL functions [84] o wolfssl: stop custom-adding curves [41] o x509asn1: "Dereference of null pointer" o x509asn1: cleanup and unify code layout [34] o zsh.pl: escape ':' character [8] o zsh.pl: update regex to better match curl -h output [8] |
||
leot
|
24ddba69a4 |
curl: Update www/curl to 7.63.0
pkgsrc changes: - Remove no longer needed patch-lib_connect.c: imported upstream Changes: 7.63.0 ------ This release includes the following changes: o curl: add %{stderr} and %{stdout} for --write-out o curl: add undocumented option --dump-module-paths for win32 o setopt: add CURLOPT_CURLU This release includes the following bugfixes: o (lib)curl.rc: fixup for minor bugs o CURLINFO_REDIRECT_URL: extract the Location: header field unvalidated o CURLOPT_HEADERFUNCTION.3: match 'nitems' name in synopsis and description o CURLOPT_WRITEFUNCTION.3: spell out that it gets called many times o Curl_follow: accept non-supported schemes for "fake" redirects o KNOWN_BUGS: add --proxy-any connection issue o NTLM: Remove redundant ifdef USE_OPENSSL o NTLM: force the connection to HTTP/1.1 o OS400: add URL API ccsid wrappers and sync ILE/RPG bindings o SECURITY-PROCESS: bountygraph shuts down again o TODO: Have the URL API offer IDN decoding o ares: remove fd from multi fd set when ares is about to close the fd o axtls: removed o checksrc: add COPYRIGHTYEAR check o cmake: fix MIT/Heimdal Kerberos detection o configure: include all libraries in ssl-libs fetch o configure: show CFLAGS, LDFLAGS etc in summary o connect: fix building for recent versions of Minix o cookies: create the cookiejar even if no cookies to save o cookies: expire "Max-Age=0" immediately o curl: --local-port range was not "including" o curl: fix --local-port integer overflow o curl: fix memory leak reading --writeout from file o curl: fixed UTF-8 in current console code page (Windows) o curl_easy_perform: fix timeout handling o curl_global_sslset(): id == -1 is not necessarily an error o curl_multibyte: fix a malloc overcalculation o curle: move deprecated error code to ifndef block o docs: curl_formadd field and file names are now escaped o docs: escape "\n" codes o doh: fix memory leak in OOM situation o doh: make it work for h2-disabled builds too o examples/ephiperfifo: report error when epoll_ctl fails o ftp: avoid two unsigned int overflows in FTP listing parser o host names: allow trailing dot in name resolve, then strip it o http2: Upon HTTP_1_1_REQUIRED, retry the request with HTTP/1.1 o http: don't set CURLINFO_CONDITION_UNMET for http status code 204 o http: fix HTTP Digest auth to include query in URI o http_negotiate: do not close connection until negotiation is completed o impacket: add LICENSE o infof: clearly indicate truncation o ldap: fix LDAP URL parsing regressions o libcurl: stop reading from paused transfers o mprintf: avoid unsigned integer overflow warning o netrc: don't ignore the login name specified with "--user" o nss: Fall back to latest supported SSL version o nss: Fix compatibility with nss versions 3.14 to 3.15 o nss: fix fallthrough comment to fix picky compiler warning o nss: remove version selecting dead code o nss: set default max-tls to 1.3/1.2 o openssl: Remove SSLEAY leftovers o openssl: do not log excess "TLS app data" lines for TLS 1.3 o openssl: do not use file BIOs if not requested o openssl: fix unused variable compiler warning with old openssl o openssl: support session resume with TLS 1.3 o openvms: fix example name o os400: Add curl_easy_conn_upkeep() to ILE/RPG binding o os400: add CURLOPT_CURLU to ILE/RPG binding o os400: fix return type of curl_easy_pause() in ILE/RPG binding o packages: remove old leftover files and dirs o pop3: only do APOP with a valid timestamp o runtests: use the local curl for verifying o schannel: be consistent in Schannel capitalization o schannel: better CURLOPT_CERTINFO support o schannel: use Curl_ prefix for global private symbols o snprintf: renamed and we now only use msnprintf() o ssl: fix compilation with OpenSSL 0.9.7 o ssl: replace all internal uses of CURLE_SSL_CACERT o symbols-in-versions: add missing CURLU_ symbols o test328: verify Content-Encoding: none o tests: disable SO_EXCLUSIVEADDRUSE for stunnel on Windows o tests: drop http_pipe.py script no longer used o tool_cb_wrt: Silence function cast compiler warning o tool_doswin: Fix uninitialized field warning o travis: build with clang sanitizers o travis: remove curl before a normal build o url: a short host name + port is not a scheme o url: fix IPv6 numeral address parser o urlapi: only skip encoding the first '=' with APPENDQUERY set This release includes the following known bugs: o see docs/KNOWN_BUGS (https://curl.haxx.se/docs/knownbugs.html) This release would not have looked like this without help, code, reports and advice from friends like these: Alessandro Ghedini, Alexey Melnichuk, Antoni Villalonga, Ben Greear, bobmitchell1956 on github, Brad King, Brian Carpenter, daboul on github, Daniel Gustafsson, Daniel Stenberg, Dave Reisner, David Benjamin, Dheeraj Sangamkar, dtmsecurity on github, Elia Tufarolo, Frank Gevaerts, Gergely Nagy, Gisle Vanem, Hagai Auro, Han Han, infinnovation-dev on github, James Knight, Jérémy Rocher, Jeroen Ooms, Jim Fuller, Johannes Schindelin, Kamil Dudka, Konstantin Kushnir, Marcel Raad, Marc Hörsken, Marcos Diazr, Michael Kaufmann, NTMan on Github, Patrick Monnerat, Paul Howarth, Pavel Pavlov, Peter Wu, Ray Satiro, Rod Widdowson, Romain Fliedel, Samuel Surtees, Sevan Janiyan, Stefan Kanthak, Sven Blumenstein, Tim Rühsen, Tobias Hintze, Tomas Hoger, tonystz on Github, tpaukrt on github, Viktor Szakats, Yasuhiro Matsumoto, (51 contributors) Thanks! (and sorry if I forgot to mention someone) |
||
sevan
|
b899081514 | Support Minix | ||
wiz
|
dd0b974eb1 |
curl: update to 7.61.1.
This release includes the following bugfixes: o security advisory (CVE-2018-14618): NTLM password overflow via integer overflow [73] o CURLINFO_SIZE_UPLOAD: fix missing counter update [46] o CURLOPT_ACCEPT_ENCODING.3: list them comma-separated o CURLOPT_SSL_CTX_FUNCTION.3: might cause accidental connection reuse [72] o Curl_getoff_all_pipelines: improved for multiplexed [3] o DEPRECATE: remove release date from 7.62.0 o HTTP: Don't attempt to needlessly decompress redirect body [30] o INTERNALS: require GnuTLS >= 2.11.3 [62] o README.md: add LGTM.com code quality grade for C/C++ [42] o SSLCERTS: improve the openssl command line o Silence GCC 8 cast-function-type warnings [47] o ares: check for NULL in completed-callback [3] o asyn-thread: Remove unused macro [40] o auth: only pick CURLAUTH_BEARER if we *have* a Bearer token [15] o auth: pick Bearer authentication whenever a token is available [15] o cmake: CMake config files are defining CURL_STATICLIB for static builds [54] o cmake: Respect BUILD_SHARED_LIBS [35] o cmake: Update scripts to use consistent style [9] o cmake: bumped minimum version to 3.4 [34] o cmake: link curl to the OpenSSL targets instead of lib absolute paths [34] o configure: conditionally enable pedantic-errors [64] o configure: fix for -lpthread detection with OpenSSL and pkg-config [38] o conn: remove the boolean 'inuse' field [3] o content_encoding: accept up to 4 unknown trailer bytes after raw deflate data [5] o cookie tests: treat files as text o cookies: support creation-time attribute for cookies [75] o curl: Fix segfault when -H @headerfile is empty [23] o curl: add http code 408 to transient list for --retry [78] o curl: fix time-of-check, time-of-use race in dir creation [71] o curl: use Content-Disposition before the "URL end" for -OJ [29] o curl: warn the user if a given file name looks like an option [56] o curl_threads: silence bad-function-cast warning [69] o darwinssl: add support for ALPN negotiation [7] o docs/CURLOPT_URL: fix indentation [20] o docs/CURLOPT_WRITEFUNCTION: size is always 1 [19] o docs/SECURITY-PROCESS: mention bounty, drop pre-notify o docs/examples: add hiperfifo example using linux epoll/timerfd [21] o docs: add disallow-username-in-url.d and haproxy-protocol.d to dist [50] o docs: clarify NO_PROXY env variable functionality [70] o docs: improved the manual pages of some callbacks [48] o docs: mention NULL is fine input to several functions [43] o formdata: Remove unused macro HTTPPOST_CONTENTTYPE_DEFAULT [40] o gopher: Do not translate `?' to `%09' [67] o header output: switch off all styles, not just unbold [8] o hostip: fix unused variable warning o http2: Use correct format identifier for stream_id [77] o http2: abort the send_callback if not setup yet [63] o http2: avoid set_stream_user_data() before stream is assigned [61] o http2: check nghttp2_session_set_stream_user_data return code [55] o http2: clear the drain counter in Curl_http2_done [27] o http2: make sure to send after RST_STREAM [58] o http2: separate easy handle from connections better [12] o http: fix for tiny "HTTP/0.9" response [51] o http_proxy: Remove unused macro SELECT_TIMEOUT [40] o lib/Makefile: only do symbol hiding if told to [32] o lib1502: fix memory leak in torture test [44] o lib1522: fix curl_easy_setopt argument type o libcurl-thread.3: expand somewhat on the NO_SIGNAL motivation [66] o mime: check Curl_rand_hex's return code [22] o multi: always do the COMPLETED procedure/state [3] o openssl: assume engine support in 1.0.0 or later [2] o openssl: fix debug messages [39] o projects: Improve Windows perl detection in batch scripts [49] o retry: return error if rewind was necessary but didn't happen [28] o reuse_conn(): memory leak - free old_conn->options [17] o schannel: client certificate store opening fix [68] o schannel: enable CALG_TLS1PRF for w32api >= 5.1 o schannel: fix MinGW compile break [1] o sftp: don't send post-qoute sequence when retrying a connection [79] o smb: fix memory leak on early failure [26] o smb: fix memory-leak in URL parse error path [4] o smb_getsock: always wait for write socket too [11] o ssh-libssh: fix infinite connect loop on invalid private key [53] o ssh-libssh: reduce excessive verbose output about pubkey auth [53] o ssh-libssh: use FALLTHROUGH to silence gcc8 [76] o ssl: set engine implicitly when a PKCS#11 URI is provided [36] o sws: handle EINTR when calling select() [24] o system_win32: fix version checking [16] o telnet: Remove unused macros TELOPTS and TELCMDS [40] o test1143: disable MSYS2's POSIX path conversion [10] o test1148: disable if decimal separator is not point [65] o test1307: (fnmatch testing) disabled [31] o test1422: add required file feature [6] o test1531: Add timeout [41] o test1540: Remove unused macro TEST_HANG_TIMEOUT [40] o test214: disable MSYS2's POSIX path conversion for URL o test320: treat curl320.out file as binary [14] o tests/http_pipe.py: Use /usr/bin/env to find python o tests: Don't use Windows path %PWD for SSH tests [74] o tests: fixes for Windows line endlings [13] o tool_operate: Fix setting proxy TLS 1.3 ciphers o travis: build darwinssl on macos 10.12 to fix linker errors [33] o travis: execute "set -eo pipefail" for coverage build [45] o travis: run a 'make checksrc' too [25] o travis: update to GCC-8 [52] o travis: verify that man pages can be regenerated [50] o upload: allocate upload buffer on-demand [60] o upload: change default UPLOAD_BUFSIZE to 64KB [60] o urldata: remove unused pipe_broke struct field [57] o vtls: reinstantiate engine on duplicated handles [59] o windows: implement send buffer tuning [37] o wolfSSL/CyaSSL: Fix memory leak in Curl_cyassl_random [18] |
||
wiz
|
0423f6acbb |
curl: fix a regression with -O -J in 7.61.0 using upstream patch.
Bump PKGREVISION. |
||
wiz
|
ef8521436c |
curl: update to 7.58.0.
This release includes the following changes: o new libssh-powered SSH SCP/SFTP back-end o curl-config: add --ssl-backends [10] This release includes the following bugfixes: o http2: fix incorrect trailer buffer size [40] o http: prevent custom Authorization headers in redirects [55] o travis: add boringssl build [1] o examples/xmlstream.c: don't switch off CURL_GLOBAL_SSL [2] o SSL: Avoid magic allocation of SSL backend specific data [3] o lib: don't export all symbols, just everything curl_* [4] o libssh2: send the correct CURLE error code on scp file not found o libssh2: return CURLE_UPLOAD_FAILED on failure to upload o openssl: enable pkcs12 in boringssl builds [5] o libssh2: remove dead code from SSH_SFTP_QUOTE [6] o sasl_getmesssage: make sure we have a long enough string to pass [7] o conncache: fix several lock issues [8] o threaded-shared-conn.c: new example o conncache: only allow multiplexing within same multi handle [9] o configure: check for netinet/in6.h [11] o URL: tolerate backslash after drive letter for FILE: [12] o openldap: add commented out debug possibilities [13] o include: get netinet/in.h before linux/tcp.h [14] o CONNECT: keep close connection flag in http_connect_state struct [15] o BINDINGS: another PostgreSQL client o curl: limit -# update frequency for unknown total size [16] o configure: add AX_CODE_COVERAGE only if using gcc [17] o curl.h: remove incorrect comment about ERRORBUFFER o openssl: improve data-pending check for https proxy [18] o curl: remove __EMX__ #ifdefs [19] o CURLOPT_PRIVATE.3: fix grammar [20] o sftp: allow quoted commands to use relative paths [21] o CURLOPT_DNS_CACHE_TIMEOUT.3: see also CURLOPT_RESOLVE o RESOLVE: output verbose text when trying to set a duplicate name o openssl: Disable file buffering for Win32 SSLKEYLOGFILE [22] o multi_done: prune DNS cache [23] o tests: update .gitignore for libtests o tests: mark data files as non-executable in git o CURLOPT_DNS_LOCAL_IP4.3: fixed the "SEE ALSO" to not self-reference o curl.1: documented two missing valid exit codes o curl.1: mention http:// and https:// as valid proxy prefixes o vtls: replaced getenv() with curl_getenv() [24] o setopt: less *or equal* than INT_MAX/1000 should be fine [25] o examples/smtp-mail.c: use separate defines for options and mail o curl: support >256 bytes warning messsages [26] o conncache: fix a return code o krb5: fix a potential access of uninitialized memory o rand: add a clang-analyzer work-around o CURLOPT_READFUNCTION.3: refer to argument with correct name [27] o brotli: allow compiling with version 0.6.0 o content_encoding: rework zlib_inflate [28] o curl_easy_reset: release mime-related data [29] o examples/rtsp: fix error handling macros [30] o build-openssl.bat: Added support for VC15 o build-wolfssl.bat: Added support for VC15 o build: Added Visual Studio 2017 project files o winbuild: Added support for VC15 o curl: Support size modifiers for --max-filesize [32] o examples/cacertinmem: ignore cert-already-exists error [33] o brotli: data at the end of content can be lost [34] o curl_version_info.3: call the argument 'age' [35] o openssl: fix memory leak of SSLKEYLOGFILE filename o build: remove HAVE_LIMITS_H check [36] o --mail-rcpt: fix short-text description o scripts: allow all perl scripts to be run directly [37] o progress: calculate transfer speed on milliseconds if possible [38] o system.h: check __LONG_MAX__ for defining curl_off_t [31] o easy: fix connection ownership in curl_easy_pause [39] o setopt: reintroduce non-static Curl_vsetopt() for OS400 support [41] o setopt: fix SSLVERSION to allow CURL_SSLVERSION_MAX_ values [42] o configure.ac: append extra linker flags instead of prepending them [43] o HTTP: bail out on negative Content-Length: values [44] o docs: comment about CURLE_READ_ERROR returned by curl_mime_filedata o mime: clone mime tree upon easy handle duplication [45] o openssl: enable SSLKEYLOGFILE support by default [46] o smtp/pop3/imap_get_message: decrease the data length too... [47] o CURLOPT_TCP_NODELAY.3: fix typo [48] o SMB: fix numeric constant suffix and variable types [49] o ftp-wildcard: fix matching an empty string with "*[^a]" [50] o curl_fnmatch: only allow 5 '*' sections in a single pattern o openssl: fix potential memory leak in SSLKEYLOGFILE logic o SSH: Fix state machine for ssh-agent authentication [51] o examples/url2file.c: add missing curl_global_cleanup() call [52] o http2: don't close connection when single transfer is stopped [53] o libcurl-env.3: first version o curl: progress bar refresh, get width using ioctl() [54] o CONNECT_TO: fail attempt to set an IPv6 numerical without IPv6 support [56] |
||
jperkin
|
1c6f5ce7cf | curl: Don't strip out user-supplied debug flags. | ||
adam
|
309910d715 |
Curl and libcurl 7.55.1
This release includes the following bugfixes: o build: fix 'make install' with configure, install docs/libcurl/* too o make install: add 8 missing man pages to the installation o curl: do bounds check using a double comparison [1] o dist: Add dictserver.py/negtelnetserver.py to release [2] o digest_sspi: Don't reuse context if the user/passwd has changed [3] o gitignore: ignore top-level .vs folder [4] o build: check out *.sln files with Windows line endings [5] o travis: verify "make install" [6] o dist: fix the cmake build by shipping cmake_uninstall.cmake.in too [7] o metalink: fix error: ‘*’ in boolean context, suggest ‘&&’ instead o configure: use the threaded resolver backend by default if possible [8] o mkhelp.pl: allow executing this script directly [9] o maketgz: remove old *.dist files before making the tarball [10] o openssl: remove CONST_ASN1_BIT_STRING [11] o openssl: fix "error: this statement may fall through" o proxy: fix memory leak in case of invalid proxy server name [12] o curl/system.h: support more architectures (OpenRISC, ARC) [13] o docs: fix typos [14] o curl/system.h: add Oracle Solaris Studio [15] o CURLINFO_TOTAL_TIME: could wrongly return 4200 seconds [16] o docs: --connect-to clarified o cmake: allow user to override CMAKE_DEBUG_POSTFIX [17] o travis: test cmake build on tarball too o redirect: make it handle absolute redirects to IDN names [18] o curl/system.h: fix for gcc on PowerPC [19] o curl --interface: fixed for IPV6 unique local addresses [20] o cmake: threads detection improvements [21] |
||
wiz
|
cd7c32518d |
Updated curl to 7.55.0.
Curl and libcurl 7.55.0 Public curl releases: 167 Command line options: 210 curl_easy_setopt() options: 247 Public functions in libcurl: 61 Contributors: 1571 This release includes the following changes: o curl: allow --header and --proxy-header read from file [7] o getinfo: provide sizes as curl_off_t [6] o curl: prevent binary output spewed to terminal [16] o curl: added --request-target [22] o libcurl: added CURLOPT_REQUEST_TARGET [22] o curl: added --socks5-{basic,gssapi}: control socks5 auth [30] o libcurl: added CURLOPT_SOCKS5_AUTH [30] This release includes the following bugfixes: o glob: do not parse after a strtoul() overflow range (CVE-2017-1000101) [85] o tftp: reject file name lengths that don't fit (CVE-2017-1000100) [84] o file: output the correct buffer to the user (CVE-2017-1000099) [83] o includes: remove curl/curlbuild.h and curl/curlrules.h [1] o dist: make the hugehelp.c not get regenerated unnecessarily [2] o timers: store internal time stamps as time_t instead of doubles [3] o progress: let "current speed" be UL + DL speeds combined [4] o http-proxy: do the HTTP CONNECT process entirely non-blocking [5] o lib/curl_setup.h: remove CURL_WANTS_CA_BUNDLE_ENV [8] o fuzz: bring oss-fuzz initial code converted to C89 [10] o configure: disable nghttp2 too if HTTP has been disabled o mk-ca-bundle.pl: Check curl's exit code after certdata download [11] o test1148: verify the -# progressbar [12] o tests: stabilize test 2032 and 2033 [13] o HTTPS-Proxy: don't offer h2 for https proxy connections [14] o http-proxy: only attempt FTP over HTTP proxy [9] o curl-compilers.m4: enable vla warning for clang [15] o curl-compilers.m4: enable double-promotion warning [15] o curl-compilers.m4: enable missing-variable-declarations clang warning [15] o curl-compilers.m4: enable comma clang warning [15] o Makefile.m32: enable -W for MinGW32 build [15] o CURLOPT_PREQUOTE: not supported for SFTP [17] o http2: fix OOM crash o PIPELINING_SERVER_BL: cleanup the internal list use [18] o mkhelp.pl: fix script name in usage text o lib1521: add curl_easy_getinfo calls to the test set o travis: do the distcheck test build out-of-tree as well o if2ip: fix compiler warning in ISO C90 mode o lib: fix the djgpp build [19] o typecheck-gcc: add support for CURLINFO_OFF_T [20] o travis: enable typecheck-gcc warnings [21] o maketgz: switch to xz instead of lzma [23] o CURLINFO_REDIRECT_URL.3: mention the CURLOPT_MAXREDIRS case o curl-compilers.m4: fix unknown-warning-option on Apple clang [24] o winbuild: fix boringssl build [25] o curl/system.h: add check for XTENSA for 32bit gcc [26] o test1537: fixed memory leak on OOM o test1521: fix compiler warnings [27] o curl: fix memory leak on test 1147 OOM [28] o libtest/make: generate lib1521.c dynamically at build-time [29] o curl_strequal.3: fix typo in SYNOPSIS [31] o progress: prevent resetting t_starttransfer [32] o openssl: improve fallback seed of PRNG with a time based hash [33] o http2: improved PING frame handling [34] o test1450: add simple testing for DICT [35] o make: build the docs subdir only from within src [36] o cmake: Added compatibility options for older Windows versions [37] o gtls: fix build when sizeof(long) < sizeof(void *) [38] o url: make the original string get used on subsequent transfers [39] o timeval.c: Use long long constant type for timeval assignment [40] o tool_sleep: typecast to avoid macos compiler warning o travis.yml: use --enable-werror on debug builds [41] o test1451: add SMB support to the testbed [42] o configure: remove checks for 5 functions never used [43] o configure: try ldap/lber in reversed order first [44] o smb: fix build for djgpp/MSDOS [45] o travis: install nghttp2 on linux builds [46] o smb: add support for CURLOPT_FILETIME [47] o cmake: fix send/recv argument scanner for windows [48] o inet_pton: fix include on windows to get prototype [49] o select.h: avoid macro redefinition harder o cmake: if inet_pton is used, bump _WIN32_WINNT o asyn-thread.c: fix unused variable warnings on macOS o runtests: support "threaded-resolver" as a feature o test506: skip if threaded-resolver o cmake: remove spurious "-l" from linker flags [50] o cmake: add CURL_WERROR for enabling "warning as errors" o memdebug: don't setbuf() if the file open failed [51] o curl_easy_escape.3: mention the (lack of) encoding [52] o test1452: add telnet negotiation [53] o CURLOPT_POSTFIELDS.3: explain the 100-continue magic better o cmake: offer CMAKE_DEBUG_POSTFIX when building with MSVC [54] o tests/valgrind.supp: supress OpenSSL false positive seen on travis [55] o curl_setup_once: Remove ERRNO/SET_ERRNO macros [56] o curl-compilers.m4: disable warning spam with Cygwin's clang [57] o ldap: fix MinGW compiler warning [58] o make: fix docs build on OpenBSD [59] o curl_setup: always define WIN32_LEAN_AND_MEAN on Windows [60] o system.h: include winsock2.h before windows.h o winbuild: build with warning level 4 [61] o rtspd: fix MSVC level 4 warning o sockfilt: suppress conversion warning with explicit cast o libtest: fix MSVC warning C4706 o darwinssl: fix pinnedpubkey build error [62] o tests/server/resolve.c: fix deprecation warning [63] o nss: fix a possible use-after-free in SelectClientCert() [64] o checksrc: escape open brace in regex o multi: mention integer overflow risk if using > 500 million sockets [65] o darwinssl: fix --tlsv1.2 regression [66] o timeval: struct curltime is a struct timeval replacement [67] o curl_rtmp: fix a compiler warning [68] o include.d: clarify that it concerns the response headers [69] o cmake: support make uninstall [70] o include.d: clarify --include is only for response headers [71] o libcurl: Stop using error codes defined under CURL_NO_OLDIES [72] o http: fix response code parser to avoid integer overflow [73] o configure: fix the check for IdnToUnicode [74] o multi: fix request timer management [75] o curl_threads: fix MSVC compiler warning [76] o travis: build on osx with openssl o travis: build on osx with libressl o CURLOPT_NETRC.3: mention the file name on windows o cmake: set MSVC warning level to 4 [77] o netrc: skip lines starting with '#' [78] o darwinssl: fix curlssl_sha256sum() compiler warnings on first argument o BUILD.WINDOWS: mention buildconf.bat for builds off git o darwinssl: silence compiler warnings [79] o travis: build on osx with darwinssl o FTP: skip unnecessary CWD when in nocwd mode [80] o gssapi: fix memory leak of output token in multi round context [81] o getparameter: avoid returning uninitialized 'usedarg' [82] o curl (debug build) easy_events: make event data static o curl: detect and bail out early on parameter integer overflows [86] o configure: fix recv/send/select detection on Android [87] |
||
adam
|
4d8f875dd9 | On Darwin, do not add special compiler flags; fixes building on High Sierra | ||
adam
|
69eb2026f1 |
Changes 7.54.1:
curl: show the libcurl release date in --version output Bugfixes: CVE-2017-9502: default protocol drive letter buffer overflow openssl: fix memory leak in servercert tests: remove the html and PDF versions from the tarball mbedtls: enable NTLM (& SMB) even if MD4 support is unavailable typecheck-gcc: handle function pointers properly llist: no longer uses malloc gnutls: removed some code when --disable-verbose is configured lib: fix maybe-uninitialized warnings multi: clarify condition in curl_multi_wait schannel: Don't treat encrypted partial record as pending data configure: fix the -ldl check for openssl, add -lpthread check configure: accept -Og and -Ofast GCC flags Makefile: avoid use of GNU-specific form of $< if2ip: fix -Wcast-align warning configure: stop prepending to LDFLAGS, CPPFLAGS curl: set a 100K buffer size by default typecheck-gcc: fix _curl_is_slist_info nss: do not leak PKCS 11 slot while loading a key nss: load libnssckbi.so if no other trust is specified examples: ftpuploadfrommem.c url: declare get_protocol_family() static examples/cookie_interface.c: changed to example.com test1443: test --remote-time curl: use utimes instead of obsolescent utime when available url: fixed a memory leak on OOM while setting CURLOPT_BUFFERSIZE curl_rtmp: fix missing-variable-declarations warnings tests: fixed OOM handling of unit tests to abort test curl_setup: Ensure no more than one IDN lib is enabled tool: Fix missing prototype warnings for CURL_DOES_CONVERSIONS CURLOPT_BUFFERSIZE: 1024 bytes is now the minimum size curl: non-boolean command line args reject --no- prefixes telnet: Write full buffer instead of byte-by-byte typecheck-gcc: add missing string options typecheck-gcc: add support for CURLINFO_SOCKET opt man pages: they all have examples now curl_setup_once: use SEND_QUAL_ARG2 for swrite test557: set a known good numeric locale schannel: return a more specific error code for SEC_E_UNTRUSTED_ROOT tests/server: make string literals const runtests: use -R for random order unit1305: fix compiler warning curl_slist_append.3: clarify a NULL input creates a new list tests/server: run checksrc by default in debug-builds tests: fix -Wcast-qual warnings runtests.pl: simplify the datacheck read section curl: remove --environment and tool_writeenv.c buildconf: fix hang on IRIX tftp: silence bad-function-cast warning asyn-thread: fix unused macro warnings tool_parsecfg: fix -Wcast-qual warning sendrecv: fix MinGW-w64 warning test537: use correct variable type rand: treat fake entropy the same regardless of endianness curl: generate the --help output tests: removed redundant --trace-ascii arguments multi: assign IDs to all timers and make each timer singleton multi: use a fixed array of timers instead of malloc mbedtls: Support server renegotiation request pipeline: fix mistakenly trying to pipeline POSTs lib510: don't write past the end of the buffer if it's too small CURLOPT_HTTPPROXYTUNNEL.3: clarify, add example SecureTransport/DarwinSSL: Implement public key pinning curl.1: clarify --config curl_sasl: fix build error with CURL_DISABLE_CRYPTO_AUTH + USE_NTLM darwinssl: Fix exception when processing a client-side certificate curl.1: mention --oauth2-bearer's argument mkhelp.pl: do not add current time into curl binary asiohiper.cpp / evhiperfifo.c: deal with negative timerfunction input ssh: fix memory leak in disconnect due to timeout tests: stabilize test 1034 cmake: auto detection of CURL_CA_BUNDLE/CURL_CA_PATH assert: avoid, use DEBUGASSERT instead LDAP: using ldap_bind_s on Windows with methods redirect: store the "would redirect to" URL when max redirs is reached winbuild: fix the nghttp2 build examples: fix -Wimplicit-fallthrough warnings time: fix type conversions and compiler warnings mbedtls: fix variable shadow warning test557: fix ubsan runtime error due to int left shift transfer: init the infilesize from the postfields docs: clarify NO_PROXY further build-wolfssl: Sync config with wolfSSL 3.11 curl-compilers.m4: enable -Wshift-sign-overflow for clang example/externalsocket.c: make it use CLOSESOCKETFUNCTION too lib574.c: use correct callback proto lib583: fix compiler warning curl-compilers.m4: fix compiler_num for clang typecheck-gcc.h: separate getinfo slist checks from other pointers typecheck-gcc.h: check CURLINFO_TLS_SSL_PTR and CURLINFO_TLS_SESSION typecheck-gcc.h: check CURLINFO_CERTINFO build: provide easy code coverage measuring test1537: dedicated tests of the URL (un)escape API calls curl_endian: remove unused functions test1538: verify the libcurl strerror API calls MD(4|5): silence cast-align clang warning dedotdot: fixed output for ".." and "." only input cyassl: define build macros before including ssl.h updatemanpages.pl: error out on too old git version curl_sasl: fix unused-variable warning x509asn1: fix implicit-fallthrough warning with GCC 7 libtest: fix implicit-fallthrough warnings with GCC 7 BINDINGS: add Ring binding curl_ntlm_core: pass unsigned char to toupper test1262: verify ftp download with -z for "if older than this" test1521: test all curl_easy_setopt options typecheck-gcc: allow CURLOPT_STDERR to be NULL too metalink: remove unused printf() argument file: make speedcheck use current time for checks configure: fix link with librtmp when specifying path examples/multi-uv.c: fix deprecated symbol cmake: Fix inconsistency regarding mbed TLS include directory setopt: check CURLOPT_ADDRESS_SCOPE option range gitignore: ignore all vim swap files urlglob: fix division by zero libressl: OCSP and intermediate certs workaround no longer needed |
||
wiz
|
9debdb5d70 | Add upstream bug report URL. | ||
ryoon
|
1058d2dc9f | Do not use GNU make syntax. Fix build with bmake | ||
adam
|
08826bc69f |
Changes 7.53.1:
Bugfixes: * cyassl: fix typo * url: Improve CURLOPT_PROXY_CAPATH error handling * urldata: include curl_sspi.h when Windows SSPI is enabled * formdata: check for EOF when reading from stdin * tests: Set CHARSET & LANG to UTF-8 in 1035, 2046 and 2047 * url: Default the proxy CA bundle location to CURL_CA_BUNDLE * rand: added missing #ifdef HAVE_FCNTL_H around fcntl.h header |
||
maya
|
46ec524697 |
curl: update to 7.51.0. security fix
Curl and libcurl 7.51.0 Public curl releases: 160 Command line options: 185 curl_easy_setopt() options: 225 Public functions in libcurl: 61 Contributors: 1467 This release includes the following changes: o nss: additional cipher suites are now accepted by CURLOPT_SSL_CIPHER_LIST o New option: CURLOPT_KEEP_SENDING_ON_ERROR [10] This release includes the following bugfixes: o CVE-2016-8615: cookie injection for other servers [28] o CVE-2016-8616: case insensitive password comparison [29] o CVE-2016-8617: OOB write via unchecked multiplication [30] o CVE-2016-8618: double-free in curl_maprintf [31] o CVE-2016-8619: double-free in krb5 code [32] o CVE-2016-8620: glob parser write/read out of bounds [33] o CVE-2016-8621: curl_getdate read out of bounds [34] o CVE-2016-8622: URL unescape heap overflow via integer truncation [35] o CVE-2016-8623: Use-after-free via shared cookies [36] o CVE-2016-8624: invalid URL parsing with '#' [37] o CVE-2016-8625: IDNA 2003 makes curl use wrong host [38] o openssl: fix per-thread memory leak using 1.0.1 or 1.0.2 [1] o http: accept "Transfer-Encoding: chunked" for HTTP/2 as well [2] o LICENSE-MIXING.md: update with mbedTLS dual licensing [3] o examples/imap-append: Set size of data to be uploaded [4] o test2048: fix url o darwinssl: disable RC4 cipher-suite support o CURLOPT_PINNEDPUBLICKEY.3: fix the AVAILABILITY formatting o openssl: don’t call CRYTPO_cleanup_all_ex_data [5] o libressl: fix version output [6] o easy: Reset all statistical session info in curl_easy_reset [7] o curl_global_cleanup.3: don't unload the lib with sub threads running [8] o dist: add CurlSymbolHiding.cmake to the tarball o docs: Remove that --proto is just used for initial retrieval [9] o configure: Fixed builds with libssh2 in a custom location o curl.1: --trace supports % for sending to stderr! o cookies: same domain handling changed to match browser behavior [11] o formpost: trying to attach a directory no longer crashes [12] o CURLOPT_DEBUGFUNCTION.3: fixed unused argument warning [13] o formpost: avoid silent snprintf() truncation o ftp: fix Curl_ftpsendf o mprintf: return error on too many arguments o smb: properly check incoming packet boundaries [14] o GIT-INFO: remove the Mac 10.1-specific details [15] o resolve: add error message when resolving using SIGALRM [16] o cmake: add nghttp2 support [17] o dist: remove PDF and HTML converted docs from the releases [18] o configure: disable poll() in macOS builds [19] o vtls: only re-use session-ids using the same scheme o pipelining: skip to-be-closed connections when pipelining [20] o win: fix Universal Windows Platform build [21] o curl: do not set CURLOPT_SSLENGINE to DEFAULT automatically [22] o maketgz: make it support "only" generating version info o Curl_socket_check: add extra check to avoid integer overflow o gopher: properly return error for poll failures o curl: set INTERLEAVEDATA too o polarssl: clear thread array at init o polarssl: fix unaligned SSL session-id lock o polarssl: reduce #ifdef madness with a macro o curl_multi_add_handle: set timeouts in closure handles [23] o configure: set min version flags for builds on mac [24] o INSTALL: converted to markdown => INSTALL.md o curl_multi_remove_handle: fix a double-free [25] o multi: fix inifinte loop in curl_multi_cleanup() [26] o nss: fix tight loop in non-blocking TLS handhsake over proxy [27] o mk-ca-bundle: Change URL retrieval to HTTPS-only by default [39] o mbedtls: stop using deprecated include file [40] o docs: fix req->data in multi-uv example [41] o configure: Fix test syntax for monotonic clock_gettime o CURLMOPT_MAX_PIPELINE_LENGTH.3: Clarify it's not for HTTP/2 [42] This release includes the following known bugs: o see docs/KNOWN_BUGS (https://curl.haxx.se/docs/knownbugs.html) This release would not have looked like this without help, code, reports and advice from friends like these: Akshay Vernekar, Alexander Sinditskiy, Anders Bakken, Andreas Streichardt, Andrei Sedoi, Bernard Spil, Christian Heimes, Dan Fandrich, Daniel Gustafsson, Daniel Stenberg, Darío Hereñú, David Woodhouse, Fernando Muñoz, Gregory Szorc, Jeroen Ooms, Kamil Dudka, Luật Nguyễn, lukaszgn on github, Marcel Raad, Martin Frodl, Martin Storsjö, Michael Kaufmann, Michael Osipov, Miloš Ljumović, Nick Zitzmann, nopjmp on github, Paul Joyce, Rainer Müller, Ray Satiro, Remo E, Rider Linden, Sebastian Mundry, Sergei Kuzmin, Stephen Brokenshire, Tobias Stoeckmann, Toby Peterson, Todd Short, Tony Kelman, Torben Dannhauer, Valentin David, (40 contributors) Thanks! (and sorry if I forgot to mention someone) References to bug reports and discussions on issues: [1] = https://curl.haxx.se/bug/?i=964 [2] = https://curl.haxx.se/bug/?i=1013 [3] = https://curl.haxx.se/bug/?i=1019 [4] = https://curl.haxx.se/bug/?i=1011 [5] = https://curl.haxx.se/mail/lib-2016-09/0045.html [6] = https://curl.haxx.se/bug/?i=1029 [7] = https://curl.haxx.se/bug/?i=1017 [8] = https://curl.haxx.se/bug/?i=997 [9] = https://curl.haxx.se/bug/?i=1031 [10] = https://curl.haxx.se/libcurl/c/CURLOPT_KEEP_SENDING_ON_ERROR.html [11] = https://curl.haxx.se/bug/?i=1050 [12] = https://curl.haxx.se/bug/?i=1053 [13] = https://curl.haxx.se/bug/?i=1056 [14] = https://curl.haxx.se/bug/?i=1052 [15] = https://curl.haxx.se/bug/?i=1049 [16] = https://curl.haxx.se/bug/?i=1066 [17] = https://curl.haxx.se/bug/?i=922 [18] = https://curl.haxx.se/mail/lib-2016-10/0040.html [19] = https://curl.haxx.se/bug/?i=1057 [20] = https://curl.haxx.se/bug/?i=1075 [21] = https://curl.haxx.se/bug/?i=1048 [22] = https://curl.haxx.se/bug/?i=1042 [23] = https://curl.haxx.se/bug/?i=739 [24] = https://curl.haxx.se/bug/?i=1069 [25] = https://curl.haxx.se/bug/?i=1083 [26] = https://curl.haxx.se/mail/lib-2016-10/0011.html [27] = https://bugzilla.redhat.com/1388162 [28] = https://curl.haxx.se/docs/adv_20161102A.html [29] = https://curl.haxx.se/docs/adv_20161102B.html [30] = https://curl.haxx.se/docs/adv_20161102C.html [31] = https://curl.haxx.se/docs/adv_20161102D.html [32] = https://curl.haxx.se/docs/adv_20161102E.html [33] = https://curl.haxx.se/docs/adv_20161102F.html [34] = https://curl.haxx.se/docs/adv_20161102G.html [35] = https://curl.haxx.se/docs/adv_20161102H.html [36] = https://curl.haxx.se/docs/adv_20161102I.html [37] = https://curl.haxx.se/docs/adv_20161102J.html [38] = https://curl.haxx.se/docs/adv_20161102K.html [39] = https://curl.haxx.se/bug/?i=1012 [40] = https://curl.haxx.se/bug/?i=1087 [41] = https://curl.haxx.se/bug/?i=1088 [42] = https://curl.haxx.se/bug/?i=1059 |
||
wiz
|
e320382b3b |
Updated curl to 7.49.0.
Fixed in 7.49.0 - May 18 2016 Changes: schannel: Add ALPN support SSH: support CURLINFO_FILETIME SSH: new CURLOPT_QUOTE command "statvfs" wolfssl: Add ALPN support http2: added --http2-prior-knowledge http2: added CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE libcurl: added CURLOPT_CONNECT_TO curl: added --connect-to libcurl: added CURLOPT_TCP_FASTOPEN curl: added --tcp-fastopen curl: remove support for --ftpport, -http-request and --socks Bugfixes: CVE-2016-3739: TLS certificate check bypass with mbedTLS/PolarSSL checksrc.bat: Updated the help to be consistent with generate.bat checksrc.bat: Added support for scanning the tests and examples openssl: fix ERR_remove_thread_state() for boringssl/libressl openssl: boringssl provides the same numbering as openssl multi: fix "Operation timed out after" timer url: don't use bad offset in tld_check_name to show error sshserver.pl: use quotes for given options Makefile.am: skip the scripts dir curl: warn for --capath use if not supported by libcurl http2: fix connection reuse GSS: make Curl_gss_log_error more verbose build-wolfssl: Allow a broader range of ciphers (Visual Studio) wolfssl: Use ECC supported curves extension openssl: Fix compilation warnings Curl_add_buffer_send: avoid possible NULL dereference SOCKS5_gssapi_negotiate: don't assume little-endian ints strerror: don't bit shift a signed integer url: Corrected get protocol family for FTP and LDAP curl/mprintf.h: remove support for _MPRINTF_REPLACE upload: missing rewind call could make libcurl hang IMAP: check pointer before dereferencing it build: Changed the Visual Studio projects warning level from 3 to 4 checksrc: now stricter, wider checks, code cleaned up checksrc: added docs/CHECKSRC.md curl_sasl: Fixed potential null pointer utilisation krb5: Fixed missing client response when mutual authentication enabled krb5: Only process challenge when present krb5: Only generate a SPN when its not known formdata: use appropriate fopen() macros curl.1: -w filename_effective was introduced in 7.26.0 http2: make use of the nghttp2 error callback http2: fix connection reuse when PING comes after last DATA curl.1: change example for -F HTTP2: Add a space character after the status code curl.1: use example.com more mbedtls.c: changed private prefix to mbed_ mbedtls: implement and provide *_data_pending() to avoid hang mbedtls: fix MBEDTLS_DEBUG builds ftp/imap/pop3/smtp: Allow the service name to be overridden CURLOPT_SOCKS5_GSSAPI_SERVICE: Merged with CURLOPT_PROXY_SERVICE_NAME build: include scripts/ in the dist http2: Add handling stream level error http2: Improve header parsing makefile.vc6: use d suffix on debug object configure: remove check for libresolve scripts/make: use $(EXEEXT) for executables checksrc: got rid of the whitelist files sendf: added ability to call recv() before send() as workaround NTLM: check for NULL pointer before dereferencing openssl: builds with OpenSSL 1.1.0-pre5 configure: ac_cv_ -> curl_cv_ for all cached vars winbuild: add mbedtls support curl: make --ftp-create-dirs retry on failure PolarSSL: implement public key pinning multi: accidentally used resolved host name instead of proxy CURLINFO_TLS_SESSION.3: clarify TLS library support before 7.48.0 CONNECT_ONLY: don't close connection on GSS 401/407 reponses opts: Fix some syntax errors in example code fragments mbedtls: Fix session resume test1139: verifies libcurl option man page presence CURLINFO_TLS_SSL_PTR.3: Clarify SSL pointer availability curl: make --disable work as long form of -q curl: use --telnet-option as documented curl.1: document --ftp-ssl-reqd, --krb4 and --ntlm-wb curl: -h output lacked --proxy-header and --ntlm-wb curl -J: make it work even without http:// scheme on URL lib: include curl_printf.h as one of the last headers tests: handle path properly on Msys/Cygwin curl.1: --mail-rcpt can be used multiple times CURLOPT_ACCEPT_ENCODING.3: clarified docs: fixed lots of broken man page references tls: make setting pinnedkey option fail if not supported test1140: run nroff-scan to verify man pages http: make sure a blank header overrides accept_decoding connections: do not reuse non-HTTP proxies on different ports connect: fix invalid "Network is unreachable" errors TLS: move the ALPN/NPN enable bits to the connection TLS: SSL_peek is not a const operation http2: Add space between colon and header value darwinssl: fix certificate verification disable on OS X 10.8 mprintf: Fix processing of width and prec args ftp wildcard: segfault due to init only in multi_perform |
||
sevan
|
89f6d4e607 |
Add support for building with LibreSSL/BoringSSL
Patch obtained from upstream via OpenBSD ports/net/curl/patches/patch-lib_vtls_openssl_c |
||
adam
|
5771455211 |
Changes 7.47.1:
Bugfixes: * getredirect.c: fix variable name * tool_doswin: silence unused function warning * cmake: fixed when OpenSSL enabled on Windows and schannel detected * curl.1: Explain remote-name behavior if file already exists * tool_operate: Don't sanitize --output path (Windows) * URLs: change all http:// URLs to https:// in documentation & comments * sasl_sspi: Fix memory leak in domain populate * COPYING: clarify that Daniel is not the sole author * examples/htmltitle: Use _stricmp on Windows * examples/asiohiper: Avoid function name collision on Windows * idn_win32: Better error checking * openssl: Fix signed/unsigned mismatch warning in X509V3_ext * curl save files: check for backslashes on cygwin |
||
mef
|
9245084794 | Fix typo in comment line in patch, sorry. | ||
mef
|
c003f46faa | Add minor typo fix in doc/example for make test to pass | ||
wiz
|
39ade3e909 |
Update to 7.44.0:
Curl and libcurl 7.44.0 Public curl releases: 148 Command line options: 176 curl_easy_setopt() options: 219 Public functions in libcurl: 58 Contributors: 1291 This release includes the following changes: o http2: added CURLMOPT_PUSHFUNCTION and CURLMOPT_PUSHDATA [6] o examples: added http2-serverpush.c [7] o http2: added curl_pushheader_byname() and curl_pushheader_bynum() o docs: added CODE_OF_CONDUCT.md [8] o curl: Add --ssl-no-revoke to disable certificate revocation checks [5] o libcurl: New value CURLSSLOPT_NO_REVOKE for CURLOPT_SSL_OPTIONS [9] o makefile: Added support for VC14 o build: Added Visual Studio 2015 (VC14) project files o build: Added wolfSSL configurations to VC10+ project files [18] This release includes the following bugfixes: o FTP: fix HTTP CONNECT logic regression [1] o openssl: Fix build with openssl < ~ 0.9.8f o openssl: fix build with BoringSSL o curl_easy_setopt.3: option order doesn't matter o openssl: fix use of uninitialized buffer [2] o RTSP: removed dead code o Makefile.m32: add support for CURL_LDFLAG_EXTRAS o curl: always provide negotiate/kerberos options o cookie: Fix bug in export if any-domain cookie is present o curl_easy_setopt.3: mention CURLOPT_PIPEWAIT o INSTALL: Advise use of non-native SSL for Windows <= XP o tool_help: fix --tlsv1 help text to use >= for TLSv1 o HTTP: POSTFIELDSIZE set after added to multi handle [3] o SSL-PROBLEMS: mention WinSSL problems in WinXP o setup-vms.h: Symbol case fixups o SSL: Pinned public key hash support o libtest: call PR_Cleanup() on exit if NSPR is used o ntlm_wb: Fix theoretical memory leak o runtests: Allow for spaces in curl custom path o http2: add stream != NULL checks for reliability o schannel: Replace deprecated GetVersion with VerifyVersionInfo o http2: verify success of strchr() in http2_send() o configure: add --disable-rt option o openssl: work around MSVC warning o HTTP: ignore "Content-Encoding: compress" o configure: check if OpenSSL linking wants -ldl o build-openssl.bat: Show syntax if required args are missing o test1902: attempt to make the test more reliable o libcurl-thread.3: Consolidate thread safety info o maketgz: Fixed some VC makefiles missing from the release tarball o libcurl-multi.3: mention curl_multi_wait [10] o ABI doc: use secure URL o http: move HTTP/2 cleanup code off http_disconnect() [11] o libcurl-thread.3: Warn memory functions must be thread safe [12] o curl_global_init_mem.3: Warn threaded resolver needs thread safe funcs [13] o docs: formpost needs the full size at start of upload [14] o curl_gssapi: remove 'const' to fix compiler warnings o SSH: three state machine fixups [15] o libcurl.3: fix a single typo [16] o generate.bat: Only clean prerequisite files when in ALL mode o curl_slist_append.3: add error checking to the example o buildconf.bat: Added support for file clean-up via -clean o generate.bat: Use buildconf.bat for prerequisite file clean-up o NTLM: handle auth for only a single request [17] o curl_multi_remove_handle.3: fix formatting [19] o checksrc.bat: Fixed error when [directory] isn't a curl source directory o checksrc.bat: Fixed error when missing *.c and *.h files o CURLOPT_RESOLVE.3: Note removal support was added in 7.42 [20] o test46: update cookie expire time o SFTP: fix range request off-by-one in size check [21] o CMake: fix GSSAPI builds [22] o build: refer to fixed libidn versions [4] o http2: discard frames with no SessionHandle [23] o curl_easy_recv.3: fix formatting o libcurl-tutorial.3: fix formatting [24] o curl_formget.3: correct return code [25] |
||
spz
|
b83209ab79 |
reanimate curl-7.43.0 and add the upstream fix for
http://curl.haxx.se/mail/lib-2015-06/0122.html found in
|
||
spz
|
169d8854cc |
rollback to previous version of curl. See
http://mail-index.netbsd.org/tech-pkg/2015/06/29/msg015105.html |
||
spz
|
cec4c58ccf |
update of curl to version 7.43.0. Upstream RELEASE_NOTES:
Curl and libcurl 7.43.0
Public curl releases: 147
Command line options: 176
curl_easy_setopt() options: 219
Public functions in libcurl: 58
Contributors: 1291
This release includes the following changes:
o Added CURLOPT_PROXY_SERVICE_NAME[11]
o Added CURLOPT_SERVICE_NAME[12]
o New curl option: --proxy-service-name[13]
o Mew curl option: --service-name [14]
o New curl option: --data-raw [5]
o Added CURLOPT_PIPEWAIT [15]
o Added support for multiplexing transfers using HTTP/2, enable this
with the new CURLPIPE_MULTIPLEX bit for CURLMOPT_PIPELINING [16]
o HTTP/2: requires nghttp2 1.0.0 or later
o scripts: add zsh.pl for generating zsh completion
o curl.h: add CURL_HTTP_VERSION_2
This release includes the following bugfixes:
o CVE-2015-3236: lingering HTTP credentials in connection re-use [30]
o CVE-2015-3237: SMB send off unrelated memory contents [31]
o nss: fix compilation failure with old versions of NSS [1]
o curl_easy_getinfo.3: document 'internals' in CURLINFO_TLS_SESSION
o schannel.c: Fix possible SEC_E_BUFFER_TOO_SMALL error
o Curl_ossl_init: load builtin modules [2]
o configure: follow-up fix for krb5-config [3]
o sasl_sspi: Populate domain from the realm in the challenge [4]
o netrc: support 'default' token
o README: convert to UTF-8
o cyassl: Implement public key pinning
o nss: implement public key pinning for NSS backend
o mingw build: add arch -m32/-m64 to LDFLAGS
o schannel: Fix out of bounds array [6]
o configure: remove autogenerated files by autoconf
o configure: remove --automake from libtoolize call
o acinclude.m4: fix shell test for default CA cert bundle/path
o schannel: fix regression in schannel_recv [7]
o openssl: skip trace outputs for ssl_ver == 0 [8]
o gnutls: properly retrieve certificate status
o netrc: Read in text mode when cygwin [9]
o winbuild: Document the option used to statically link the CRT [10]
o FTP: Make EPSV use the control IP address rather than the original host
o FTP: fix dangling conn->ip_addr dereference on verbose EPSV
o conncache: keep bundles on host+port bases, not only host names
o runtests.pl: use 'h2c' now, no -14 anymore
o curlver: introducing new version number (checking) macros
o openssl: boringssl build brekage, use SSL_CTX_set_msg_callback [17]
o CURLOPT_POSTFIELDS.3: correct variable names [18]
o curl_easy_unescape.3: update RFC reference [19]
o gnutls: don't fail on non-fatal alerts during handshake
o testcurl.pl: allow source to be in an arbitrary directory
o CURLOPT_HTTPPROXYTUNNEL.3: only works with a HTTP proxy
o SSPI-error: Change SEC_E_ILLEGAL_MESSAGE description [20]
o parse_proxy: switch off tunneling if non-HTTP proxy [21]
o share_init: fix OOM crash
o perl: remove subdir, not touched in 9 years
o CURLOPT_COOKIELIST.3: Add example
o CURLOPT_COOKIE.3: Explain that the cookies won't be modified [22]
o CURLOPT_COOKIELIST.3: Explain Set-Cookie without a domain [23]
o FAQ: How do I port libcurl to my OS?
o openssl: Use TLS_client_method for OpenSSL 1.1.0+
o HTTP-NTLM: fail auth on connection close instead of looping [24]
o curl_setup: Add macros for FOPEN_READTEXT, FOPEN_WRITETEXT [25]
o curl_getdate.3: update RFC reference
o curl_multi_info_read.3: added example
o curl_multi_perform.3: added example
o curl_multi_timeout.3: added example
o cookie: Stop exporting any-domain cookies [26]
o openssl: remove dummy callback use from SSL_CTX_set_verify()
o openssl: remove SSL_get_session()-using code
o openssl: removed USERDATA_IN_PWD_CALLBACK kludge
o openssl: removed error string #ifdef
o openssl: Fix verification of server-sent legacy intermediates [27]
o docs: man page indentation and syntax fixes
o docs: Spelling fixes
o fopen.c: fix a few compiler warnings
o CURLOPT_OPENSOCKETFUNCTION: return error at once [28]
o schannel: Add support for optional client certificates
o build: Properly detect OpenSSL 1.0.2 when using configure
o urldata: store POST size in state.infilesize too [29]
o security:choose_mech remove dead code
o rtsp_do: remove dead code
o docs: many HTTP URIs changed to HTTPS
o schannel: schannel_recv overhaul [32]
This release includes the following known bugs:
o see docs/KNOWN_BUGS (http://curl.haxx.se/docs/knownbugs.html)
This release would not have looked like this without help, code, reports and
advice from friends like these:
Alessandro Ghedini, Alexander Dyagilev, Anders Bakken, Anthony Avina,
Ashish Shukla, Bert Huijben, Brian Chrisman, Brian Prodoehl, Chris Araman,
Dagobert Michelsen, Dan Fandrich, Daniel Melani, Daniel Stenberg,
Dmitry Eremin-Solenikov, Drake Arconis, Egon Eckert, Frank Meier, Fred Stluka,
Gisle Vanem, Grant Pannell, Isaac Boukris, Jens Rantil, Joel Depooter,
Kamil Dudka, Linus Nielsen Feltzing, Linus Nielsen Feltzing Feltzing,
Liviu Chircu, Marc Hoersken, Michael Osipov, Oren Souroujon, Orgad Shaneh,
Patrick Monnerat, Patrick Rapin, Paul Howarth, Paul Oliver, Rafayel Mkrtchyan,
Ray Satiro, Sean Boudreau, Tatsuhiro Tsujikawa, Tomas Tomecek, Viktor Szakáts,
Ville Skyttä, Yehezkel Horowitz,
(43 contributors)
Thanks! (and sorry if I forgot to mention someone)
References to bug reports and discussions on issues:
[1] = http://curl.haxx.se/mail/lib-2015-04/0095.html
[2] = https://github.com/bagder/curl/pull/206
[3] =
|
||
fhajny
|
2b3fdbaec7 |
Add optional support for HTTP/2 via www/nghttp2. Patch nghttp2 support
until the curl interface is updated in 7.43. Bump PKGREVISION. |
||
jperkin
|
3bb7930091 |
Update to curl-7.42.0.
This release includes the following changes: o openssl: show the cipher selection to use in verbose text o gtls: implement CURLOPT_CERTINFO o add CURLOPT_SSL_FALSESTART option (darwinssl and NSS) o curl: add --false-start option o add CURLOPT_PATH_AS_IS o curl: add --path-as-is option o curl: create output file on successful download of an empty file This release includes the following bugfixes: o ConnectionExists: for NTLM re-use, require credentials to match o cookie: cookie parser out of boundary memory access o fix_hostname: zero length host name caused -1 index offset o http_done: close Negotiate connections when done o sws: timeout idle CONNECT connections o nss: improve error handling in Curl_nss_random() o nss: do not skip Curl_nss_seed() if data is NULL o curl-config.in: eliminate double quotes around CURL_CA_BUNDLE o http2: move lots of verbose output to be debug-only o dist: add extern-scan.pl to the tarball o http2: return recv error on unexpected EOF o build: Use default RandomizedBaseAddress directive in VC9+ project files o build: Removed DataExecutionPrevention directive from VC9+ project files o tool: Updated the warnf() function to use the GlobalConfig structure o http2: Return error if stream was closed with other than NO_ERROR o mprintf.h: remove #ifdef CURLDEBUG o libtest: fixed linker errors on msvc o tool: use ENABLE_CURLX_PRINTF instead of _MPRINTF_REPLACE o curl.1: fix "The the" typo o cmake: handle build definitions CURLDEBUG/DEBUGBUILD o openssl: remove all uses of USE_SSLEAY o multi: fix memory-leak on timeout (regression) o curl_easy_setopt.3: added CURLOPT_SSL_VERIFYSTATUS o metalink: add some error checks o TLS: make it possible to enable ALPN/NPN without HTTP/2 o http2: use CURL_HTTP_VERSION_* symbols instead of NPN_* o conncontrol: only log changes to the connection bit o multi: fix *getsock() with CONNECT o symbols.pl: handle '-' in the deprecated field o MacOSX-Framework: use @rpath instead of @executable_path o GnuTLS: add support for CURLOPT_CAPATH o GnuTLS: print negotiated TLS version and full cipher suite name o GnuTLS: don't print double newline after certificate dates o memanalyze.pl: handle free(NULL) o proxy: re-use proxy connections (regression) o mk-ca-bundle: Don't report SHA1 numbers with "-q" o http: always send Host: header as first header o openssl: sort ciphers to use based on strength o openssl: use colons properly in the ciphers list o http2: detect premature close without data transfered o hostip: Fix signal race in Curl_resolv_timeout o closesocket: call multi socket cb on close even with custom close o mksymbolsmanpage.pl: use std header and generate better nroff header o connect: Fix happy eyeballs logic for IPv4-only builds o curl_easy_perform.3: remove superfluous close brace from example o HTTP: don't use Expect: headers when on HTTP/2 o Curl_sh_entry: remove unused 'timestamp' o docs/libcurl: makefile portability fix o mkhelp: Remove trailing carriage return from every line of input o nss: explicitly tell NSS to disable NPN/ALPN when libcurl disables it o curl_easy_setopt.3: added a few missing options o metalink: fix resource leak in OOM o axtls: version 1.5.2 now requires that config.h be manually included o HTTP: don't switch to HTTP/2 from 1.1 until we get the 101 o cyassl: detect the library as renamed wolfssl o CURLOPT_HTTPHEADER.3: add a "SECURITY CONCERNS" section o CURLOPT_URL.3: Added "SECURITY CONCERNS o openssl: try to avoid accessing OCSP structs when possible o test938: added missing closing tags o testcurl: Allow '=' in values given on command line o tests/certs: added make target to rebuild certificates o tests/certs: rebuild certificates with modified key usage bits o gtls: avoid uninitialized variable o gtls: dereferencing NULL pointer o gtls: add check of return code o test1513: eliminated race condition in test run o dict: rename byte to avoid compiler shadowed declaration warning o curl_easy_recv/send: make them work with the multi interface o vtls: fix compile with --disable-crypto-auth but with SSL o openssl: adapt to ASN1/X509 things gone opaque in 1.1 o openssl: verifystatus: only use the OCSP work-around <= 1.0.2a o curl_memory: make curl_memory.h the second-last header file loaded o testcurl.pl: add the --notes option to supply more info about a build o cyassl: If wolfSSL then identify as such in version string o cyassl: Check for invalid length parameter in Curl_cyassl_random o cyassl: default to highest possible TLS version o Curl_ssl_md5sum: return CURLcode (fixes OOM) o polarssl: remove dead code o polarssl: called mbedTLS in 1.3.10 and later o globbing: fix step parsing for character globbing ranges o globbing: fix url number calculation when using range with step o multi: on a request completion, check all CONNECT_PEND transfers o build: link curl to openssl libraries when openssl support is enabled o url: Don't accept CURLOPT_SSLVERSION unless USE_SSL is defined o vtls: Don't accept unknown CURLOPT_SSLVERSION values o build: Fix libcurl.sln erroneous mixed configurations o cyassl: remove undefined reference to CyaSSL_no_filesystem_verify o cyassl: add SSL context callback support for CyaSSL o tool: only set SSL options if SSL is enabled o multi: remove_handle: move pending connections o configure: Use KRB5CONFIG for krb5-config o axtls: add timeout within Curl_axtls_connect o CURLOPT_HTTP200ALIASES.3: Mainly SHOUTcast servers use "ICY 200" o cyassl: Fix library initialization return value o cookie: handle spaces after the name in Set-Cookie o http2: Fix missing nghttp2_session_send call in Curl_http2_switched o cyassl: Fix certificate load check o build-openssl.bat: Fix mixed line endings o checksrc.bat: Check lib\vtls source o DNS: fix refreshing of obsolete dns cache entries o CURLOPT_RESOLVE: actually implement removals o checksrc.bat: quotes to support an SRC_DIR with spaces o cyassl: Remove 'Connecting to' message from cyassl_connect_step2 o cyassl: Use CYASSL_MAX_ERROR_SZ for error buffer size o lib/transfer.c: Remove factor of 8 from sleep time calculation o lib/makefile.m32: add missing libs to build libcurl.dll o build: Generate source prerequisites for Visual Studio in generate.bat o cyassl: Include the CyaSSL build config o firefox-db2pem: fix wildcard to find Firefox default profile o BUGS: refer to the github issue tracker now as primary o vtls_openssl: improve several certificate error messages o cyassl: Add support for TLS extension SNI o parsecfg: do not continue past a zero termination o configure --with-nss=PATH: query pkg-config if available o configure --with-nss: drop redundant if statement o cyassl: Fix include order o HTTP: fix PUT regression with Negotiate o curl_version_info.3: fixed the 'protocols' variable type |
||
wiz
|
5f731a4196 |
Update to 7.41.0:
Version 7.41.0 (25 Feb 2015) Daniel Stenberg (25 Feb 2015) - THANKS: added contributors from the 7.41.0 RELEASE-NOTES - RELEASE-NOTES: sync with ffc2aeec6e (7.41.0 release time!) Marc Hoersken (25 Feb 2015) - Revert "telnet.c: fix handling of 0 being returned from custom read function" This reverts commit 03fa576833643c67579ae216c4e7350fa9b5f2fe. - telnet.c: fix invalid use of custom read function if not being set obj_count can be 1 if the custom read function is set or the stdin handle is a reference to a pipe. Since the pipe should be handled using the PeekNamedPipe-check below, the custom read function should only be used if it is actually enabled. - telnet.c: fix handling of 0 being returned from custom read function According to [1]: "Returning 0 will signal end-of-file to the library and cause it to stop the current transfer." This change makes the Windows telnet code handle this case accordingly. [1] http://curl.haxx.se/libcurl/c/CURLOPT_READFUNCTION.html Daniel Stenberg (24 Feb 2015) - sws: stop logging about TPC_NODELAY nonsense - lib530: make it less timing sensible ... by making sure the first request is completed before doing the remainder. Kamil Dudka (23 Feb 2015) - connect: wait for IPv4 connection attempts ... even if the last IPv6 connection attempt has failed. Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1187531#c4 - connect: avoid skipping an IPv4 address ... in case the protocol versions are mixed in a DNS response (IPv6 -> IPv4 -> IPv6). Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1187531#c3 Daniel Stenberg (23 Feb 2015) - RELEASE-NOTES: synced with 5e4395eab839d - ROADMAP: curl_easy_setopt.3 has already been split up Remove cmake as marked for removal. It is in much better state now. - ROADMAP: extend the HTTP/2 stuff, remove SPDY - [Julian Ospald brought this change] configure: allow both --with-ca-bundle and --with-ca-path SSL_CTX_load_verify_locations by default (and if given non-Null parameters) searches the CAfile first and falls back to CApath. This allows for CAfile to be a basis (e.g. installed by the package manager) and CApath to be a user configured directory. This wasn't reflected by the previous configure constraint which this patch fixes. Bug: https://github.com/bagder/curl/pull/139 - [Ben Boeckel brought this change] cmake: install the dll file to the correct directory - [Alessandro Ghedini brought this change] nss: fix NPN/ALPN protocol negotiation Correctly check for memcmp() return value (it returns 0 if the strings match). This is not really important, since curl is going to use http/1.1 anyway, but it's still a bug I guess. - [Alessandro Ghedini brought this change] polarssl: fix ALPN protocol negotiation Correctly check for strncmp() return value (it returns 0 if the strings match). - [Sergei Nikulov brought this change] CMake: Fix generation of tool_hugehelp.c on windows Use "cmake -E echo" instead of "echo". Reviewed-by: Brad King <brad.king@kitware.com> - [Sergei Nikulov brought this change] CMake: fix winsock2 detection on windows Set CMAKE_REQUIRED_DEFINITIONS to include definitions needed to get the winsock2 API from windows.h. Simplify the order of checks to avoid extra conditions. Use check_include_file instead of check_include_file_concat to look for OpenSSL headers. They do not need to participate in a sequence of dependent system headers. Also they may cause winsock.h to be included before ws2tcpip.h, causing the latter to not be detected in the sequence. Reviewed-by: Brad King <brad.king@kitware.com> - [Alessandro Ghedini brought this change] gtls: fix build with HTTP2 Steve Holme (16 Feb 2015) - Makefile.vc6: Corrected typos in rename of darwinssl.obj Nick Zitzmann (15 Feb 2015) - By request, change the name of "curl_darwinssl.[ch]" to "darwinssl.[ch]" Steve Holme (14 Feb 2015) - RELEASE-NOTES: Synced with 6f89f86c3d - tests/README: Updated to reflect email test ranges - [Alessandro Ghedini brought this change] curl.1: --cert-status is also supported by OpenSSL now - build: Removed Visual Studio SuppressStartupBanner directive for VC8+ Visual Studio 2005 and above defaults to disabling the startup banner for the Compiler, Linker and MIDL tools (with /NOLOGO). As such there is no need to explicitly set the SuppressStartupBanner directive, as this is a leftover from the VC7 and VC7.1 projects being upgraded to VC8 and above. Kamil Dudka (12 Feb 2015) - openssl: fix a compile-time warning lib/vtls/openssl.c:1450:7: warning: extra tokens at end of #endif directive Steve Holme (11 Feb 2015) - openssl: Use OPENSSL_IS_BORINGSSL for BoringSSL detection For consistency with other conditionally compiled code in openssl.c, use OPENSSL_IS_BORINGSSL rather than HAVE_BORINGSSL and try to use HAVE_BORINGSSL outside of openssl.c when the OpenSSL header files are not included. Patrick Monnerat (11 Feb 2015) - ftp: accept all 2xx responses to the PORT command Steve Holme (9 Feb 2015) - openssl: Disable OCSP in old versions of OpenSSL Versions of OpenSSL prior to v0.9.8h do not support the necessary functions for OCSP stapling. Daniel Stenberg (9 Feb 2015) - [Tatsuhiro Tsujikawa brought this change] http2: Fix bug that associated stream canceled on PUSH_PROMISE Previously we don't ignore PUSH_PROMISE header fields in on_header callback. It makes header values mixed with following HEADERS, resulting protocol error. - [Jay Satiro brought this change] polarssl: Fix exclusive SSL protocol version options Prior to this change the options for exclusive SSL protocol versions did not actually set the protocol exclusive. http://curl.haxx.se/mail/lib-2015-01/0002.html Reported-by: Dan Fandrich - [Jay Satiro brought this change] gskit: Fix exclusive SSLv3 option - curl.1: clarify that -X is used for all requests Reported-by: Jon Seymour - curl.1: add warning when using -H and redirects Steve Holme (7 Feb 2015) - schannel: Removed curl_ prefix from source files Removed the curl_ prefix from the schannel source files as discussed with Marc and Daniel at FOSDEM. Daniel Stenberg (6 Feb 2015) - md5: use axTLS's own MD5 functions when available - MD(4|5): make the MD4_* and MD5_* functions static - axtls: fix conversion from size_t to int warning Steve Holme (5 Feb 2015) - ftp: Use 'CURLcode result' for curl result codes Daniel Stenberg (5 Feb 2015) - openssl: SSL_SESSION->ssl_version no longer exist The struct went private in 1.0.2 so we cannot read the version number from there anymore. Use SSL_version() instead! Reported-by: Gisle Vanem Bug: http://curl.haxx.se/mail/lib-2015-02/0034.html Dan Fandrich (4 Feb 2015) - unit1600: Fix compilation when NTLM is disabled Daniel Stenberg (4 Feb 2015) - MD5: fix compiler warnings and code style nits - MD5: replace implementation The previous one was "encumbered" by RSA Inc - to avoid the licensing restrictions it has being replaced. This is the initial import, inserting the md5.c and md5.h files from http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5 Code-by: Alexander Peslyak - MD4: fix compiler warnings and code style nits - MD4: replace implementation The previous one was "encumbered" by RSA Inc - to avoid the licensing restrictions it has being replaced. This is the initial import, inserting the md4.c and md4.h files from http://openwall.info/wiki/people/solar/software/public-domain-source-code/md4 Code-by: Alexander Peslyak Steve Holme (4 Feb 2015) - telnet: Prefer 'CURLcode result' for curl result codes - hostasyn: Prefer 'CURLcode result' for curl result codes - schannel: Prefer 'CURLcode result' for curl result codes Daniel Stenberg (3 Feb 2015) - unit1601: MD5 unit tests - unit1600: unit test for Curl_ntlm_core_mk_nt_hash - unit1600: NTLM unit test - tests/README: add a new range, clean up some language - [Jay Satiro brought this change] opts: CURLOPT_CAINFO availability depends on SSL engine - getpass: protect include with proper #ifdef Reported-by: Tamir - getpass_r: read from stdin, not stdout! The file number used was wrong. This bug was introduced over 10 years ago, proving this function isn't used much... Bug: http://curl.haxx.se/bug/view.cgi?id=1476 Reported-by: Tamir - test1135: verify the CURL_EXTERN order in header files - Makefile.am: fix 'make distcheck' ... by removing generated files from the *_DIST variable [*] and instead generate them with a .dist suffix, since that is then handled and put into the release archive by our generic dist-hook. [*] = 'make distcheck' fails with non-existing files listed there Steve Holme (2 Feb 2015) - curl_sasl.c: More code policing Better use of 80 character line limit, comment corrections and line spacing preferences. Daniel Stenberg (2 Feb 2015) - libcurl-symbols: first basic shot for autogenerated docs - FAQ: minor edit of 3.22 Steve Holme (2 Feb 2015) - build: Added removal of Visual Studio project files Added the removal of the locally generated project files so one may revert to a clean repository. - build: Renamed top level Visual Studio solution files In preparation for adding the test suite and examples projects renamed the top level "all" solution files to better describe what they are. This will also enable us to use "curl" rather than "curlsrc" for the command line tool solution and project files, which will simplify some of the configuration. - build: Enabled DEBUGBUILD in Visual Studio debug builds Defined the DEBUGBUILD pre-processor variable to allow extra logging, which is particularly useful in debug builds, as we use this and Visual Studio typically uses _DEBUG. We could define DEBUBBUILD, in curl_setup.h, when _MSC_VER and _DEBUG is defined but that would also affect the makefile based builds which we probably don't want to do. - build: Removed unused Visual Studio bscmake settings Daniel Stenberg (2 Feb 2015) - CURLOPT_HTTP_VERSION.3: CURL_HTTP_VERSION_2_0 added in 7.33.0 And modify the text to refer to HTTP 2 as it isn't called "2.0". Reported-By: Michael Wallner Marc Hoersken (31 Jan 2015) - TODO: moved WinSSL/SChannel todo items into docs Daniel Stenberg (29 Jan 2015) - [Michael Kaufmann brought this change] CURLOPT_SEEKFUNCTION.3: also when server closes a connection Steve Holme (29 Jan 2015) - curl_sasl.c: Fixed compilation warning when cryptography is disabled curl_sasl.c:1506: warning: unused variable 'chlg' - curl_sasl.c: Fixed compilation warning when verbose debug output disabled curl_sasl.c:1317: warning: unused parameter 'conn' - ntlm_core: Use own odd parity function when crypto engine doesn't have one - ntlm_core: Prefer sizeof(key) rather than hard coded sizes - ntlm_core: Added consistent comments to DES functions - des: Added Curl_des_set_odd_parity() Added Curl_des_set_odd_parity() for use when cryptography engines don't include this functionality. - tests: Grouped SMTP SASL EXTERNAL tests with other SMTP tests - tests: Grouped POP3 SASL EXTERNAL tests with other POP3 tests - tests: Grouped IMAP SASL EXTERNAL tests with other IMAP tests - sasl: Minor code policing and grammar corrections Daniel Stenberg (28 Jan 2015) - [Gisle Vanem brought this change] ldap: build with BoringSSL - security: avoid compiler warning Possible access to uninitialised memory '&nread' at line 140 of lib/security.c in function 'ftp_send_command'. Reported-by: Rich Burridge - runtests: identify BoringSSL and libressl Patrick Monnerat (27 Jan 2015) - docs: cite SASL external authentication. - sasl: remove XOAUTH2 from default enabled authentication mechanism. - test: add test cases for sasl external authentication (imap/pop3/smtp). - imap: remove automatic password setting: it breaks external sasl authentication - sasl: implement EXTERNAL authentication mechanism. Its use is only enabled by explicit requirement in URL (;AUTH=EXTERNAL) and by not setting the password. Steve Holme (27 Jan 2015) - openssl: Fixed Curl_ossl_cert_status_request() not returning FALSE Modified the Curl_ossl_cert_status_request() function to return FALSE when built with BoringSSL or when OpenSSL is missing the necessary TLS extensions. - openssl: Fixed compilation errors when OpenSSL built with 'no-tlsext' Fixed the build of openssl.c when OpenSSL is built without the necessary TLS extensions for OCSP stapling. Reported-by: John E. Malmberg - [Brad Spencer brought this change] curl_setup: Disable SMB/CIFS support when HTTP only - RELEASE-NOTES: Synced with 37824498a3 Daniel Stenberg (22 Jan 2015) - configure: remove detection of the old yassl emulation API ... as that is ancient history and not used. - OCSP stapling: disabled when build with BoringSSL - [Alessandro Ghedini brought this change] openssl: add support for the Certificate Status Request TLS extension Also known as "status_request" or OCSP stapling, defined in RFC6066 section 8. Thanks-to: Joe Mason - for the work-around for the OpenSSL bug. - BoringSSL: fix build for non-configure builds HAVE_BORINGSSL gets defined now by configure and should be defined by other build systems in case a BoringSSL build is desired. - configure: fix BoringSSL detection and detect libresssl Steve Holme (22 Jan 2015) - curl_sasl: Reinstate the sasl_ prefix for locally scoped functions Commit 7a8b2885e2 made some functions static and removed the public Curl_ prefix. Unfortunately, it also removed the sasl_ prefix, which is the naming convention we use in this source file. - curl_sasl: Minor code policing following recent commits Daniel Stenberg (22 Jan 2015) - [John Malmberg brought this change] openvms: Handle openssl/0.8.9zb version parsing packages/vms/gnv_link_curl.com was assuming only a single letter suffix in the openssl version. That assumption has been fixed for 7.40. - BoringSSL: detected by configure, switches off NTLM - BoringSSL: no PKCS12 support nor ERR_remove_state - [Leith Bade brought this change] BoringSSL: fix build Steve Holme (20 Jan 2015) - curl_sasl.c: chlglen is not used when cryptography is disabled - curl_sasl.c: Fixed compilation warning when cyptography is disabled curl_sasl.c:1453: warning C4101: 'serverdata' : unreferenced local variable - curl_sasl.c: Fixed compilation error when USE_WINDOWS_SSPI defined curl_sasl.c:1221: error C2065: 'mechtable' : undeclared identifier This error could also happen for non-SSPI builds when cryptography is disabled (CURL_DISABLE_CRYPTO_AUTH is defined). Patrick Monnerat (20 Jan 2015) - SASL: make some procedures local-scoped - SASL: common state engine for imap/pop3/smtp - SASL: common URL option and auth capabilities decoders for all protocols - IMAP/POP3/SMTP: use a per-connection sub-structure for SASL parameters. Daniel Stenberg (20 Jan 2015) - ipv6: enclose AF_INET6 uses with proper #ifdefs for ipv6 Reported-by: Chris Young - [Chris Young brought this change] timeval: typecast for better type (on Amiga) There is an issue with conflicting "struct timeval" definitions with certain AmigaOS releases and C libraries, depending on what gets included when. It's a minor difference - the OS one is unsigned, whereas the common structure has signed elements. If the OS one ends up getting defined, this causes a timing calculation error in curl. It's easy enough to resolve this at the curl end, by casting the potentially errorneous calculation to a signed long. - openssl: do public key pinning check independently ... of the other cert verification checks so that you can set verifyhost and verifypeer to FALSE and still check the public key. Bug: http://curl.haxx.se/bug/view.cgi?id=1471 Reported-by: Kyle J. McKay Patrick Monnerat (19 Jan 2015) - OS400: CURLOPT_SSL_VERIFYSTATUS for ILE/RPG too. Steve Holme (18 Jan 2015) - ldap: Renamed the CURL_LDAP_WIN definition to USE_WIN32_LDAP For consistency with other USE_WIN32_ defines as well as the USE_OPENLDAP define. - http_negotiate: Use dynamic buffer for SPN generation Use a dynamicly allocated buffer for the temporary SPN variable similar to how the SASL GSS-API code does, rather than using a fixed buffer of 2048 characters. - sasl_gssapi: Make Curl_sasl_build_gssapi_spn() public - sasl_gssapi: Fixed memory leak with local SPN variable Daniel Stenberg (17 Jan 2015) - http_negotiate.c: unused variable 'ret' Steve Holme (17 Jan 2015) - gskit.h: Code policing of function pointer arguments - vtls: Removed unimplemented overrides of curlssl_close_all() Carrying on from commit 037cd0d991, removed the following unimplemented instances of curlssl_close_all(): Curl_axtls_close_all() Curl_darwinssl_close_all() Curl_cyassl_close_all() Curl_gskit_close_all() Curl_gtls_close_all() Curl_nss_close_all() Curl_polarssl_close_all() - vtls: Separate the SSL backend definition from the API setup Slight code cleanup as the SSL backend #define is mixed up with the API function setup. - vtls: Fixed compilation errors when SSL not used Fixed the following warning and error from commit 3af90a6e19 when SSL is not being used: url.c:2004: warning C4013: 'Curl_ssl_cert_status_request' undefined; assuming extern returning int error LNK2019: unresolved external symbol Curl_ssl_cert_status_request referenced in function Curl_setopt - http_negotiate: Added empty decoded challenge message info text - http_negotiate: Return CURLcode in Curl_input_negotiate() instead of int - http_negotiate_sspi: Prefer use of 'attrs' for context attributes Use the same variable name as other areas of SSPI code. - http_negotiate_sspi: Use correct return type for QuerySecurityPackageInfo() Use the SECURITY_STATUS typedef rather than a unsigned long for the QuerySecurityPackageInfo() return and rename the variable as per other areas of SSPI code. - http_negotiate_sspi: Use 'CURLcode result' for CURL result code - curl_endian: Fixed build when 64-bit integers are not supported (Part 2) Missed Curl_read64_be() in commit bb12d44471 :( Daniel Stenberg (16 Jan 2015) - CURLOPT_SSL_VERIFYSTATUS.3: mention it is added in version 7.41.0 - curlver.h: next release is 7.41.0 due to the changes - RELEASE-NOTES: mention the new OCSP stapling options, bump version - opts: add CURLOPT_SSL_VERIFYSTATUS* to docs/Makefile - help: add --cert-status to --help output - copyright years: after OCSP stapling changes - [Alessandro Ghedini brought this change] curl: add --cert-status option This enables the CURLOPT_SSL_VERIFYSTATUS functionality. - [Alessandro Ghedini brought this change] nss: add support for the Certificate Status Request TLS extension Also known as "status_request" or OCSP stapling, defined in RFC6066 section 8. This requires NSS 3.15 or higher. - [Alessandro Ghedini brought this change] gtls: add support for the Certificate Status Request TLS extension Also known as "status_request" or OCSP stapling, defined in RFC6066 section 8. This requires GnuTLS 3.1.3 or higher to build, however it's recommended to use at least GnuTLS 3.3.11 since previous versions had a bug that caused the OCSP response verfication to fail even on valid responses. - [Alessandro Ghedini brought this change] url: add CURLOPT_SSL_VERIFYSTATUS option This option can be used to enable/disable certificate status verification using the "Certificate Status Request" TLS extension defined in RFC6066 section 8. This also adds the CURLE_SSL_INVALIDCERTSTATUS error, to be used when the certificate status verification fails, and the Curl_ssl_cert_status_request() function, used to check whether the SSL backend supports the status_request extension. - TheArtOfHttpScripting: skip the date at the top, we have git - TheArtOfHttpScripting: phrase it TLS lib agnostic Steve Holme (16 Jan 2015) - TODO: Added some SMB ideas - RELEASE-NOTES: Synced with 5f09947d28 - build-openssl.bat: Added check for Perl installation - checksrc.bat: Better detection of Perl installation - curl_endian: Fixed build when 64-bit integers are not supported Bug: http://curl.haxx.se/mail/lib-2015-01/0094.html Reported-by: John E. Malmberg Daniel Stenberg (15 Jan 2015) - [Yun SangHo brought this change] curl.h: remove extra space - Curl_pretransfer: reset expected transfer sizes Reported-by: Mohammad AlSaleh Bug: http://curl.haxx.se/mail/lib-2015-01/0065.html Marc Hoersken (12 Jan 2015) - curl_schannel.c: mark session as removed from cache if not freed If the session is still used by active SSL/TLS connections, it cannot be closed yet. Thus we mark the session as not being cached any longer so that the reference counting mechanism in Curl_schannel_shutdown is used to close and free the session. Reported-by: Jean-Francois Durand Steve Holme (9 Jan 2015) - RELEASE-NOTES: Synced with d21b66835f Guenter Knauf (9 Jan 2015) - Merge pull request #134 from vszakats/mingw-m64 add -m64 CFLAGS when targeting mingw64, add -m32/-m64 to LDFLAGS - Merge pull request #136 from vszakats/mingw-allow-custom-cflags mingw build: allow to pass custom CFLAGS Daniel Stenberg (9 Jan 2015) - NSS: fix compiler error when built http2-enabled Steve Holme (9 Jan 2015) - gssapi: Remove need for duplicated GSS_C_NT_HOSTBASED_SERVICE definitions Better code reuse and consistency in calls to gss_import_name(). Viktor Szakats (9 Jan 2015) - mingw build: allow to pass custom CFLAGS Daniel Stenberg (8 Jan 2015) - FTP: if EPSV fails on IPV6 connections, bail out ... instead of trying PASV, since PASV can't work with IPv6. Reported-by: Vojtěch Král - FTP: fix IPv6 host using link-local address ... and make sure we can connect the data connection to a host name that is longer than 48 bytes. Also simplifies the code somewhat by re-using the original host name more, as it is likely still in the DNS cache. Original-Patch-by: Vojtěch Král Bug: http://curl.haxx.se/bug/view.cgi?id=1468 Steve Holme (8 Jan 2015) - [Sam Schanken brought this change] winbuild: Added option to build with c-ares Added support for a WITH_CARES option to be used when invoking nmake via Makefile.vc. This option enables linking against both the DLL and static versions of the c-ares libraries, as well as the debug and release varients, depending on the value of DEBUG. The USE_ARES preprocessor symbol is also defined. Guenter Knauf (8 Jan 2015) - NetWare build: added TLS-SRP enabled build. Steve Holme (8 Jan 2015) - sasl_gssapi: Fixed build on NetBSD with built-in GSS-API Bug: http://curl.haxx.se/bug/view.cgi?id=1469 Reported-by: Thomas Klausner Viktor Szakats (8 Jan 2015) - add -m64 clags when targeting mingw64, add -m32/-m64 to LDFLAGS Daniel Stenberg (8 Jan 2015) - bump: start working towards 7.40.1 - THANKS: 14 new contributors from the 7.40.0 release notes |
||
wiz
|
42365f1aa9 | Fix build with GSSAPI on NetBSD. Enable gssapi again. | ||
wiz
|
8644aac48d |
Update to 7.38.0:
Changes: supports HTTP/2 draft-14 CURLE_HTTP2 is a new error code CURLAUTH_NEGOTIATE is a new auth define CURL_VERSION_GSSAPI is a new capability bit no longer use fbopenssl for anything schannel: use CryptGenRandom for random numbers axtls: define curlssl_random using axTLS's PRNG cyassl: use RNG_GenerateBlock to generate a good random number findprotocol: show unsupported protocol within quotes version: detect and show LibreSSL version: detect and show BoringSSL imap/pop3/smtp: Kerberos (SASL GSSAPI) authentication via Windows SSPI http2: requires nghttp2 0.6.0 or later Bugfixes: SECURITY ADVISORY: cookie leak with IP address as domain SECURITY ADVISORY: cookie leak for TLDs fix a build failure on Debian when NSS support is enabled HTTP/2: fixed compiler warnings when built disabled cyassl: return the correct error code on no CA cert http: Deprecate GSS-Negotiate macros due to bad naming http: Fixed Negotiate: authentication multi: Improve proxy CONNECT performance (regression) ntlm_wb: Avoid invoking ntlm_auth helper with empty username ntlm_wb: Fix hard-coded limit on NTLM auth packet size url.c: use the preferred symbol name: *READDATA smtp: fixed a segfault during test 1320 torture test cyassl: made it compile with version 2.0.6 again nss: do not check the version of NSS at run time c-ares: fix build without IPv6 support HTTP/2: use base64url encoding SSPI Negotiate: Fix 3 memory leaks libtest: fixed duplicated line in Makefile conncache: fix compiler warning openssl: make ossl_send return CURLE_OK better HTTP/2: Support expect: 100-continue HTTP/2: Fix infinite loop in readwrite_data() parsedate: fix the return code for an overflow edge condition darwinssl: don't use strtok() http_negotiate_sspi: Fixed specific username and password not working openssl: replace call to OPENSSL_config http2: show the received header for better debugging HTTP/2: Move :authority before non-pseudo header fields HTTP/2: Reset promised stream, not its associated stream HTTP/2: added some more logging for debugging stream problems ntlm: Added support for SSPI package info query ntlm: Fixed hard coded buffer for SSPI based auth packet generation sasl_sspi: Fixed memory leak with not releasing Package Info struct sasl_sspi: Fixed SPN not being converted to wchar under Unicode builds sasl: Use a dynamic buffer for DIGEST-MD5 SPN generation http_negotiate_sspi: Use a dynamic buffer for SPN generation sasl_sspi: Fixed missing free of challenge buffer on SPN failure sasl_sspi: Fixed hard coded buffer for response generation Curl_poll + Curl_wait_ms: fix timeout return value docs/SSLCERTS: update the section about NSS database create_conn: prune dead connections openssl: fix version report for the 0.9.8 branch mk-ca-bundle.pl: switched to using hg.mozilla.org http: fix the Content-Range: parser Curl_disconnect: don't free the URL win32: Fixed WinSock 2 #if NTLM: ignore CURLOPT_FORBID_REUSE during NTLM HTTP auth curl.1: clarify --limit-rate's effect on both directions disconnect: don't touch easy-related state on disconnects Cmake: big cleanup and numerous fixes HTTP/2: supports draft-14 - moved :headers before the non-psuedo headers HTTP/2: Reset promised stream, not its associated stream configure.ac: Add support for recent GSS-API implementations for HP-UX CONNECT: close proxy connections that fail CURLOPT_NOBODY.3: clarify this option is for downloads darwinssl: fix CA certificate checking using PEM format resolve: cache lookup for async resolvers low-speed-limit: avoid timeout flood polarssl: implement CURLOPT_SSLVERSION multi: convert CURLM_STATE_CONNECT_PEND handling to a list curl_multi_cleanup: remove superfluous NULL assigns polarssl: support CURLOPT_CAPATH / --capath progress: size_dl/size_ul are always >= 0, and clear "KNOWN" properly |
||
wiz
|
fbdc10ec97 |
Update to 7.37.1:
Changes: bits.close: introduce connection close tracking darwinssl: Add support for --cacert polarssl: add ALPN support docs: Added new option man pages Bugfixes: build: Fixed incorrect reference to curl_setup.h in Visual Studio files build: Use $(TargetDir) and $(TargetName) macros for .pdb and .lib output curl.1: clarify that -u can't specify a user with colon openssl: Fix uninitialized variable use in NPN callback curl_easy_reset: reset the URL curl_version_info.3: returns a pointer to a static struct url-parser: only use if_nametoindex if detected by configure select: with winsock, avoid passing unsupported arguments to select() gnutls: don't use deprecated type names anymore gnutls: allow building with nghttp2 but without ALPN support tests: Fix portability issue with the tftpd server curl_sasl_sspi: Fixed corrupt hostname in DIGEST-MD5 SPN curl_sasl: extended native DIGEST-MD5 cnonce to be a 32-byte hex string random: use Curl_rand() for proper random data Curl_ossl_init: call OPENSSL_config for initing engines config-win32.h: Updated for VC12 winbuild: Don't USE_WINSSL when WITH_SSL is being used getinfo: HTTP CONNECT code not reset between transfers Curl_rand: Use a fake entropy for debug builds when CURL_ENTROPY set http2: avoid segfault when using the plain-text http2 conncache: move the connection counter to the cache struct http2: better return code error checking curlbuild: fix GCC build on SPARC systems without configure script tool_metalink: Support polarssl as digest provider curl.h: reverse the enum/define setup for old symbols curl.h: moved two really old deprecated symbols curl.h: renamed CURLOPT_DEPRECATEDx to CURLOPT_OBSOLETEx buildconf: do not search tools in current directory. OS400: make it compilable again. Make RPG binding up to date nss: do not abort on connection failure (failing tests 305 and 404) nss: make the fallback to SSLv3 work again tool: prevent valgrind from reporting possibly lost memory (nss only) progress callback: skip last callback update on errors nss: fix a memory leak when CURLOPT_CRLFILE is used compiler warnings: potentially uninitialized variables url.c: Fixed memory leak on OOM gnutls: ignore invalid certificate dates with VERIFYPEER disabled gnutls: fix SRP support with versions of GnuTLS from 2.99.0 gnutls: fixed a couple of uninitialized variable references gnutls: fixed compilation against versions < 2.12.0 build: Fixed overridden compiler PDB settings in VC7 to VC12 ntlm_wb: Fixed buffer size not being large enough for NTLMv2 sessions netrc: don't abort if home dir cannot be found netrc: fixed thread safety problem by using getpwuid_r if available cookie: avoid mutex deadlock configure: respect host tool prefix for krb5-config gnutls: handle IP address in cert name check |
||
ryoon
|
ce7f914378 | Fix build under SCO OpenServer 5.0.7/3.2. | ||
wiz
|
daf496e987 |
Add missing header for DragonflyBSD.
PR 48691 by David Shao. |
||
spz
|
53f612ae93 |
Upstream release notes:
Fixed in 7.36.0 - March 26 2014 Release contains security-related bug fixes Changes: ntlm: Added support for NTLMv2 tool: Added support for URL specific options openssl: add ALPN support gtls: add ALPN support nss: add ALPN and NPN support added CURLOPT_EXPECT_100_TIMEOUT_MS tool: add --no-alpn and --no-npn added CURLOPT_SSL_ENABLE_NPN and CURLOPT_SSL_ENABLE_ALPN winssl: enable TLSv1.1 and TLSv1.2 by default winssl: TLSv1.2 disables certificate signatures using MD5 hash winssl: enable hostname verification of IP address using SAN or CN darwinssl: Don't omit CN verification when an IP address is used http2: build with current nghttp2 version polarssl: dropped support for PolarSSL < 1.3.0 openssl: info message with SSL version used Bugfixes: SECURITY ADVISORY: wrong re-use of connections SECURITY ADVISORY: IP address wildcard certificate validation SECURITY ADVISORY: not verifying certs for TLS to IP address / Darwinssl SECURITY ADVISORY: not verifying certs for TLS to IP address / Winssl nss: allow to use ECC ciphers if NSS implements them netrc: Fixed a memory leak in an OOM condition ftp: fixed a memory leak on wildcard error path pipeline: Fixed a NULL pointer dereference on OOM nss: prefer highest available TLS version 100-continue: fix timeout condition ssh: Fixed a NULL pointer dereference on OOM condition formpost: use semicolon in multipart/mixaed --help: add missing --tlsv1.x options formdata: Fixed memory leak on OOM condition ConnectionExists: reusing possible HTTP+NTLM connections better mingw32: fix compilation chunked decoder: track overflows correctly curl_easy_setopt.3: add CURL_HTTP_VERSION_2_0 dict: fix memory leak in OOM exit path valgrind: added suppression on optimized code curl: output protocol headers using binary mode tool: Added URL index to password prompt for multiple operations ConnectionExists: re-use non-NTLM connections better axtls: call ssl_read repeatedly multi: make MAXCONNECTS default 4 x number of easy handles function configure: Fix the --disable-crypto-auth option multi: ignore SIGPIPE internally curl.1: update the description of --tlsv1 SFTP: skip reading the dir when NOBODY=1 easy: Fixed a memory leak on OOM condition tool: Fixed incorrect return code when setting HTTP request fails configure: Tiny fix to honor POSIX tool: Do not output libcurl source for the information only parameters Rework Open Watcom make files to use standard Wmake features x509asn: moved out Curl_verifyhost from NSS builds configure: call it GSS-API hostcheck: Curl_cert_hostcheck is not used by NSS builds multi_runsingle: move timestamp into INIT remote_port: allow connect to port 0 parse_remote_port: error out on illegal port numbers better ssh: Pass errors from libssh2_sftp_read up the stack docs: remove documentation on setting up krb4 support polarssl: build fixes to work with PolarSSL 1.3.x polarssl: fix possible handshake timeout issue in multi nss: allow to enable/disable cipher-suites better ssh: prevent a logic error that could result in an infinite loop http2: free resources on disconnect polarssl: avoid extra newlines in debug messages rtsp: parse "Session:" header properly trynextip: don't store 'ai' on failed connects Curl_cert_hostcheck: strip trailing dots in host name and wildcard |
||
adam
|
0774b537d8 |
Changes 7.35.0:
imap/pop3/smtp: Added support for SASL authentication downgrades imap/pop3/smtp: Extended the login options to support multiple auth mechanisms TheArtOfHttpScripting: major update, converted layout and more mprintf: Added support for I, I32 and I64 size specifiers makefile: Added support for VC7, VC11 and VC12 Bugfixes: SECURITY ADVISORY: re-use of wrong HTTP NTLM connection curl_easy_setopt: Fixed OAuth 2.0 Bearer option name pop3: Fixed APOP being determined by CAPA response rather than by timestamp Curl_pp_readresp: zero terminate line FILE: don't wait due to CURLOPT_MAX_RECV_SPEED_LARGE docs: mention CURLOPT_MAX_RECV/SEND_SPEED_LARGE don't work for FILE:// pop3: Fixed auth preference not being honored when CAPA not supported imap: Fixed auth preference not being honored when CAPABILITY not supported threaded resolver: Use pthread_t * for curl_thread_t FILE: we don't support paused transfers using this protocol connect: Try all addresses in first connection attempt curl_easy_setopt.3: Added SMTP information to CURLOPT_INFILESIZE_LARGE OpenSSL: Fix forcing SSLv3 connections openssl: allow explicit sslv2 selection FTP parselist: fix "total" parser conncache: fix possible dereference of null pointer multi.c: fix possible dereference of null pointer mk-ca-bundle: introduces -d and warns about using this script ConnectionExists: fix NTLM check for new connection trynextip: fix build for non-IPV6 capable systems Curl_updateconninfo: don't do anything for UDP "connections" darwinssl: un-break Leopard build after PKCS-12 change threaded-resolver: never use NULL hints with getaddrinf multi_socket: remind app if timeout didn't run OpenSSL: deselect weak ciphers by default error message: Sensible message on timeout when transfer size unknown curl_easy_setopt.3: mention how to unset CURLOPT_INFILESIZE* win32: Fixed use of deprecated function 'GetVersionInfoEx' for VC12 configure: fix gssapi linking on HP-UX chunked-parser: abort on overflows, allow 64 bit chunks chunked parsing: relax the CR strictness cookie: max-age fixes progress bar: always update when at 100% progress bar: increase update frequency to 10Hz tool: Fixed incorrect return code if command line parser runs out of memory tool: Fixed incorrect return code if password prompting runs out of memory HTTP POST: omit Content-Length if data size is unknown GnuTLS: disable insecure ciphers GnuTLS: honor --slv2 and the --tlsv1[.N] switches multi: Fixed a memory leak on OOM condition netrc: Fixed a memory and file descriptor leak on OOM getpass: fix password parsing from console TFTP: fix crash on time-out hostip: don't remove DNS entries that are in use tests: lots of tests fixed to pass the OOM torture tests |
||
adam
|
45bccd716e |
Changes 7.33.0:
* test code for testing the event based API * CURLM_ADDED_ALREADY: new error code * test TFTP server: support "writedelay" within * krb4 support has been removed * imap/pop3/smtp: added basic SASL XOAUTH2 support * darwinssl: add support for PKCS12 files for client authentication * darwinssl: enable BEAST workaround on iOS 7 & later * Pass password to OpenSSL engine by user interface * c-ares: Add support for various DNS binding options * cookies: add expiration * curl: added --oauth2-bearer option |
||
richard
|
ae3c0aa7cc | update builtin solaris gssapi/mit-krb5 support for curl | ||
spz
|
fd4cd3604a |
update of cURL to the current version. Upstream changelog:
Changes: -------- darwinssl: add TLS session resumption darwinssl: add TLS crypto authentication imap/pop3/smtp: Added support for ;auth= in the URL imap/pop3/smtp: Added support for ;auth= to CURLOPT_USERPWD usercertinmem.c: add example showing user cert in memory url: Added smtp and pop3 hostnames to the protocol detection list imap/pop3/smtp: Added support for enabling the SASL initial response curl -E: allow to use ':' in certificate nicknames Bugfixes: --------- SECURITY VULNERABILITY: curl_easy_unescape() may parse data beyond the end of the input buffer [26] FTP: access files in root dir correctly configure: try pthread_create without -lpthread FTP: handle a 230 welcome response curl-config: don't output static libs when they are disabled CURL_CHECK_CA_BUNDLE: don't check for paths when cross-compiling Various documentation updates getinfo.c: reset timecond when clearing session-info variables FILE: prevent an artificial timeout event due to stale speed-check data ftp_state_pasv_resp: connect through proxy also when set by env sshserver: disable StrictHostKeyChecking ftpserver: Fixed imap logout confirmation data curl_easy_init: use less mallocs smtp: Fixed unknown percentage complete in progress bar smtp: Fixed sending of double CRLF caused by first in EOB bindlocal: move brace out of #ifdef winssl: Fixed invalid memory access during SSL shutdown OS X framework: fix invalid symbolic link OpenSSL: allow empty server certificate subject axtls: prevent memleaks on SSL handshake failures cookies: only consider full path matches Revert win32 MemoryTracking: wcsdup() _wcsdup() and _tcsdup() Curl_cookie_add: handle IPv6 hosts ossl_send: SSL_write() returning 0 is an error too ossl_recv: SSL_read() returning 0 is an error too Digest auth: escape user names with backslash or " in them curl_formadd.3: fixed wrong "end-marker" syntax libcurl-tutorial.3: fix incorrect backslash curl_multi_wait: reduce timeout if the multi handle wants to tests/Makefile: typo in the perlcheck target axtls: honor disabled VERIFYHOST OpenSSL: avoid double free in the PKCS12 certificate code multi_socket: reduce timeout inaccuracy margin digest: support auth-int for empty entity body axtls: now done non-blocking lib1900: use tutil_tvnow instead of gettimeofday curl_easy_perform: avoid busy-looping CURLOPT_COOKIELIST: take cookie share lock multi_socket: react on socket close immediately |
||
drochner
|
4878ce9982 |
add patch from upstream to fix possible buffer overflow in URL parser
(CVE-2013-2174), bump PKGREV |
||
wiz
|
92f627b213 |
Update to 7.30.0:
Fixed in 7.30.0 - April 12 2013 Release contains security-related bug fix Changes: imap: Changed response tag generation to be completely unique imap: Added support for SASL-IR extension imap: Added support for the list command imap: Added support for the append command imap: Added custom request parsing imap: Added support to the fetch command for UID and SECTION properties imap: Added parsing and verification of the UIDVALIDITY mailbox attribute darwinssl: Make certificate errors less techy imap/pop3/smtp: Added support for the STARTTLS capability checksrc: ban use of sprintf, vsprintf, strcat, strncat and gets curl_global_init() now accepts the CURL_GLOBAL_ACK_EINTR flag Added CURLMOPT_MAX_HOST_CONNECTIONS, CURLMOPT_MAX_TOTAL_CONNECTIONS for new multi interface connection handling Added CURLMOPT_MAX_PIPELINE_LENGTH, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, CURLMOPT_PIPELINING_SITE_BL and CURLMOPT_PIPELI NING_SERVER_BL for new pipelining control Bugfixes: SECURITY ADVISORY: cookie tailmatching to avoid cross-domain leakage darwinssl: Fix build under Leopard DONE: consider callback-aborted transfers premature ntlm: Fixed memory leaks smtp: Fixed an issue when processing EHLO failure responses pop3: Fixed incorrect return value from pop3_endofresp() pop3: Fixed SASL authentication capability detection pop3: Fixed blocking SSL connect when connecting via POP3S imap: Fixed memory leak when performing multiple selects nss: fix misplaced code enabling non-blocking socket mode AddFormData: prevent only directories from being posted darwinssl: fix infinite loop if server disconnected abruptly metalink: fix improbable crash parsing metalink filename show proper host name on failed resolve MacOSX-Framework: Make script work in Xcode 4.0 and later strlcat: remove function darwinssl: Fix send glitchiness with data > 32 or so KB polarssl: better 1.1.x and 1.2.x support various documentation improvements multi: NULL pointer reference when closing an unused multi handle SOCKS: fix socks proxy when noproxy matched install-sh: updated to support multiple source files as arguments PolarSSL: added human readable error strings resolver_error: remove wrong error message output docs: updates HTML index and general improvements curlbuild.h.dist: enhance non-configure GCC ABI detection logic sasl: Fixed null pointer reference when decoding empty digest challenge easy: do not ignore poll() failures other than EINTR darwinssl: disable ECC ciphers under Mountain Lion by default CONNECT: count received headers build: fixes for VMS CONNECT: clear 'rewindaftersend' on success HTTP proxy: insert slash in URL if missing hiperfifo: updated to use current libevent API getinmemory.c: abort the transfer nicely if not enough memory improved win32 memorytracking corrected proxy header response headers count FTP quote operations on re-used connection tcpkeepalive on win32 tcpkeepalive on Mac OS X easy: acknowledge the CURLOPT_MAXCONNECTS option properly easy interface: restore default MAXCONNECTS to 5 win32: don't set SO_SNDBUF for windows vista or later versions HTTP: made cookie sort function more deterministic winssl: Fixed memory leak if connection was not successful FTP: wait on both connections during active STOR state connect: treat a failed local bind of an interface as a non-fatal error darwinssl: disable insecure ciphers by default FTP: handle "rubbish" in front of directory name in 257 responses mk-ca-bundle: Fixed lost OpenSSL output with "-t" |
||
tsutsui
|
c5c17e84b7 |
Make "curl-config --libs" return proper ldflags for shared libraries.
After curl 7.25.0 update (imported to pkgsrc at 20120417), "curl-config --libs" no longer returns "-Wl,-R/usr/pkg/lib" while "curl-config --static-libs" still returns it. Fixes the root cause of libcurl part of PR pkg/46567, and this is also required to fix openoffice3 issue as mentioned in PR pkg/46983. The problem is tracked and reported by Yasushi Oshima. Bump PKGREVISION. |
||
obache
|
edb4b1c237 |
Fix NULL pointer reference when closing an unused multi handle.
(upstream commit da3fc1ee91de656a30f3a12de394bcba55119872) PR pkg/47610 by dieter roelants Bump PKGREVISION. |
||
wiz
|
f3fe251eb8 |
Update to 7.29.0:
Fixed in 7.29.0 - February 6 2013 Release contains security-related bug fix (already fixed in pkgsrc) Changes: test: offer "automake" output and check for perl better always-multi: always use non-blocking internals imap: Added support for sasl digest-md5 authentication imap: Added support for sasl cram-md5 authentication imap: Added support for sasl ntlm authentication imap: Added support for sasl login authentication imap: Added support for sasl plain text authentication imap: Added support for login disabled server capability mk-ca-bundle: add -f, support passing to stdout and more writeout: -w now supports remote_ip/port and local_ip/port Bugfixes: SECURITY ADVISORY: SASL buffer overflow vulnerability nss: prevent NSS from crashing on client auth hook failure darwinssl: Fixed inability to disable peer verification on Snow Leopard and Lion curl_multi_remove_handle: fix memory leak triggered with CURLOPT_RESOLVE SCP: relative path didn't work as documented setup_once.h: HP-UX issue workaround configure: fix cross pkg-config detection runtests: Do not add undefined values to @INC build: fix compilation with CURL_DISABLE_CRYPTO_AUTH flag multi: fix re-sending request on early connection close HTTP: remove stray CRLF in chunk-encoded content-free request bodies build: fix AIX compilation and usage of events/revents VC Makefiles: add missing hostcheck nss: clear session cache if a client certificate from file is used nss: fix error messages for CURLE_SSL_{CACERT,CRL}_BADFILE fix HTTP CONNECT tunnel establishment upon delayed response --libcurl: fix for non-zero default options FTP: reject illegal port numbers in EPSV 229 responses build: use per-target '_CPPFLAGS' for those currently using default configure: fix automake 1.13 compatibility curl: ignore SIGPIPE pop3: Added support for non-blocking SSL upgrade pop3: Fixed default authentication detection imap: Fixed usernames and passwords that contain escape characters packages/DOS/common.dj: remove COFF debug info generation imap/pop3/smtp: Fixed failure detection during TLS upgrade pop3: Fixed no known authentication mechanism when fallback is required formadd: reject trying to read a directory where a file is expected formpost: support quotes, commas and semicolon in file names docs: update the comments about loading CA certs with NSS docs: fix typos in man pages darwinssl: Fix bug where packets were sometimes transmitted twice winbuild: include version info for .dll .exe schannel: Removed extended error connection setup flag VMS: fix and generate the VMS build config |
||
drochner
|
1a9149f976 |
add patch from upstream to fix SASL buffer overflow vulnerability
(CVE-2013-0249), bump PKGREV |
||
drochner
|
3da5c037d0 |
update to 7.27.0
changes: -added --metalink for metalink download support -pop3: added more authentication types -error message improvements -bugfixes |
||
marino
|
43760cbc04 |
www/curl: Fix TCP_KEEPIDLE unit for DragonFly
DragonFly uses millisecond rather than second as the unit of TCP_KEEPIDLE. Patch multiples obtained value by 1000 on DragonFly. Patch will be submitted to curl at SourceForge. |
||
wiz
|
06f4792776 |
Update to 7.26:
This release includes the following changes: o nss: the minimal supported version of NSS bumped to 3.12.x o nss: human-readable names are now provided for NSS errors if available o add a manual page for mk-ca-bundle o added --post303 and the CURL_REDIR_POST_303 option for CURLOPT_POSTREDIR o smtp: Add support for DIGEST-MD5 authentication o pop3: Added support for additional pop3 commands This release includes the following bugfixes: o nss: libcurl now uses NSS_InitContext() to prevent collisions if available [1] o URL parse: reject numerical IPv6 addresses outside brackets [4] o MD5: fix OOM memory leak [5] o OpenSSL cert: provide more details when cert check fails o HTTP: empty chunked POST ended up in two zero size chunks [6] o fixed a regression when curl resolved to multiple addresses and the first isn't supported [7] o -# progress meter: avoid superfluous updates and duplicate lines [8] o headers: surround GCC attribute names with double underscores [9] o PolarSSL: correct return code for CRL matches o PolarSSL: include version number in version string o PolarSSL: add support for asynchronous connect o mk-ca-bundle: revert the LWP usage [12] o IPv6 cookie domain: get rid of the first bracket before the second o connect.c: return changed to CURLE_COULDNT_CONNECT when opensocket fails o OpenSSL: Made cert hostname check conform to RFC 6125 [10] o HTTP: reset expected DL/UL sizes on redirects [11] o CMake: fix Windows LDAP/LDAPS option handling [2] o CMake: fix MS Visual Studio x64 unsigned long long literal suffix [3] o configure: update detection logic of getaddrinfo() thread-safeness o configure: check for gethostbyname in the watt lib o curl-config.1: fix curl-config usage in example [13] o smtp: Fixed non-escaping of dot character at beginning of line o MakefileBuild.vc: use the correct IDN variable o autoconf: improve handling of versioned symbols o curl.1: clarify -x usage o curl: shorten user-agent o smtp: issue with the multi-interface always sending postdata [14] o compile error with GnuTLS+Nettle fixed o winbuild: fix IPv6 enabled build |