m6w6/ext-http
4 weeks agoprepare v4.2.6 master v4.2.6
Michael Wallner [Tue, 5 Nov 2024 14:49:49 +0000 (15:49 +0100)] 
prepare v4.2.6

5 weeks agouse ubuntu noble sources, not jammy
Michael Wallner [Thu, 24 Oct 2024 13:01:28 +0000 (15:01 +0200)] 
use ubuntu noble sources, not jammy

5 weeks agotest against curl 8.9.1 since 8.9.0 segfaults all around
Michael Wallner [Wed, 23 Oct 2024 13:16:58 +0000 (15:16 +0200)] 
test against curl 8.9.1 since 8.9.0 segfaults all around

5 weeks agoattempt to fix test on curl-master
Michael Wallner [Wed, 23 Oct 2024 13:08:15 +0000 (15:08 +0200)] 
attempt to fix test on curl-master

2 months agocurl: test against recent releases
Michael Wallner [Tue, 24 Sep 2024 18:08:49 +0000 (20:08 +0200)] 
curl: test against recent releases

2 months agocurl: test against most recent releases
Michael Wallner [Tue, 24 Sep 2024 17:55:18 +0000 (19:55 +0200)] 
curl: test against most recent releases

3 months agocurl: add workaround for CURLOPT_INTERFACE for v8.9-8.10
Michael Wallner [Tue, 27 Aug 2024 17:59:56 +0000 (19:59 +0200)] 
curl: add workaround for CURLOPT_INTERFACE for v8.9-8.10

3 months agoconfigure: attempt to fix that SRP nightmare finally
Michael Wallner [Tue, 27 Aug 2024 14:14:08 +0000 (16:14 +0200)] 
configure: attempt to fix that SRP nightmare finally

3 months agoci: fix PHP version order
Michael Wallner [Tue, 27 Aug 2024 13:30:16 +0000 (15:30 +0200)] 
ci: fix PHP version order

3 months agoXFAIL: stream filters leak since 8.2
Michael Wallner [Tue, 27 Aug 2024 13:29:40 +0000 (15:29 +0200)] 
XFAIL: stream filters leak since 8.2

3 months agofix test for PHP<master
Michael Wallner [Tue, 27 Aug 2024 13:24:13 +0000 (15:24 +0200)] 
fix test for PHP<master

3 months agoci: update curlver
Michael Wallner [Tue, 27 Aug 2024 13:22:49 +0000 (15:22 +0200)] 
ci: update curlver

3 months agoci: use latest ubuntu and PHP; update curlver
Michael Wallner [Tue, 27 Aug 2024 13:10:23 +0000 (15:10 +0200)] 
ci: use latest ubuntu and PHP; update curlver

3 months agofix tests for PHP-master
Michael Wallner [Tue, 27 Aug 2024 13:09:56 +0000 (15:09 +0200)] 
fix tests for PHP-master

3 months agofix includes for PHP-master
Michael Wallner [Tue, 27 Aug 2024 13:09:34 +0000 (15:09 +0200)] 
fix includes for PHP-master

9 months agoprepare v4.2.5 v4.2.5
Michael Wallner [Mon, 5 Feb 2024 19:36:16 +0000 (20:36 +0100)] 
prepare v4.2.5

* Fix incompatible pointer types (32-bit) (see gh issue #134)
* Fix glitch in CURL_VERSION_TLSAUTH_SRP autoconf probe (see gh issue #133)

9 months agoFix #133: Glitch in CURL_VERSION_TLSAUTH_SRP autoconf probe
Michael Wallner [Mon, 5 Feb 2024 19:16:43 +0000 (20:16 +0100)] 
Fix #133: Glitch in CURL_VERSION_TLSAUTH_SRP autoconf probe

9 months agocurl: update CURLINFO
Michael Wallner [Wed, 31 May 2023 15:27:39 +0000 (17:27 +0200)] 
curl: update CURLINFO

9 months agoMerge pull request #134 from m6w6/issue-pointers
Michael Wallner [Mon, 5 Feb 2024 19:09:57 +0000 (20:09 +0100)] 
Merge pull request #134 from m6w6/issue-pointers

Fix incompatible pointer types (32-bit)

10 months agoFix incompatible pointer types issue-pointers 134/head
Remi Collet [Mon, 29 Jan 2024 15:10:26 +0000 (16:10 +0100)] 
Fix incompatible pointer types

14 months agorelease 4.2.4 v4.2.4
Michael Wallner [Mon, 2 Oct 2023 09:03:03 +0000 (11:03 +0200)] 
release 4.2.4

* Fix Error using ssl array in options : Could not set option tlsauthtype
  (see gh issue #131)
* Fix arginfo wargnings of the internal curl client user handler
* Disable libidn support for v1.36-v1.38 due to broken locale detection

18 months agotests: cookis broken again in 7.88.1
Michael Wallner [Thu, 25 May 2023 11:50:43 +0000 (13:50 +0200)] 
tests: cookis broken again in 7.88.1

18 months agotests: curl SSL bug in 7.87
Michael Wallner [Thu, 25 May 2023 11:02:23 +0000 (13:02 +0200)] 
tests: curl SSL bug in 7.87

18 months agocurl: newer versions omit the Expect header
Michael Wallner [Thu, 25 May 2023 09:27:07 +0000 (11:27 +0200)] 
curl: newer versions omit the Expect header

fixes #129

18 months agocurl: CURLOPT_TLSAUTH_TYPE never accepted enum CURL_TLSAUTH :facepalm:
Michael Wallner [Wed, 24 May 2023 16:26:55 +0000 (18:26 +0200)] 
curl: CURLOPT_TLSAUTH_TYPE never accepted enum CURL_TLSAUTH :facepalm:

18 months agoclient_curl_user: fix arginfo
Michael Wallner [Wed, 24 May 2023 11:57:27 +0000 (13:57 +0200)] 
client_curl_user: fix arginfo

18 months agoconfigure: libidn 1.36-1.38 has broken locale detection
Michael Wallner [Thu, 25 May 2023 09:57:14 +0000 (11:57 +0200)] 
configure: libidn 1.36-1.38 has broken locale detection

18 months agotests: use more unlikely used ports
Michael Wallner [Thu, 25 May 2023 10:38:32 +0000 (12:38 +0200)] 
tests: use more unlikely used ports

18 months agoci: update versions
Michael Wallner [Wed, 24 May 2023 10:57:19 +0000 (12:57 +0200)] 
ci: update versions

2 years agorelease v4.2.3 v4.2.3
Michael Wallner [Fri, 10 Jun 2022 07:32:22 +0000 (09:32 +0200)] 
release v4.2.3

* Fix http\Client::requeue() not updating response callback

2 years agoMerge v3.x
Michael Wallner [Thu, 9 Jun 2022 09:11:47 +0000 (11:11 +0200)] 
Merge v3.x

2 years agochangelog
Michael Wallner [Thu, 9 Jun 2022 09:09:45 +0000 (11:09 +0200)] 
changelog

2 years agochangelog
Michael Wallner [Thu, 9 Jun 2022 09:07:37 +0000 (11:07 +0200)] 
changelog

2 years agoMerge remote-tracking branch 'origin/v3.x'
Michael Wallner [Thu, 9 Jun 2022 08:56:12 +0000 (10:56 +0200)] 
Merge remote-tracking branch 'origin/v3.x'

2 years agoClient::requeue(): actually set any new callback
Michael Wallner [Thu, 9 Jun 2022 08:38:35 +0000 (10:38 +0200)] 
Client::requeue(): actually set any new callback

2 years agomissing bit
Michael Wallner [Thu, 9 Jun 2022 08:32:18 +0000 (10:32 +0200)] 
missing bit

2 years agotests: PHP<=7.3 compat
Michael Wallner [Wed, 8 Jun 2022 17:57:16 +0000 (19:57 +0200)] 
tests: PHP<=7.3 compat

2 years agoMerge remote-tracking branch 'origin/v3.x'
Michael Wallner [Wed, 8 Jun 2022 17:50:32 +0000 (19:50 +0200)] 
Merge remote-tracking branch 'origin/v3.x'

2 years agoBackport v4 updates
Michael Wallner [Wed, 8 Jun 2022 15:22:34 +0000 (17:22 +0200)] 
Backport v4 updates

2 years agogitignore: *.loT
Michael Wallner [Wed, 8 Jun 2022 15:01:39 +0000 (17:01 +0200)] 
gitignore: *.loT

2 years agoMerge pull request #124 from m6w6/issue-warn
Michael Wallner [Fri, 25 Feb 2022 19:03:37 +0000 (20:03 +0100)] 
Merge pull request #124 from m6w6/issue-warn

Fix some build warnings

2 years agoFix [-Wunused-but-set-variable] 124/head
Remi Collet [Fri, 25 Feb 2022 13:49:16 +0000 (14:49 +0100)] 
Fix  [-Wunused-but-set-variable]

2 years agoFix: curl_easy_setopt expects a curl_write_callback argument for this option
Remi Collet [Fri, 25 Feb 2022 13:48:07 +0000 (14:48 +0100)] 
Fix: curl_easy_setopt expects a curl_write_callback argument for this option

2 years agoprepare v4.2.2 v4.2.2
Michael Wallner [Fri, 25 Feb 2022 12:52:09 +0000 (13:52 +0100)] 
prepare v4.2.2

* Fixed gh-issue #123: Segfault with libcurl 7.81

2 years agoprepare v3.2.5 RELEASE_3_2_5
Michael Wallner [Fri, 25 Feb 2022 12:48:16 +0000 (13:48 +0100)] 
prepare v3.2.5

* Fixed gh-issue #123: Segfault with libcurl 7.81

2 years agoprepare v4.2.2
Michael Wallner [Mon, 21 Feb 2022 14:28:48 +0000 (15:28 +0100)] 
prepare v4.2.2

* Fixed gh-issue #123: Segfault with libcurl 7.81

2 years agoprepare v3.2.5
Michael Wallner [Mon, 21 Feb 2022 14:22:44 +0000 (15:22 +0100)] 
prepare v3.2.5

* Fixed gh-issue #123: Segfault with libcurl 7.81

2 years agofix recursive calls to curl_multi API from the event handler
Michael Wallner [Mon, 21 Feb 2022 10:06:19 +0000 (11:06 +0100)] 
fix recursive calls to curl_multi API from the event handler

2 years agofix recursive calls to curl_multi API from the user handler
Michael Wallner [Mon, 21 Feb 2022 10:04:09 +0000 (11:04 +0100)] 
fix recursive calls to curl_multi API from the user handler

2 years agofix recursive calls to curl_multi API from the event handler
Michael Wallner [Mon, 21 Feb 2022 10:06:19 +0000 (11:06 +0100)] 
fix recursive calls to curl_multi API from the event handler

2 years agofix recursive calls to curl_multi API from the user handler
Michael Wallner [Mon, 21 Feb 2022 10:04:09 +0000 (11:04 +0100)] 
fix recursive calls to curl_multi API from the user handler

2 years agoci: test against 7.81
Michael Wallner [Tue, 15 Feb 2022 13:13:37 +0000 (14:13 +0100)] 
ci: test against 7.81

3 years agoci: update recent curl versions
Michael Wallner [Tue, 16 Nov 2021 14:07:45 +0000 (15:07 +0100)] 
ci: update recent curl versions

3 years agoci: add 8.1
Michael Wallner [Tue, 16 Nov 2021 13:54:53 +0000 (14:54 +0100)] 
ci: add 8.1

3 years agoPHP-8.2 compat with __toString
Michael Wallner [Wed, 10 Nov 2021 08:33:07 +0000 (09:33 +0100)] 
PHP-8.2 compat with __toString

3 years agotypo
Michael Wallner [Tue, 9 Nov 2021 13:35:12 +0000 (14:35 +0100)] 
typo

3 years agofollowup to #122
Michael Wallner [Tue, 9 Nov 2021 13:19:25 +0000 (14:19 +0100)] 
followup to #122

3 years agoconfigure: fix libbrotli check
Michael Wallner [Tue, 9 Nov 2021 12:01:53 +0000 (13:01 +0100)] 
configure: fix libbrotli check

3 years agoCURLOPT_TCP_FASTOPEN: no support on Windows
Jan Ehrhardt [Fri, 22 Oct 2021 12:41:34 +0000 (14:41 +0200)] 
CURLOPT_TCP_FASTOPEN: no support on Windows
Fixes https://github.com/m6w6/ext-http/issues/122
Error message:
> Could not set option tcp_fastopen
> (An unknown option was passed in to libcurl)

3 years agorelease 4.2.1 v4.2.1
Michael Wallner [Mon, 13 Sep 2021 10:51:06 +0000 (12:51 +0200)] 
release 4.2.1

* Fixed failing tests with PHP-8.1 (see gh issue #120)
* Fixed configure reliably finding the right libcurl features available
* Fixed cookie handling with libcurl 7.77+ and consistently across all
  supported libcurl versions (follow-up to gh issue #116)

3 years agoMerge branch 'curl-matrix': fix #116
Michael Wallner [Tue, 7 Sep 2021 07:45:02 +0000 (09:45 +0200)] 
Merge branch 'curl-matrix': fix #116

3 years agoexplicit client requeue
Michael Wallner [Thu, 2 Sep 2021 18:35:32 +0000 (20:35 +0200)] 
explicit client requeue

3 years agocurl interop
Michael Wallner [Tue, 7 Sep 2021 06:46:16 +0000 (08:46 +0200)] 
curl interop

3 years agogithub actions: add curl matrix
Michael Wallner [Tue, 31 Aug 2021 12:11:52 +0000 (14:11 +0200)] 
github actions: add curl matrix

3 years agomissing changes for 4.1 and 4.2
Michael Wallner [Thu, 2 Sep 2021 11:39:33 +0000 (13:39 +0200)] 
missing changes for 4.1 and 4.2

3 years agoMerge pull request #121 from m6w6/issue-120
Michael Wallner [Wed, 1 Sep 2021 10:40:35 +0000 (12:40 +0200)] 
Merge pull request #121 from m6w6/issue-120

Fix #120 test failing with 8.1.0RC1

3 years agoFix #120 test failing with 8.1.0RC1 121/head
Remi Collet [Wed, 1 Sep 2021 09:59:31 +0000 (11:59 +0200)] 
Fix #120 test failing with 8.1.0RC1

3 years agorelease 4.2.0 v4.2.0
Michael Wallner [Mon, 30 Aug 2021 12:15:19 +0000 (14:15 +0200)] 
release 4.2.0

* Fixed PHP-8.1 compatibility (see gh issues #114, #115 and #118)
* Fixed cookies failing with libcurl >= 7.77 (see gh issue #116)
* Fixed tests using $_ENV instead of getenv() to find executables in PATH (see gh issue #113)
* Added http\Env::reset(): resets internal HTTP request cache (see gh issue #90)

3 years agorelease 4.2.0
Michael Wallner [Mon, 30 Aug 2021 11:17:52 +0000 (13:17 +0200)] 
release 4.2.0

* Fixed PHP-8.1 compatibility (see gh issues #114, #115 and #118)
* Fixed cookies failing with libcurl >= 7.77 (see gh issue #116)
* Fixed tests using $_ENV instead of getenv() to find executables in PATH (see gh issue #113)
* Added http\Env::reset(): resets internal HTTP request cache (see gh issue #90)

3 years agotest: #90 117/head
Michael Wallner [Mon, 30 Aug 2021 07:21:19 +0000 (09:21 +0200)] 
test: #90

3 years agoadd http\Env::reset(); re: #90
Michael Wallner [Wed, 4 Aug 2021 08:45:57 +0000 (10:45 +0200)] 
add http\Env::reset(); re: #90

3 years agoattempt to fix #118: PHP-8.1 compat
Michael Wallner [Tue, 10 Aug 2021 12:41:20 +0000 (14:41 +0200)] 
attempt to fix #118: PHP-8.1 compat

3 years agogh-actions: ignore E_DEPRECATED for master
Michael Wallner [Mon, 9 Aug 2021 09:01:48 +0000 (11:01 +0200)] 
gh-actions: ignore E_DEPRECATED for master

3 years agofixup message/body serialization
Michael Wallner [Wed, 4 Aug 2021 08:02:39 +0000 (10:02 +0200)] 
fixup message/body serialization

3 years agofix #116: cookies fail with libcurl >= 7.77
Michael Wallner [Mon, 2 Aug 2021 14:58:59 +0000 (16:58 +0200)] 
fix #116: cookies fail with libcurl >= 7.77

3 years agotests: skip Darwin
Michael Wallner [Mon, 2 Aug 2021 14:57:20 +0000 (16:57 +0200)] 
tests: skip Darwin

3 years agotests: skip SecureTransport
Michael Wallner [Mon, 2 Aug 2021 14:43:55 +0000 (16:43 +0200)] 
tests: skip SecureTransport

3 years agotests: skip ~E_DEPRECATED
Michael Wallner [Mon, 2 Aug 2021 14:42:58 +0000 (16:42 +0200)] 
tests: skip ~E_DEPRECATED

3 years agocurl: ssl/falsestart: ignore rc
Michael Wallner [Mon, 2 Aug 2021 14:42:23 +0000 (16:42 +0200)] 
curl: ssl/falsestart: ignore rc

3 years agogitignore: *.dep
Michael Wallner [Mon, 2 Aug 2021 14:16:02 +0000 (16:16 +0200)] 
gitignore: *.dep

3 years agoPHP-8.1 compat
Michael Wallner [Mon, 2 Aug 2021 14:15:09 +0000 (16:15 +0200)] 
PHP-8.1 compat

3 years agoMerge pull request #113 from Whissi/fix-undefined-array-key-PATH
Michael Wallner [Tue, 1 Jun 2021 08:44:01 +0000 (10:44 +0200)] 
Merge pull request #113 from Whissi/fix-undefined-array-key-PATH

tests: use getenv() to access environment variable

3 years agotests: use getenv() to access environment variable 113/head
Thomas Deutschmann [Tue, 18 May 2021 17:55:47 +0000 (19:55 +0200)] 
tests: use getenv() to access environment variable

Fixes

  Warning: Undefined array key "PATH" in pecl-http-4.1.0/work/php8.0/tests/skipif.inc on line 56

3 years agorelease v4.1.0 v4.1.0
Michael Wallner [Mon, 19 Apr 2021 08:20:28 +0000 (10:20 +0200)] 
release v4.1.0

 * Added request options:
  * http\Client\Curl::$abstract_unix_socket
  * http\Client\Curl::$altsvc
  * http\Client\Curl::$altsvc_ctrl
  * http\Client\Curl::$aws_sigv4
  * http\Client\Curl::$doh_url
  * http\Client\Curl::$dns_shuffle_addresses
  * http\Client\Curl::$haproxy_protocol
  * http\Client\Curl::$hsts
  * http\Client\Curl::$hsts_ctrl
  * http\Client\Curl::$http09_allowed
  * http\Client\Curl::$maxage_conn
  * http\Client\Curl::$pinned_publickey
  * http\Client\Curl::$proxy_ssl
  * http\Client\Curl::$socks5_auth
  * http\Client\Curl::$tcp_fastopen
  * http\Client\Curl::$tls13_ciphers
  * http\Client\Curl::$xoauth2_bearer
 * Added request option constants:
  * http\Client\Curl\AUTH_AWS_SIGV4
  * http\Client\Curl\AUTH_BEARER
  * http\Client\Curl\AUTH_NONE
  * http\Client\Curl\HTTP_VERSION_2_PRIOR_KNOWLEDGE
  * http\Client\Curl\HTTP_VERSION_3
  * http\Client\Curl\SSL_VERSION_MAX_*
  * http\Client\Curl\SSL_VERSION_TLSv1_3
 * Added library version constants:
  * http\Client\Curl\Versions\BROTLI
  * http\Client\Curl\Versions\CAINFO
  * http\Client\Curl\Versions\CAPATH
  * http\Client\Curl\Versions\HYPER
  * http\Client\Curl\Versions\ICONV
  * http\Client\Curl\Versions\NGHTTP2
  * http\Client\Curl\Versions\QUIC
  * http\Client\Curl\Versions\ZSTD

3 years agoexplicitly allow null to avoid warning in 8.1
Michael Wallner [Wed, 10 Mar 2021 09:17:01 +0000 (10:17 +0100)] 
explicitly allow null to avoid warning in 8.1

3 years agoconvert_to_explicit_type has been removed upstream
Michael Wallner [Wed, 10 Mar 2021 09:16:30 +0000 (10:16 +0100)] 
convert_to_explicit_type has been removed upstream

3 years agofix package.xml date
Michael Wallner [Tue, 9 Mar 2021 08:52:42 +0000 (09:52 +0100)] 
fix package.xml date

3 years agospl_ce_Countable -> zend_ce_countable
Michael Wallner [Tue, 9 Mar 2021 08:26:43 +0000 (09:26 +0100)] 
spl_ce_Countable -> zend_ce_countable

3 years agofence new altsvc and hsts features
Michael Wallner [Tue, 9 Mar 2021 07:44:20 +0000 (08:44 +0100)] 
fence new altsvc and hsts features

3 years agows
Michael Wallner [Tue, 9 Mar 2021 06:56:45 +0000 (07:56 +0100)] 
ws

3 years agoadd AWS_SIGV4 support
Michael Wallner [Mon, 8 Mar 2021 14:23:39 +0000 (15:23 +0100)] 
add AWS_SIGV4 support

3 years agoadd CURLOPT_HSTS
Michael Wallner [Mon, 8 Mar 2021 13:38:02 +0000 (14:38 +0100)] 
add CURLOPT_HSTS

3 years agoadd CURLOPT_PROXY_ISSUERCERT
Michael Wallner [Mon, 8 Mar 2021 13:15:02 +0000 (14:15 +0100)] 
add CURLOPT_PROXY_ISSUERCERT

3 years agoadd CURLMOPT_MAX_CONCURRENT_STREAMS
Michael Wallner [Mon, 8 Mar 2021 11:19:26 +0000 (12:19 +0100)] 
add CURLMOPT_MAX_CONCURRENT_STREAMS

3 years agoadd CURLINFO_RETRY_AFTER
Michael Wallner [Mon, 8 Mar 2021 11:07:27 +0000 (12:07 +0100)] 
add CURLINFO_RETRY_AFTER

3 years agoadd CURLOPT_MAXAGE_CONN
Michael Wallner [Mon, 8 Mar 2021 10:52:46 +0000 (11:52 +0100)] 
add CURLOPT_MAXAGE_CONN

3 years agono H1 pipelining since libcurl 7.62.0
Michael Wallner [Mon, 8 Mar 2021 09:55:41 +0000 (10:55 +0100)] 
no H1 pipelining since libcurl 7.62.0

3 years agoadd CURLOPT_ALTSVC{,_CTRL} and resp. constants
Michael Wallner [Mon, 8 Mar 2021 09:16:38 +0000 (10:16 +0100)] 
add CURLOPT_ALTSVC{,_CTRL} and resp. constants

3 years agoadd CURLOPT_HTTP09_ALLOWED
Michael Wallner [Mon, 8 Mar 2021 08:32:50 +0000 (09:32 +0100)] 
add CURLOPT_HTTP09_ALLOWED

3 years agoadd CURLOPT_DOH_URL
Michael Wallner [Fri, 5 Mar 2021 16:18:39 +0000 (17:18 +0100)] 
add CURLOPT_DOH_URL