Michael Wallner [Tue, 4 Apr 2017 07:09:20 +0000 (09:09 +0200)]
Fix issue #65
http\Client::enqueue(): Could not enqueue request: The easy handle
is already added to a multi handle (@rcanavan, Mike)
Michael Wallner [Tue, 4 Apr 2017 07:09:11 +0000 (09:09 +0200)]
3.1.1dev
Michael Wallner [Tue, 24 Jan 2017 07:38:58 +0000 (08:38 +0100)]
fix querystring object conversion on master
Ondřej Surý [Mon, 23 Jan 2017 09:39:48 +0000 (10:39 +0100)]
Use ntohl instead of doing LE conversion yourself
Michael Wallner [Tue, 13 Dec 2016 09:10:09 +0000 (10:10 +0100)]
configure: fix -Werror builds
Remi Collet [Mon, 12 Dec 2016 12:49:33 +0000 (13:49 +0100)]
fix build
Michael Wallner [Mon, 12 Dec 2016 09:02:56 +0000 (10:02 +0100)]
release 3.1.0
+ Added http\Client\Curl\User interface for userland event loops
+ Added http\Url::IGNORE_ERRORS, http\Url::SILENT_ERRORS and
http\Url::STDFLAGS
+ Added http\Client::setDebug(callable $debug)
+ Added http\Client\Curl\FEATURES constants and namespace
+ Added http\Client\Curl\VERSIONS constants and namespace
+ Added share_cookies and share_ssl (libcurl >= 7.23.0) options to
http\Client::configure()
+ http\Client uses curl_share handles to properly share cookies and
SSL/TLS sessions between requests
+ Improved configure checks for default CA bundles
+ Improved negotiation precision
* Fixed regression introduced by http\Params::PARSE_RFC5987: negotiation
using the params parser would receive param keys without the trailing
asterisk, stripped by http\Params::PARSE_RFC5987.
* Fix gh-issue #50: http\Client::dequeue() within
http\Client::setDebug() causes segfault (Mike, Maik Wagner)
* Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value()
(Mike, @rc0r)
* Fix gh-issue #45: HTTP/2 response message parsing broken with
libcurl >= 7.49.1 (Mike)
* Fix gh-issue #43: Joining query with empty original variable in query
(Mike, Sander Backus)
* Fix gh-issue #42: fatal error when using punycode in URLs
(Mike, Sebastian Thielen)
* Fix gh-issue #41: Use curl_version_info_data.features when
initializing options (Mike)
* Fix gh-issue #40: determinde the SSL backend used by curl at runtime
(Mike, @rcanavan)
* Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set option
proxy_service_name (Mike, @rcanavan)
* Fix gh-issue #38: Persistent curl handles: error code not properly
reset (Mike, @afflerbach)
* Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is
used (Mike, @rcanavan, @afflerbach)
* Fix gh-issue #34: allow setting multiple headers with the same name
(Mike, @rcanavan)
* Fix gh-issue #33: allow setting prodyhost request option to NULL
(Mike, @rcanavan)
* Fix gh-issue #31: add/improve configure checks for default
CA bundle/path (Mike, @rcanavan)
Changes from beta1:
* Fixed recursive calls to the event loop dispatcher
Changes from beta2:
+ Improved configure checks for IDNA libraries (added
--with-http-libicu-dir, --with-http-libidnkit{,2}-dir,
--with-http-libidn2-dir)
* Fix bug #73055: crash in http\QueryString (Mike, @rc0r)
(CVE-2016-7398)
* Fix bug #73185: Buffer overflow in HTTP parse_hostinfo() (Mike, @rc0r)
(CVE-2016-7961)
* Fix HTTP/2 version parser for older libcurl versions (Mike)
* Fix gh-issue #52: Underscores in host names: libidn Failed to parse
IDN (Mike, @canavan)
Michael Wallner [Mon, 12 Dec 2016 07:36:14 +0000 (08:36 +0100)]
prepare 3.1.0
Michael Wallner [Mon, 12 Dec 2016 07:30:01 +0000 (08:30 +0100)]
ignore new headers in root
Michael Wallner [Mon, 12 Dec 2016 07:28:59 +0000 (08:28 +0100)]
typo
Michael Wallner [Mon, 12 Dec 2016 07:27:41 +0000 (08:27 +0100)]
prepare 2.6.0
Michael Wallner [Fri, 21 Oct 2016 08:50:42 +0000 (10:50 +0200)]
fix ICU ifdefs
Michael Wallner [Fri, 7 Oct 2016 10:34:54 +0000 (12:34 +0200)]
Merge pull request #57 from m6w6/lc-utf8
avoid skipping test when current locale is C
Remi Collet [Fri, 7 Oct 2016 07:25:34 +0000 (09:25 +0200)]
avoid skipping test when current locale is C
Michael Wallner [Fri, 7 Oct 2016 05:58:04 +0000 (07:58 +0200)]
Merge pull request #56 from m6w6/Fix-3-0-1-Windows-build
Fixed #55 VC14 Windows build
Jan-E [Fri, 7 Oct 2016 01:48:45 +0000 (03:48 +0200)]
Enable libicu (IDNA2008/IDNA2003)
https://github.com/m6w6/ext-http/issues/55 Add PHP_HTTP_HAVE_LIBICU support
Jan-E [Thu, 6 Oct 2016 09:41:59 +0000 (11:41 +0200)]
Some further AC_DEFINE's
Additional changes cf https://github.com/m6w6/ext-http/issues/55
Jan-E [Wed, 5 Oct 2016 21:55:49 +0000 (23:55 +0200)]
Fixed #55 VC14 Windows build
Fix for https://github.com/m6w6/ext-http/issues/55
Michael Wallner [Wed, 5 Oct 2016 11:15:28 +0000 (13:15 +0200)]
fix build with GCC-4
closes #54
Michael Wallner [Wed, 5 Oct 2016 11:14:50 +0000 (13:14 +0200)]
fix tests
Michael Wallner [Wed, 5 Oct 2016 11:13:55 +0000 (13:13 +0200)]
fix build issues with SSL, NSS etc.
close #53
Michael Wallner [Wed, 5 Oct 2016 06:24:13 +0000 (08:24 +0200)]
CVE number is known now
Michael Wallner [Wed, 5 Oct 2016 06:23:19 +0000 (08:23 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Wed, 5 Oct 2016 06:19:41 +0000 (08:19 +0200)]
CVE number is known now
Michael Wallner [Tue, 4 Oct 2016 15:46:01 +0000 (17:46 +0200)]
release 3.1.0RC1
+ Added http\Client\Curl\User interface for userland event loops
+ Added http\Url::IGNORE_ERRORS, http\Url::SILENT_ERRORS and
http\Url::STDFLAGS
+ Added http\Client::setDebug(callable $debug)
+ Added http\Client\Curl\FEATURES constants and namespace
+ Added http\Client\Curl\VERSIONS constants and namespace
+ Added share_cookies and share_ssl (libcurl >= 7.23.0) options to
http\Client::configure()
+ http\Client uses curl_share handles to properly share cookies and
SSL/TLS sessions between requests
+ Improved configure checks for default CA bundles
+ Improved negotiation precision
* Fixed regression introduced by http\Params::PARSE_RFC5987: negotiation
using the params parser would receive param keys without the trailing
asterisk, stripped by http\Params::PARSE_RFC5987.
* Fix gh-issue #50: http\Client::dequeue() within
http\Client::setDebug() causes segfault (Mike, Maik Wagner)
* Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value()
(Mike, @rc0r)
* Fix gh-issue #45: HTTP/2 response message parsing broken with libcurl
>= 7.49.1 (Mike)
* Fix gh-issue #43: Joining query with empty original variable in query
(Mike, Sander Backus)
* Fix gh-issue #42: fatal error when using punycode in URLs (Mike,
Sebastian Thielen)
* Fix gh-issue #41: Use curl_version_info_data.features when
initializing options (Mike)
* Fix gh-issue #40: determinde the SSL backend used by curl at runtime
(Mike, @rcanavan)
* Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set option
proxy_service_name (Mike, @rcanavan)
* Fix gh-issue #38: Persistent curl handles: error code not properly
reset (Mike, @afflerbach)
* Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is
used (Mike, @rcanavan, @afflerbach)
* Fix gh-issue #34: allow setting multiple headers with the same name
(Mike, @rcanavan)
* Fix gh-issue #33: allow setting prodyhost request option to NULL
(Mike, @rcanavan)
* Fix gh-issue #31: add/improve configure checks for default CA
bundle/path (Mike, @rcanavan)
Changes from beta1:
* Fixed recursive calls to the event loop dispatcher
Changes from beta2:
+ Improved configure checks for IDNA libraries (added
--with-http-libicu-dir, --with-http-libidnkit{,2}-dir,
--with-http-libidn2-dir)
* Fix bug #73055: crash in http\QueryString (Mike, @rc0r)
(CVE-2016-7398)
* Fix bug #73185: Buffer overflow in HTTP parse_hostinfo() (Mike, @rc0r)
* Fix HTTP/2 version parser for older libcurl versions (Mike)
* Fix gh-issue #52: Underscores in host names: libidn Failed to parse
IDN (Mike, @canavan)
Michael Wallner [Tue, 4 Oct 2016 15:43:09 +0000 (17:43 +0200)]
release 2.6.0RC1
+ Added http\Client\Curl\User interface for userland event loops
+ Added http\Url::IGNORE_ERRORS, http\Url::SILENT_ERRORS and
http\Url::STDFLAGS
+ Added http\Client::setDebug(callable $debug)
+ Added http\Client\Curl\FEATURES constants and namespace
+ Added http\Client\Curl\VERSIONS constants and namespace
+ Added share_cookies and share_ssl (libcurl >= 7.23.0) options to
http\Client::configure()
+ http\Client uses curl_share handles to properly share cookies and
SSL/TLS sessions between requests
+ Improved configure checks for default CA bundles
+ Improved negotiation precision
* Fixed regression introduced by http\Params::PARSE_RFC5987: negotiation
using the params parser would receive param keys without the trailing
asterisk, stripped by http\Params::PARSE_RFC5987.
* Fix gh-issue #50: http\Client::dequeue() within
http\Client::setDebug() causes segfault (Mike, Maik Wagner)
* Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value()
(Mike, @rc0r)
* Fix gh-issue #45: HTTP/2 response message parsing broken with libcurl
>= 7.49.1 (Mike)
* Fix gh-issue #43: Joining query with empty original variable in query
(Mike, Sander Backus)
* Fix gh-issue #42: fatal error when using punycode in URLs (Mike,
Sebastian Thielen)
* Fix gh-issue #41: Use curl_version_info_data.features when
initializing options (Mike)
* Fix gh-issue #40: determinde the SSL backend used by curl at runtime
(Mike, @rcanavan)
* Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set option
proxy_service_name (Mike, @rcanavan)
* Fix gh-issue #38: Persistent curl handles: error code not properly
reset (Mike, @afflerbach)
* Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is
used (Mike, @rcanavan, @afflerbach)
* Fix gh-issue #34: allow setting multiple headers with the same name
(Mike, @rcanavan)
* Fix gh-issue #33: allow setting prodyhost request option to NULL
(Mike, @rcanavan)
* Fix gh-issue #31: add/improve configure checks for default CA
bundle/path (Mike, @rcanavan)
Changes from beta1:
* Fixed PHP-5.3 compatibility
* Fixed recursive calls to the event loop dispatcher
Changes from beta2:
* Fix bug #73055: crash in http\QueryString (Mike, @rc0r)
(CVE-2016-7398)
* Fix bug #73185: Buffer overflow in HTTP parse_hostinfo() (Mike, @rc0r)
* Fix HTTP/2 version parser for older libcurl versions (Mike)
Michael Wallner [Tue, 4 Oct 2016 14:05:57 +0000 (16:05 +0200)]
Merge branch 'v2.6.x' of ../ext-http
Michael Wallner [Tue, 4 Oct 2016 14:05:46 +0000 (16:05 +0200)]
changelog & new configure options
Michael Wallner [Tue, 4 Oct 2016 14:01:03 +0000 (16:01 +0200)]
fix performance regression with event loop
Michael Wallner [Tue, 4 Oct 2016 08:41:14 +0000 (10:41 +0200)]
prepare 3.1.0RC1
Michael Wallner [Tue, 4 Oct 2016 08:32:30 +0000 (10:32 +0200)]
ChangeLog-v3
Michael Wallner [Tue, 4 Oct 2016 08:28:41 +0000 (10:28 +0200)]
Merge branch 'v2.6.x' of ../ext-http
Michael Wallner [Mon, 3 Oct 2016 13:34:22 +0000 (15:34 +0200)]
fix idna parser flags checking
Michael Wallner [Mon, 3 Oct 2016 10:42:09 +0000 (12:42 +0200)]
fix curl-config --libs treatment
Michael Wallner [Mon, 3 Oct 2016 10:24:21 +0000 (12:24 +0200)]
build fixes
Michael Wallner [Mon, 3 Oct 2016 10:07:24 +0000 (12:07 +0200)]
try to find common level of strictness; fixes #52
Michael Wallner [Mon, 3 Oct 2016 10:06:33 +0000 (12:06 +0200)]
fix custom version checks
Michael Wallner [Mon, 3 Oct 2016 09:48:32 +0000 (11:48 +0200)]
update config.m4; allow disabling idna; add idnkit
Michael Wallner [Mon, 26 Sep 2016 10:29:22 +0000 (12:29 +0200)]
flush
Michael Wallner [Thu, 22 Sep 2016 08:47:17 +0000 (10:47 +0200)]
trusty seems faster, try again
Michael Wallner [Thu, 22 Sep 2016 07:02:16 +0000 (09:02 +0200)]
update travis/pecl
Michael Wallner [Thu, 22 Sep 2016 06:51:48 +0000 (08:51 +0200)]
update travis/pecl
Michael Wallner [Thu, 22 Sep 2016 04:37:13 +0000 (06:37 +0200)]
try trusty
Michael Wallner [Tue, 4 Oct 2016 08:23:40 +0000 (10:23 +0200)]
prepare 2.6.0RC1
Michael Wallner [Tue, 4 Oct 2016 08:18:11 +0000 (10:18 +0200)]
update travis-pecl
Michael Wallner [Tue, 4 Oct 2016 08:18:06 +0000 (10:18 +0200)]
docs
Michael Wallner [Tue, 4 Oct 2016 08:13:35 +0000 (10:13 +0200)]
fix PHP-73185
Michael Wallner [Fri, 30 Sep 2016 10:13:16 +0000 (12:13 +0200)]
remove duplicate entries
Michael Wallner [Fri, 30 Sep 2016 10:12:36 +0000 (12:12 +0200)]
remove leftover merge conflict
Thanks @rcanavan
Michael Wallner [Wed, 21 Sep 2016 13:07:20 +0000 (15:07 +0200)]
update travis/pecl
Michael Wallner [Wed, 21 Sep 2016 12:52:49 +0000 (14:52 +0200)]
update travis/pecl
Michael Wallner [Wed, 21 Sep 2016 12:31:35 +0000 (14:31 +0200)]
cppcheck & 7.1RC tests
Michael Wallner [Thu, 15 Sep 2016 06:18:57 +0000 (08:18 +0200)]
Squashed commit of the following:
commit
788a59093cd72295f7c122f453e693a624038cac
Author: Michael Wallner <mike@php.net>
Date: Thu Sep 15 08:18:14 2016 +0200
flush
commit
e6eb81c90406275f1b27df1ba9ccaa6987980bf8
Author: Michael Wallner <mike@php.net>
Date: Thu Sep 15 07:59:57 2016 +0200
checking if we really need this
commit
9cb4ac2e1003aa2aa6465854cb99382b447db2bb
Author: Michael Wallner <mike@php.net>
Date: Thu Sep 15 07:44:14 2016 +0200
cd src/.libs
commit
ec71e1dbf561a6ce1b6b46b027f0e013a8dc2209
Author: Michael Wallner <mike@php.net>
Date: Wed Sep 14 22:43:35 2016 +0200
try to locate gcno files
commit
4889271cdaeaf8dc4445523d04b8d95779b13af9
Author: Michael Wallner <mike@php.net>
Date: Wed Sep 14 21:31:25 2016 +0200
anothertry
commit
28e3c60b50fa25f459ed6255298483f6210cc317
Author: Michael Wallner <mike@php.net>
Date: Wed Sep 14 19:39:50 2016 +0200
manually run gcov
commit
61d159102918e99ac4c674d597fdc12c490850eb
Author: Michael Wallner <mike@php.net>
Date: Wed Sep 14 19:12:35 2016 +0200
codecov
Michael Wallner [Wed, 14 Sep 2016 15:30:35 +0000 (17:30 +0200)]
codecov
Michael Wallner [Wed, 14 Sep 2016 12:36:48 +0000 (14:36 +0200)]
add coverity script
Michael Wallner [Wed, 14 Sep 2016 10:56:01 +0000 (12:56 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Wed, 14 Sep 2016 10:55:43 +0000 (12:55 +0200)]
coverity fix
Michael Wallner [Wed, 14 Sep 2016 09:39:47 +0000 (11:39 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Wed, 14 Sep 2016 09:39:25 +0000 (11:39 +0200)]
coverity fix
Michael Wallner [Wed, 14 Sep 2016 07:54:24 +0000 (09:54 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Wed, 14 Sep 2016 07:39:59 +0000 (09:39 +0200)]
coverity fixes
Michael Wallner [Wed, 14 Sep 2016 07:39:24 +0000 (09:39 +0200)]
coverity fixes
Michael Wallner [Wed, 14 Sep 2016 07:05:13 +0000 (09:05 +0200)]
coverity fixes
Michael Wallner [Wed, 14 Sep 2016 06:07:59 +0000 (08:07 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Wed, 14 Sep 2016 06:05:22 +0000 (08:05 +0200)]
new curlinfo
Michael Wallner [Mon, 12 Sep 2016 06:54:16 +0000 (08:54 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Mon, 12 Sep 2016 06:53:59 +0000 (08:53 +0200)]
add missing test
Michael Wallner [Mon, 12 Sep 2016 06:30:57 +0000 (08:30 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Mon, 12 Sep 2016 06:24:54 +0000 (08:24 +0200)]
fix bug #73055
Michael Wallner [Mon, 12 Sep 2016 06:24:37 +0000 (08:24 +0200)]
fix bug title
Michael Wallner [Mon, 12 Sep 2016 06:23:50 +0000 (08:23 +0200)]
fix bug title
Michael Wallner [Thu, 8 Sep 2016 06:30:51 +0000 (08:30 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Wed, 7 Sep 2016 12:55:24 +0000 (14:55 +0200)]
attempt to fix that HTTP/2 nonsense
Michael Wallner [Wed, 7 Sep 2016 06:42:32 +0000 (08:42 +0200)]
fix package.xml
Michael Wallner [Wed, 7 Sep 2016 06:01:09 +0000 (08:01 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Wed, 7 Sep 2016 05:55:15 +0000 (07:55 +0200)]
administrativa
Michael Wallner [Tue, 6 Sep 2016 14:25:39 +0000 (16:25 +0200)]
5.3 compatibility
Michael Wallner [Tue, 23 Aug 2016 11:46:50 +0000 (13:46 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Tue, 23 Aug 2016 11:37:53 +0000 (13:37 +0200)]
avoid recursive calls to the event loop dispatcher
Michael Wallner [Tue, 23 Aug 2016 09:51:01 +0000 (11:51 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Tue, 23 Aug 2016 09:50:08 +0000 (11:50 +0200)]
avoid recursive calls to the event loop dispatcher
Michael Wallner [Mon, 22 Aug 2016 13:50:28 +0000 (15:50 +0200)]
prepare 3.1.0beta1
Michael Wallner [Mon, 22 Aug 2016 13:50:10 +0000 (15:50 +0200)]
prepare 2.6.0beta1
Michael Wallner [Mon, 22 Aug 2016 13:03:46 +0000 (15:03 +0200)]
update travis/pecl
Michael Wallner [Mon, 22 Aug 2016 11:38:39 +0000 (13:38 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Mon, 22 Aug 2016 10:23:03 +0000 (12:23 +0200)]
fix test
Michael Wallner [Mon, 22 Aug 2016 09:55:45 +0000 (11:55 +0200)]
add tests
Michael Wallner [Wed, 17 Aug 2016 08:57:01 +0000 (10:57 +0200)]
restore append functionality of http\Message::addHeaders
Michael Wallner [Wed, 17 Aug 2016 08:26:10 +0000 (10:26 +0200)]
error control for http\Url
Michael Wallner [Wed, 10 Aug 2016 13:41:19 +0000 (15:41 +0200)]
add userhandler test
Michael Wallner [Wed, 10 Aug 2016 13:41:09 +0000 (15:41 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Wed, 10 Aug 2016 13:14:41 +0000 (15:14 +0200)]
Fix #50
Disallow dequeuing requests while executing callbacks, because libcurl
still expects the handle to be attached when returning from the
callback.
Michael Wallner [Wed, 27 Jul 2016 13:24:35 +0000 (15:24 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Wed, 27 Jul 2016 12:54:56 +0000 (14:54 +0200)]
fix messagebody gc/refcount
Michael Wallner [Wed, 27 Jul 2016 12:47:05 +0000 (14:47 +0200)]
fix #46 (HTTP/2 response message parsing broken with libcurl >= 7.49.1)
Michael Wallner [Wed, 13 Jul 2016 11:14:43 +0000 (13:14 +0200)]
proper fix for #47
Michael Wallner [Wed, 13 Jul 2016 08:05:39 +0000 (10:05 +0200)]
fix #47
Michael Wallner [Tue, 21 Jun 2016 07:09:14 +0000 (09:09 +0200)]
Merge branch 'v2.6.x'
Michael Wallner [Tue, 21 Jun 2016 06:50:14 +0000 (08:50 +0200)]
Add http\Client::setDebug(callable $debug) and constants
Returns:
* http\Client, self
Params:
* callable $debug as
function(http\Client $c, http\Client\Request $r, int $type, string $data)
Added constants (used for the $type bitmask parameter of the callback):
* http\Client::DEBUG_INFO (informational text)
* http\Client::DEBUG_IN (received data)
* http\Client::DEBUG_OUT (sent data)
* http\Client::DEBUG_HEADER (headers)
* http\Client::DEBUG_BODY (body)
* http\Client::DEBUG_SSL (SSL data)
E.g. incoming headers would have the bitmask
(http\Client::DEBUG_IN|http\Client::DEBUG_HEADER) set in the $type
parameter.
Messages of type http\Client::DEBUG_INFO contain human readable text
like "Proxy CONNECT connection closed\n".
Michael Wallner [Wed, 15 Jun 2016 14:08:39 +0000 (16:08 +0200)]
return count of still unfinished requests from run callback