432 Commits

Author SHA256 Message Date
Ana Guerrero
92eb13e81c Accepting request 1224026 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1224026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=205
2024-11-15 14:38:40 +00:00
e514e4adb9 - Add patch to fix libcurl when netrc parsing is enabled.
curl_easy_duphandle did not init netrc which broke applications such
  as for example git. gh#curl/curl#15496
  * 0001-duphandle-also-init-netrc.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=383
2024-11-13 18:24:08 +00:00
Ana Guerrero
bc63b04b00 Accepting request 1221730 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1221730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=204
2024-11-08 10:56:03 +00:00
341d455708 - curl: HSTS subdomain overwrites parent cache entry
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=381
2024-11-06 10:59:39 +00:00
6f54666362 - Update to 8.11.0:
* Security fixes: [bsc#1232528, CVE-2024-9681]
    *  curl: HSTS subdomain overwrites parent cache entry
  * Changes:
    - curl: --create-dirs works for --dump-header as well
    - gtls: Add P12 format support
    - ipfs: add options to disable
    - TLS: TLSv1.3 earlydata support for curl
    - WebSockets: make support official (non-experimental)
  * Bugfixes:
    - build: clarify CA embed is for curl tool, mark default, improve summary
    - build: show if CA bundle to embed was found
    - build: tidy up and improve versioned-symbols options
    - cmake/FindNGTCP2: use library path as hint for finding crypto module
    - cmake: disable default OpenSSL if BearSSL, GnuTLS or Rustls is enabled
    - cmake: rename LDAP dependency config variables to match Find modules
    - cmake: replace 'check_include_file_concat()' for LDAP and GSS detection
    - cmake: use OpenSSL for LDAP detection only if available
    - curl: add build options for safe/no CA bundle search (Windows)
    - curl: detect ECH support dynamically, not at build time
    - curl_addrinfo: support operating systems with only getaddrinfo(3)
    - ftp: fix 0-length last write on upload from stdin
    - gnutls: use session cache for QUIC
    - hsts: improve subdomain handling
    - hsts: support "implied LWS" properly around max-age
    - http2: auto reset stream on server eos
    - json.md: cli-option '--json' is an alias of '--data-binary'
    - lib: move curl_path.[ch] into vssh/
    - lib: remove function pointer typecasts for hmac/sha256/md5
    - libssh.c: handle EGAINS during proto-connect correctly

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=380
2024-11-06 08:59:33 +00:00
Ana Guerrero
0a3d251863 Accepting request 1202949 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1202949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=203
2024-09-25 19:52:52 +00:00
af35f5848c - Update to 8.10.1:
* Bugfixes:
    - autotools: fix `--with-ca-embed` build rule
    - cmake: ensure `CURL_USE_OPENSSL`/`USE_OPENSSL_QUIC` are set in sync
    - cmake: fix MSH3 to appear on the feature list
    - connect: store connection info when really done
    - FTP: partly revert eeb7c1280742f5c8fa48a4340fc1e1a1a2c7075a
    - http2: when uploading data from stdin, fix eos forwarding
    - http: make max-filesize check not count ignored bodies
    - lib: fix AF_INET6 use outside of USE_IPV6
    - multi: check that the multi handle is valid in curl_multi_assign
    - QUIC: on connect, keep on trying on draining server
    - request: correctly reset the eos_sent flag
    - setopt: remove superfluous use of ternary expressions
    - singleuse: drop `Curl_memrchr()` for no-HTTP builds
    - tool_cb_wrt: use "curl_response" if no file name in URL
    - transfer: fix sendrecv() without interim poll
    - vtls: fix `Curl_ssl_conn_config_match` doc param

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=378
2024-09-24 12:23:33 +00:00
Ana Guerrero
7e3c72331b Accepting request 1200087 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1200087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=202
2024-09-12 14:54:04 +00:00
1b4d5053ee - Update to version 8.10.0:
* Security fixes:
    - [bsc#1230093, CVE-2024-8096] curl: OCSP stapling bypass with GnuTLS
  * Changes:
    - curl: make --rate accept "number of units"
    - curl: make --show-headers the same as --include
    - curl: support --dump-header % to direct to stderr
    - curl: support embedding a CA bundle and --dump-ca-embed
    - curl: support repeated use of the verbose option; -vv etc
    - curl: use libuv for parallel transfers with --test-event
    - vtls: stop offering alpn http/1.1 for http2-prior-knowledge
  * Bugfixes:
    - curl: allow 500MB data URL encode strings
    - curl: warn on unsupported SSL options
    - Curl_rand_bytes to control env override
    - curl_sha512_256: fix symbol collisions with nettle library
    - dist: fix reproducible build from release tarball
    - http2: fix GOAWAY message sent to server
    - http2: improve rate limiting of downloads
    - INSTALL.md: MultiSSL and QUIC are mutually exclusive
    - lib: add eos flag to send methods
    - lib: make SSPI global symbols use Curl_ prefix
    - lib: prefer `CURL_SHA256_DIGEST_LENGTH` over the unprefixed name
    - lib: remove the final strncpy() calls
    - lib: remove use of RANDOM_FILE
    - Makefile.mk: fixup enabling libidn2
    - max-filesize.md: mention zero disables the limit
    - mime: avoid inifite loop in client reader
    - ngtcp2: use NGHTTP3 prefix instead of NGTCP2 for errors in h3 callbacks
    - openssl quic: fix memory leak

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=376
2024-09-11 09:48:55 +00:00
Dominique Leuenberger
778b169630 Accepting request 1193338 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1193338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=201
2024-08-13 11:22:08 +00:00
3016d19102 - Fix regression introduced in version 8.9.1:
* sigpipe: init the struct so that first apply ignores
  * Add curl-sigpipe.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=374
2024-08-12 06:51:32 +00:00
ad3a9fe272 - Update to 8.9.1:
* Security fixes:
    - curl: ASN.1 date parser overread [bsc#1228535, CVE-2024-7264]
  * Bugfixes:
    - cmake: detect 'libssh' via 'pkg-config'
    - cmake: detect 'nettle' when building with GnuTLS
    - connect: fix connection shutdown for event based processing
    - curl: more defensive socket code for --ip-tos
    - CURLOPT_SSL_CTX_FUNCTION.md: mention CA caching
    - CURLSHOPT_SHARE.md: mention sessions/cookies as not thread-safe
    - ftpserver.pl: make POP3 LIST serve content from the test file
    - lib: survive some NULL input args
    - os400: build cli manual.
    - os400: workaround an IBM ASCII run-time library bug
    - transfer: speed limiting fix for 32bit systems
    - vtls: avoid forward declaration in MultiSSL builds
    - x509asn1: unittests and fixes for gtime2str

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=373
2024-07-31 08:35:10 +00:00
Dominique Leuenberger
f27f10ffaa Accepting request 1189336 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1189336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=200
2024-07-30 09:53:10 +00:00
6c4ee5ecf7 - Update to 8.9.0:
* Security fixes:
    - [bsc#1227888, CVE-2024-6197] curl: freeing stack buffer
      in utf8asn1str
    - [bsc#1228260, CVE-2024-6874] idn: tweak buffer use when
      converting with macidn
  * Changes:
    - curl: add --ip-tos (IP Type of Service / Traffic Class)
    - curl: add --mptcp
    - curl: add --vlan-priority
    - curl: add -w '%{num_retries}
    - gnutls: support CA caching
    - mbedtls: support CURLOPT_CERTINFO
    - noproxy: patterns need to be comma separated
    - socket: support binding to interface *AND* IP
    - tcpkeepalive: add CURLOPT_TCP_KEEPCNT and --keepalive-cnt
    - urlapi: add CURLU_NO_GUESS_SCHEME
    - wolfssl: support CA caching
  * Bugfixes:
    - connection: shutdown TLS (for FTP) better
    - curl-config: revert to backticks to support old target envs
    - curl: allow etag and content-disposition for 3xx reply
    - curl: bsearch the --write-out variable name
    - curl: check for --disable case *sensitively*
    - doh: fix leak and zero-length HTTPS RR crash
    - file: separate fake headers and body with a stand-alone CRLF
    - ftp: remove redundant null pointer check in loop condition
    - gnutls: improve TLS shutdown
    - gnutls: pass in SNI name, not hostname when checking cert
    - hostip: skip error check for infallible function call

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=371
2024-07-24 08:41:57 +00:00
Ana Guerrero
39af82d78c Accepting request 1182050 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1182050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=199
2024-06-22 11:22:55 +00:00
2e044a5b69 - add multibuild for minimal libcurl flavored build (useful for
container environments)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=369
2024-06-21 08:02:24 +00:00
bc1872d764 - split zsh and fish completion into subpackages to have
proper supplements

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=368
2024-06-20 15:19:38 +00:00
1559703829 - remove mozilla-nss code (unsupported since 8.3.0)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=367
2024-06-20 14:55:43 +00:00
06860bdfca - lib: add CURLINFO_CONN_ID and CURLINFO_XFER_ID
- ws: make the curl_ws_meta() return pointer a const
    - tool_writeout: add URL component variables
    - build: remove support for curl_off_t < 8 bytes
- Update to 7.87.0:
    - version: add a feature names array to curl_version_info_data
    - x509asn1: avoid freeing unallocated pointers
- add tests-for-32bit.patch to fix testsuite on 32bit platforms
    - socks: support unix sockets for socks proxy
    - x509asn1: mark msnprintf return as unchecked
    - (bsc#1199225, CVE-2022-30115) HSTS bypass via trailing dot
    - x509asn1: make do_pubkey handle EC public keys
  * Renamed:
    - msh3: add support for QUIC and HTTP/3 using msh3
    - wolfssl: fix compiler error without IPv6
    - tests/sshserver.pl: make it work with openssh-8.7p1
    - vtls: refuse setting any SSL version
    - http: introduce AWS HTTP v4 Signature support
- Enable zstd and brotli support
- Update to 7.74.0
    - tls: add CURLOPT_SSL_EC_CURVES and --curves
    - vtls: compare cert blob when finding a connection to reuse
    - tool: Add option --retry-all-errors to retry on any error
    - write-out.d: added "response_code"
    - writeout: support to generate JSON output with '%{json}'
    - gnutls: ensure TLS 1.3 when SRP isn't requested
    - version: make curl_version* thread-safe without using global context
    - wolfSSH: new SSH backend
    - winbuild: Document CURL_STATICLIB requirement for static libcurl
    - urlapi: CURLU_NO_AUTHORITY allows empty authority/host part

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=366
2024-06-17 19:13:11 +00:00
Ana Guerrero
fd001a2b54 Accepting request 1176743 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1176743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=198
2024-05-27 09:44:46 +00:00
f81c85db6e Accepting request 1176742 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Fix make install for curl-config.1
  * docs/Makefile.am: make curl-config.1 install
  * Fixed upstream in: github.com/curl/curl/pull/13741
  * Add curl-make-install-curl-config.patch

- Update to 8.8.0:
  * Changes:
    - curl_version_info: provide librtmp version
    - file: add support for directory listings
    - lib: add curl_multi_waitfds
    - NTLM_WB: drop support
    - TLS: add support for ECH (Encrypted Client Hello)
    - urlapi: add CURLU_GET_EMPTY for empty queries and fragments
  * Bugfixes:
    - build: prefer "USE_IPV6" macro internally (was: "ENABLE_IPV6")
    - cd2nroff/manage: use UTC when SOURCE_DATE_EPOCH is set
    - cf-socket: don't try getting local IP without socket
    - cf-socket: remove references to l_ip, l_port
    - configure: make --disable-docs imply --disable-manual
    - curl.h: change CURL_SSLVERSION_* from enum to defines
    - curl_path: make Curl_get_pathname use dynbuf
    - curl_sha512_256: do not use workaround for NetBSD when not needed
    - curl_sha512_256: fix detection of OpenSSL 1.1.1 or later
    - curl_url_get.md: clarify queries and fragments and CURLU_GET_EMPTY
    - DEPRECATE.md: TLS libraries without 1.3 support
    - digest: replace strcpy for empty string with simple assignment
    - doc: pytest "--repeat" -> "--count"
    - docs/cmdline-opts: mention STARTTLS for --ssl and --ssl-reqd
    - dynbuf: fix returncode on memory error
    - ftp: add tracing support

OBS-URL: https://build.opensuse.org/request/show/1176742
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=364
2024-05-24 13:16:12 +00:00
Ana Guerrero
abbe027fda Accepting request 1175819 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1175819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=197
2024-05-23 13:34:41 +00:00
3516f333d0 Accepting request 1175748 from home:dimstar:Factory
- Add split-provides for libcurl-devel -> libcurl-devel-doc.

See https://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation#Splitting_off_a_sub-package

OBS-URL: https://build.opensuse.org/request/show/1175748
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=362
2024-05-22 12:07:31 +00:00
1baae7ac50 Accepting request 1175379 from home:jengelh:branches:devel:libraries:c_c++
- Spin documentation off to libcurl-devel-doc, this saves buildroots
  495 files and time (mandb is run in %posttrans).

OBS-URL: https://build.opensuse.org/request/show/1175379
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=361
2024-05-21 14:27:56 +00:00
Ana Guerrero
d4af59b488 Accepting request 1163136 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1163136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=196
2024-03-28 12:52:50 +00:00
73125545f4 Accepting request 1163135 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 8.7.1:
  * Fixed empty tool_hugehelp.c file
- Update to 8.7.0:
  * Security fixes:
    - [bsc#1221665, CVE-2024-2004] Usage of disabled protocol
    - [bsc#1221667, CVE-2024-2398] HTTP/2 push headers memory-leak
    - [bsc#1221666, CVE-2024-2379] QUIC certificate check bypass with wolfSSL
    - [bsc#1221668, CVE-2024-2466] TLS certificate check bypass with mbedTLS
  * Changes:
    - configure: add --disable-docs flag
    - CURLINFO_USED_PROXY: return bool whether the proxy was used
    - digest: support SHA-512/256
  * Bugfixes:
    - asyn-thread: use wakeup_close to close the read descriptor
    - bufq: writing into a softlimit queue cannot be partial
    - cmake: add USE_OPENSSL_QUIC support
    - cookie: if psl fails, reject the cookie
    - curl: exit on config file parser errors
    - digest: add check for hashing error
    - docs/libcurl: add TLS backend info for all TLS options
    - file: use xfer buf for file:// transfers
    - ftp: do lineend conversions in client writer
    - ftp: fix socket wait activity in ftp_domore_getsock
    - http2: memory errors in the push callbacks are fatal
    - http2: push headers better cleanup
    - libssh/libssh2: return error on too big range
    - OpenSSL QUIC: adapt to v3.3.x
    - setopt: fix check for CURLOPT_PROXY_TLSAUTH_TYPE value
    - setopt: fix disabling all protocols
    - sha512_256: add support for GnuTLS and OpenSSL

OBS-URL: https://build.opensuse.org/request/show/1163135
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=359
2024-03-27 19:18:25 +00:00
Ana Guerrero
d7d886f348 Accepting request 1157133 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1157133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=195
2024-03-13 21:16:39 +00:00
6e41d11b09 Accepting request 1157132 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
* Upstream commit: https://github.com/curl/curl/commit/744dcf22

OBS-URL: https://build.opensuse.org/request/show/1157132
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=357
2024-03-12 09:15:05 +00:00
25658f4bf7 Accepting request 1157127 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Remove the nghttp2 version requirement as a version guard around
  the nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation
  function was added in curl 8.0.1.
  * Upstream commit: https://github.com/bch/curl/commit/fb2472b9

OBS-URL: https://build.opensuse.org/request/show/1157127
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=356
2024-03-12 09:00:58 +00:00
Ana Guerrero
3356b68b07 Accepting request 1146113 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1146113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=194
2024-02-15 19:59:41 +00:00
612554bc4d Accepting request 1145417 from home:favogt:branches:devel:libraries:c_c++
- Add patch to fix various TLS related issues including FTP over SSL
  transmission timeouts:
  * 0001-vtls-revert-receive-max-buffer-add-test-case.patch
- Switch to %autosetup

Now with workaround for https://github.com/curl/curl/issues/12914.

OBS-URL: https://build.opensuse.org/request/show/1145417
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=354
2024-02-12 09:49:54 +00:00
Ana Guerrero
e1bca97082 Accepting request 1143014 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1143014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=193
2024-01-31 22:53:56 +00:00
David Anes
ce6f51d0bc Accepting request 1142991 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 8.6.0: [bsc#1219149, CVE-2024-0853]
  * Security fixes:
    - CVE-2024-0853: OCSP verification bypass with TLS session reuse
  * Changes:
    - add CURLE_TOO_LARGE, CURLINFO_QUEUE_TIME_T
  * Bugfixes:
    - altsvc: free 'as' when returning error
    - asyn-ares: with modern c-ares, use its default timeout
    - cf-socket: show errno in tcpkeepalive error messages
    - cmdline-opts: update availability for the *-ca-native options
    - configure: when enabling QUIC, check that TLS supports QUIC
    - content_encoding: change return code to typedef'ed enum
    - curl: show ipfs and ipns as supported "protocols"
    - CURLINFO_REFERER.3: clarify that it is the *request* header
    - dist: add tests/errorcodes.pl to the tarball
    - gen.pl: support ## for doing .IP in table-like lists
    - GHA: bump ngtcp2, gnutls, mod_h2, quiche
    - hostip: return error immediately when Curl_ip2addr() fails
    - http3/quiche: fix result code on a stream reset
    - http3: initial support for OpenSSL 3.2 QUIC stack
    - http: check for "Host:" case insensitively
    - http: fix off-by-one error in request method length check
    - http: only act on 101 responses when they are HTTP/1.1
    - lib: add debug log outputs for CURLE_BAD_FUNCTION_ARGUMENT
    - lib: error out on multissl + http3
    - lib: fix variable undeclared error caused by `infof` changes
    - lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding
    - lib: strndup/memdup instead of malloc, memcpy and null-terminate
    - libssh2: use `libssh2_session_callback_set2()` with v1.11.1
    - ngtcp2: put h3 at the front of alpn

OBS-URL: https://build.opensuse.org/request/show/1142991
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=352
2024-01-31 12:17:58 +00:00
Ana Guerrero
f7fd53cb10 Accepting request 1137519 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1137519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=192
2024-01-09 19:48:37 +00:00
030555bd2f Accepting request 1137148 from home:bobbie424242:branches:openSUSE:Factory
Added curl-adjust-pollset-fix.patch to fix broken MPD http streaming:
https://github.com/curl/curl/issues/12632

OBS-URL: https://build.opensuse.org/request/show/1137148
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=350
2024-01-08 09:05:39 +00:00
Ana Guerrero
899d17e362 Accepting request 1131466 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1131466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=191
2023-12-15 20:46:00 +00:00
358aba2f66 Accepting request 1131465 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 8.5.0:
  * Security fixes:
    - [bsc#1217573, CVE-2023-46218] cookie mixed case PSL bypass
    - [bsc#1217574, CVE-2023-46219] HSTS long file name clears contents
  * Changes:
    - gnutls: support CURLSSLOPT_NATIVE_CA
    - HTTP3: ngtcp2 builds are no longer experimental
  * Bugfixes:
    - asyn-thread: use pipe instead of socketpair for IPC when available
    - cmake: fix OpenSSL quic detection in quiche builds
    - conncache: use the closure handle when disconnecting surplus connections
    - content_encoding: make Curl_all_content_encodings allocless
    - cookie: lowercase the domain names before PSL checks
    - Curl_http_body: cleanup properly when Curl_getformdata errors
    - CURLMOPT_MAX_CONCURRENT_STREAMS: make sure the set value is within range
    - doh: provide better return code for responses w/o addresses
    - doh: use PIPEWAIT when HTTP/2 is attempted
    - duphandle: also free 'outcurl->cookies' in error path
    - duphandle: make dupset() not return with pointers to old alloced data
    - duphandle: use strdup to clone *COPYPOSTFIELDS if size is not set
    - easy: in duphandle, init the cookies for the new handle
    - easy_lock: add a pthread_mutex_t fallback
    - fopen: create new file using old file's mode
    - fopen: create short(er) temporary file name
    - getenv: PlayStation doesn't have getenv()
    - hostip: show the list of IPs when resolving is done
    - hsts: skip single-dot hostname
    - HTTP/2, HTTP/3: handle detach of onoing transfers
    - http: allow longer HTTP/2 request method names
    - hyper: temporarily remove HTTP/2 support
    - IPFS: fix IPFS_PATH and file parsing
    - multi: during ratelimit multi_getsock should return no sockets
    - multi: use pipe instead of socketpair to *wakeup()
    - ngtcp2: fix races in stream handling
    - ntlm_wb: use pipe instead of socketpair when possible
    - openssl: avoid BN_num_bits() NULL pointer derefs
    - openssl: fix building with v3 `no-deprecated` + add CI test
    - openssl: fix infof() to avoid compiler warning for %s with null
    - openssl: identify the "quictls" backend correctly
    - openssl: include SIG and KEM algorithms in verbose
    - openssl: two multi pointer checks should probably rather be asserts
    - openssl: when a session-ID is reused, skip OCSP stapling
    - quic: make eyeballers connect retries stop at weird replies
    - quic: manage connection idle timeouts
    - setopt: check CURLOPT_TFTP_BLKSIZE range on set
    - socks: better buffer size checks for socks4a user and hostname
    - socks: make SOCKS5 use the CURLOPT_IPRESOLVE choice
    - tool: fix --capath when proxy support is disabled
    - tool_getparam: limit --rate to be smaller than number of ms
    - transfer: abort pause send when connection is marked for closing
    - transfer: avoid calling the read callback again after EOF
    - transfer: only reset the FTP wildcard engine in CLEAR state
    - url: don't touch the multi handle when closing internal handles
    - urlapi: avoid null deref if setting blank host to url encode
    - urlapi: skip appending NULL pointer query
    - urlapi: when URL encoding the fragment, pass in the right length
    - vtls: cleanup SSL config management
    - vtls: consistently use typedef names for OpenSSL structs
    - vtls: late clone of connection ssl config
    - vtls: use ALPN "http/1.1" for HTTP/1.x, including HTTP/1.0
  * Rebase curl-secure-getenv.patch
  * Add curl-tests-errorcodes.patch

OBS-URL: https://build.opensuse.org/request/show/1131465
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=348
2023-12-06 17:31:56 +00:00
Ana Guerrero
792b0d2222 Accepting request 1116810 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1116810
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=190
2023-10-12 21:37:25 +00:00
a18af43f06 Accepting request 1116809 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 8.4.0:
  * Security fixes:
    - SOCKS5 heap buffer overflow [bsc#1215888, CVE-2023-38545]
    - cookie injection with none file [bsc#1215889, CVE-2023-38546]
  * Changes:
    - curl: add support for the IPFS protocols via HTTP gateway
    - curl_multi_get_handles: get easy handles from a multi handle
    - mingw: delete support for legacy mingw.org toolchain
  * Bugfixes:
    - base64: also build for curl
    - cf-socket: simulate slow/blocked receives in debug
    - configure: check for the capath by default
    - connect: expire the timeout when trying next
    - connect: only start the happy eyeballs timer when needed
    - cookie: do not store the expire or max-age strings
    - cookie: remove unnecessary struct fields
    - cookie: set ->running in cookie_init even if data is NULL
    - create-dirs.d: clarify it also uses --output-dirs
    - http2: refused stream handling for retry
    - http: h1/h2 proxy unification
    - http: use per-request counter to check too large headers
    - idn: if idn2_check_version returns NULL, return error
    - lib: enable hmac for digest as well
    - lib: let the max filesize option stop too big transfers too
    - lib: move handling of 'data->req.writer_stack' into Curl_client_write()
    - lib: provide and use Curl_hexencode
    - lib: use wrapper for curl_mime_data fseek callback
    - libssh2: fix error message on failed pubkey-from-file
    - libssh: cap SFTP packet size sent
    - MQTT: improve receive of ACKs

OBS-URL: https://build.opensuse.org/request/show/1116809
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=346
2023-10-11 07:00:14 +00:00
Ana Guerrero
5f2fe79a51 Accepting request 1110821 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1110821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=189
2023-09-13 18:43:45 +00:00
c2052591a4 Accepting request 1110820 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 8.3.0: [bsc#1215026, CVE-2023-38039]
  * Changes:
    - curl: make %output{} in -w specify a file to write to
    - gskit: remove
    - lib: --disable-bindlocal builds curl without local binding support
    - nss: remove support for this TLS library
    - tool: add "variable" support
    - trace: make tracing available in non-debug builds
    - url: change default value for CURLOPT_MAXREDIRS to 30
    - urlapi: CURLU_PUNY2IDN - convert from punycode to IDN name
  * Bugfixes:
    - altsvc: accept and parse IPv6 addresses in response headers
    - asyn-ares: reduce timeout to 2000ms
    - aws-sigv4: canonicalize the query
    - aws-sigv4: fix having date header twice in some cases
    - aws-sigv4: handle no-value user header entries
    - c-hyper: adjust the hyper to curlcode conversion
    - c-hyper: fix memory leaks in `Curl_http`
    - cf-haproxy: make CURLOPT_HAPROXY_CLIENT_IP set the *source* IP
    - cf-socket: log successful interface bind
    - cmake: add GnuTLS option
    - cmake: add support for `CURL_DEFAULT_SSL_BACKEND`
    - cmake: detect `SSL_set0_wbio` in OpenSSL
    - configure: trust pkg-config when it's used for zlib
    - configure: use the pkg-config --libs-only-l flag for libssh2
    - connect: stop halving the remaining timeout when less than 600 ms left
    - crypto: ensure crypto initialization works
    - digest: Use hostname to generate spn instead of realm
    - ftp: fix temp write of ipv6 address
    - headers: accept leading whitespaces on first response header

OBS-URL: https://build.opensuse.org/request/show/1110820
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=344
2023-09-13 07:24:13 +00:00
Dominique Leuenberger
cd8cbf525d Accepting request 1101173 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1101173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=188
2023-07-29 18:09:54 +00:00
0affaeb7d2 Accepting request 1101172 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 8.2.1:
  * Bugfixes:
    - cfilters: rename close/connect functions to avoid clashes
    - ciphers.d: put URL in first column
    - cmake: add 'libcurlu'/'libcurltool' for unit tests
    - cmake: update ngtcp2 detection
    - configure: check for nghttp2_session_get_stream_local_window_size
    - docs: mark two TLS options for TLS, not SSL
    - docs: provide more see also for cipher options
    - hostip: return IPv6 first for localhost resolves
    - http2: fix regression on upload EOF handling
    - http: VLH, very large header test and fixes
    - libcurl-errors.3: add CURLUE_OK
    - os400: correct EXPECTED_STRING_LASTZEROTERMINATED
    - quiche: fix lookup of transfer at multi
    - quiche: fix segfault and other things
    - rustls: update rustls-ffi 0.10.0
    - socks: print ipv6 address within brackets
    - src/mkhelp: strip off escape sequences
    - tool: fix tool_seek_cb build when SIZEOF_CURL_OFF_T > SIZEOF_OFF_T
    - transfer: do not clear the credentials on redirect to absolute URL
    - unittest: remove unneeded *_LDADD
    - websocket: rename arguments/variables to match docs

OBS-URL: https://build.opensuse.org/request/show/1101172
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=342
2023-07-28 09:15:05 +00:00
Ana Guerrero
c1b4a6824f Accepting request 1099401 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1099401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=187
2023-07-25 09:23:05 +00:00
4425a855f3 Accepting request 1099398 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 8.2.0 [bsc#1213237, CVE-2023-32001]
  * Security fix:
    - CVE-2023-32001: fopen race condition
  * Changes:
    - curl: add --ca-native and --proxy-ca-native
    - curl: add --trace-ids
    - CURLOPT_MAIL_RCPT_ALLOWFAILS: replace CURLOPT_MAIL_RCPT_ALLLOWFAILS
    - haproxy: add --haproxy-clientip flag to set client IPs
    - lib: add CURLINFO_CONN_ID and CURLINFO_XFER_ID 
  * Bugfixes:
    - cf-socket: don't bypass fclosesocket callback if cancelled before connect
    - cf-socket: skip getpeername()/getsockname for TFTP
    - curl: count uploaded data to stop at the originally given size
    - curl: return error when asked to use an unsupported HTTP version
    - http2: fix crash in handling stream weights
    - http2: send HEADER & DATA together if possible
    - http3/ngtcp2: upload EAGAIN handling
    - http: rectify the outgoing Cookie: header field size check
    - hyper: fix EOF handling on input
    - imap: Provide method to disable SASL if it is advertised
    - libssh2: provide error message when setting host key type fails
    - libssh2: use custom memory functions
    - ngtcp2: assigning timeout, but value is overwritten before used
    - quiche: avoid NULL deref in debug logging
    - sectransp: fix EOF handling
    - system.h: remove __IBMC__/__IBMCPP__ guards and apply to all z/OS compiles
    - timeval: use CLOCK_MONOTONIC_RAW if available
    - tls13-ciphers.d: include Schannel
    - tool_easysrc.h: correct `easysrc_perform` for `CURL_DISABLE_LIBCURL_OPTION`
    - tool_operate: allow cookie lines up to 8200 bytes

OBS-URL: https://build.opensuse.org/request/show/1099398
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=340
2023-07-19 07:19:58 +00:00
Dominique Leuenberger
b4848d3894 Accepting request 1089770 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1089770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=186
2023-06-01 15:19:02 +00:00
a23bbbdc87 Accepting request 1089769 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 8.1.2:
  * Bugfixes:
    - configure: quote the assignments for run-compiler
    - configure: without pkg-config and no custom path, use -lnghttp2
    - curl: cache the --trace-time value for a second
    - http2: fix EOF handling on uploads with auth negotiation
    - http3: send EOF indicator early as possible
    - lib1560: verify more scheme guessing
    - lib: remove unused functions, make single-use static
    - libcurl.m4: remove trailing 'dnl' that causes this to break autoconf
    - libssh: when keyboard-interactive auth fails, try password
    - misc: fix spelling mistakes
    - page-header: mention curl version and how to figure out current release
    - page-header: minor wording polish in the URL segment
    - scripts/singleuse.pl: add more API calls
    - urlapi: remove superfluous host name check

OBS-URL: https://build.opensuse.org/request/show/1089769
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=338
2023-05-30 09:24:37 +00:00
Dominique Leuenberger
4b4820c272 Accepting request 1088598 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1088598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=185
2023-05-24 18:21:51 +00:00
c6f9420987 Accepting request 1088597 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 8.1.1:
  * Bugfixes:
    - cf-socket: completely remove the disabled
      USE_RECV_BEFORE_SEND_WORKAROUND
    - checksrc: disallow spaces before labels
    - curl_easy_getinfo: clarify on return data types
    - docs: document that curl_url_cleanup(NULL) is a safe no-op
    - hostip: move easy_lock.h include above curl_memory.h
    - http2: double http request parser max line length
    - http2: increase stream window size to 10 MB
    - lib: rename struct 'http_req' to 'httpreq'
    - ngtcp2: proper handling of uint64_t when adjusting send buffer
    - sectransp.c: make the code c89 compatible
    - select: avoid returning an error on EINTR from select() or poll()
    - url: provide better error message when URLs fail to parse
    - urlapi: allow numerical parts in the host name

OBS-URL: https://build.opensuse.org/request/show/1088597
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=336
2023-05-23 10:38:02 +00:00
Dominique Leuenberger
3265a52277 Accepting request 1087553 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1087553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=184
2023-05-18 13:18:22 +00:00