m6w6/ext-http
5 years agofix travis
Michael Wallner [Fri, 7 Jun 2019 08:05:11 +0000 (10:05 +0200)] 
fix travis

5 years agoprepare v3.2.1
Michael Wallner [Thu, 6 Jun 2019 13:55:56 +0000 (15:55 +0200)] 
prepare v3.2.1

* Fixed gh-issue #88: Unable to run test suite (Remi Collet)
* Fixed gh-issue #86: test failure with curl 7.64
* Fixed gh-issue #85: [-Wformat-extra-args] build warnings
* Fixed gh-issue #84: segfault and build failure since curl 7.62
* Fixed gh-issue #82: Test harness improvements (Chris Wright)
* Fixed gh-issue #64: compress and connecttimeout interfere with low_speed_limit (@rcanavan)
* Fixed http\QueryString::getGlobalInstance()
* Fixed missing 2nd reflection argument info of http\Client::notify()
* Fixed PHP-7.4 compatibility

5 years agoalso ignore crc32c which is 7.4+ only
Remi Collet [Thu, 6 Jun 2019 12:27:37 +0000 (14:27 +0200)] 
also ignore crc32c which is 7.4+ only

5 years agoFix #88 bad variable name
Remi Collet [Thu, 6 Jun 2019 12:23:38 +0000 (14:23 +0200)] 
Fix #88 bad variable name

5 years agoupdate travis/pecl
Michael Wallner [Mon, 1 Apr 2019 12:55:10 +0000 (14:55 +0200)] 
update travis/pecl

5 years agoupdate travis/pecl
Michael Wallner [Fri, 29 Mar 2019 09:21:55 +0000 (10:21 +0100)] 
update travis/pecl

5 years agofix test
Michael Wallner [Fri, 22 Mar 2019 18:41:06 +0000 (19:41 +0100)] 
fix test

5 years agotests: pecl/event needs ext/socket by default
Michael Wallner [Fri, 22 Mar 2019 14:10:59 +0000 (15:10 +0100)] 
tests: pecl/event needs ext/socket by default

5 years agotests: switch from pecl-ev to pecl-event
Michael Wallner [Fri, 22 Mar 2019 13:21:34 +0000 (14:21 +0100)] 
tests: switch from pecl-ev to pecl-event

5 years agofix tests
Michael Wallner [Fri, 22 Mar 2019 12:37:17 +0000 (13:37 +0100)] 
fix tests

5 years agofix reflection
Michael Wallner [Wed, 13 Mar 2019 13:58:56 +0000 (14:58 +0100)] 
fix reflection

5 years agotravis
Michael Wallner [Sat, 2 Mar 2019 17:14:15 +0000 (18:14 +0100)] 
travis

5 years agotravis: condense build matrix
Michael Wallner [Sat, 2 Mar 2019 11:13:35 +0000 (12:13 +0100)] 
travis: condense build matrix

5 years agoPHP-7.x compatibility
Michael Wallner [Fri, 1 Mar 2019 14:38:06 +0000 (15:38 +0100)] 
PHP-7.x compatibility

5 years agotravis
Michael Wallner [Fri, 1 Mar 2019 13:50:29 +0000 (14:50 +0100)] 
travis

5 years agoPHP-7.4 compatibility
Michael Wallner [Fri, 1 Mar 2019 13:48:57 +0000 (14:48 +0100)] 
PHP-7.4 compatibility

5 years agofix #64 (by rcanavan)
Michael Wallner [Fri, 1 Mar 2019 13:48:04 +0000 (14:48 +0100)] 
fix #64 (by rcanavan)

5 years agoconfigure: fix lib recognition
Michael Wallner [Fri, 1 Mar 2019 13:47:28 +0000 (14:47 +0100)] 
configure: fix lib recognition

5 years agotravis: xenial
Michael Wallner [Fri, 1 Mar 2019 09:38:23 +0000 (10:38 +0100)] 
travis: xenial

5 years agotravis: matrix.include trusty/xenial
Michael Wallner [Fri, 1 Mar 2019 08:18:27 +0000 (09:18 +0100)] 
travis: matrix.include trusty/xenial

5 years agotravis: allow_failures
Michael Wallner [Fri, 1 Mar 2019 07:14:08 +0000 (08:14 +0100)] 
travis: allow_failures

5 years agofix _GET reference for any 7.x
Michael Wallner [Thu, 28 Feb 2019 17:08:50 +0000 (18:08 +0100)] 
fix _GET reference for any 7.x

5 years agofix _GET reference
Michael Wallner [Thu, 28 Feb 2019 14:54:42 +0000 (15:54 +0100)] 
fix _GET reference

5 years agofix typo
Michael Wallner [Thu, 28 Feb 2019 09:19:29 +0000 (10:19 +0100)] 
fix typo

5 years agoPHP-7.4 compatibility
Michael Wallner [Thu, 28 Feb 2019 09:15:30 +0000 (10:15 +0100)] 
PHP-7.4 compatibility

5 years agophp_url changed to zend_string*
Michael Wallner [Thu, 28 Feb 2019 09:14:16 +0000 (10:14 +0100)] 
php_url changed to zend_string*

5 years agofix format warnings, closes #85
Michael Wallner [Thu, 28 Feb 2019 09:13:19 +0000 (10:13 +0100)] 
fix format warnings, closes #85

5 years agotravis: allow failures with PHP-master
Michael Wallner [Tue, 26 Feb 2019 19:58:49 +0000 (20:58 +0100)] 
travis: allow failures with PHP-master

5 years agofix test
Michael Wallner [Tue, 26 Feb 2019 18:54:58 +0000 (19:54 +0100)] 
fix test

5 years agoupdate travis
Michael Wallner [Tue, 26 Feb 2019 17:08:47 +0000 (18:08 +0100)] 
update travis

5 years agoworkaround for #84
Michael Wallner [Tue, 26 Feb 2019 17:07:34 +0000 (18:07 +0100)] 
workaround for #84

5 years agoupdate tests for newer libcurl
Michael Wallner [Tue, 26 Feb 2019 15:40:44 +0000 (16:40 +0100)] 
update tests for newer libcurl

5 years agoMerge pull request #74 from gbarosio/readme
Michael Wallner [Mon, 4 Feb 2019 13:37:10 +0000 (14:37 +0100)] 
Merge pull request #74 from gbarosio/readme

Added the correct git url to the README.md fileE [ci skip]

6 years agobuild: fix master
Michael Wallner [Thu, 27 Sep 2018 06:18:37 +0000 (08:18 +0200)] 
build: fix master

6 years agoMerge branch 'fix/no-test-args-passthru' of https://github.com/DaveRandom/ext-http
Michael Wallner [Wed, 26 Sep 2018 08:21:05 +0000 (10:21 +0200)] 
Merge branch 'fix/no-test-args-passthru' of https://github.com/DaveRandom/ext-http

6 years agocoverity fixups
Michael Wallner [Wed, 26 Sep 2018 08:19:39 +0000 (10:19 +0200)] 
coverity fixups

6 years agoOnly pass valid options through from TEST_PHP_ARGS and make sure child process has... 82/head
Chris Wright [Wed, 22 Aug 2018 14:53:05 +0000 (15:53 +0100)] 
Only pass valid options through from TEST_PHP_ARGS and make sure child process has extensions

6 years agotravis: fix test
Michael Wallner [Mon, 23 Jul 2018 09:46:50 +0000 (11:46 +0200)] 
travis: fix test

6 years agotravis: fix ssl client test
Michael Wallner [Mon, 23 Jul 2018 09:43:57 +0000 (11:43 +0200)] 
travis: fix ssl client test

6 years agoback to dev
Michael Wallner [Thu, 19 Jul 2018 11:22:51 +0000 (13:22 +0200)] 
back to dev

6 years agoprepare release v3.2.0 RELEASE_3_2_0
Michael Wallner [Thu, 19 Jul 2018 11:16:13 +0000 (13:16 +0200)] 
prepare release v3.2.0

* Fixed gh-issue #73: build fails with libidn and libidn2
* Fixed gh-issue #78: PHP-7.3 build crashes
* Fixed PHP-7.2 build crashes
+ Added brotli compression support
+ Implemented gh-issue #58: Notify observers before any request is built

6 years agotravis: rebuild deps on master
Michael Wallner [Wed, 18 Jul 2018 11:50:43 +0000 (13:50 +0200)] 
travis: rebuild deps on master

6 years agotravis: clean on build failure
Michael Wallner [Wed, 18 Jul 2018 11:23:18 +0000 (13:23 +0200)] 
travis: clean on build failure

6 years agoadd 7.3; reconfigure for master
Michael Wallner [Wed, 18 Jul 2018 10:59:26 +0000 (12:59 +0200)] 
add 7.3; reconfigure for master

6 years agofix for 7.3.0alpha4
Remi Collet [Wed, 18 Jul 2018 04:37:53 +0000 (06:37 +0200)] 
fix for 7.3.0alpha4

6 years agofix shutdown crash with 7.3/master
Michael Wallner [Tue, 26 Jun 2018 15:19:43 +0000 (17:19 +0200)] 
fix shutdown crash with 7.3/master

6 years agoattempt to fix #78
Michael Wallner [Tue, 26 Jun 2018 13:40:28 +0000 (15:40 +0200)] 
attempt to fix #78

PHP-7.3 build fails on x86 due to change of the calling convention of
the zif_handler

6 years agoprepare release v3.2.0RC1 RELEASE_3_2_0_RC1pl1
Michael Wallner [Mon, 9 Apr 2018 10:35:26 +0000 (12:35 +0200)] 
prepare release v3.2.0RC1

* PHP-7.2 compatibility
* Fixed gh-issue #73: build fails with libidn and libidn2
+ Added brotli compression support
+ Implemented gh-issue #58: Notify observers before any request is built

6 years agoprepare release v3.2.0RC1 RELEASE_3_2_0_RC1
Michael Wallner [Mon, 9 Apr 2018 10:33:01 +0000 (12:33 +0200)] 
prepare release v3.2.0RC1

* PHP-7.2 compatibility
* Fixed gh-issue #73: build fails with libidn and libidn2
+ Added brotli compression support
+ Implemented gh-issue #58: Notify observers before any request is built

6 years agosplit utf8 ranges and single chars
Michael Wallner [Tue, 6 Mar 2018 12:50:04 +0000 (13:50 +0100)] 
split utf8 ranges and single chars

6 years agouse binary search on utf8_ranges
Michael Wallner [Tue, 6 Mar 2018 11:45:45 +0000 (12:45 +0100)] 
use binary search on utf8_ranges

6 years agoswitching on bits of just the start char won't work ;)
Michael Wallner [Mon, 5 Mar 2018 13:30:31 +0000 (14:30 +0100)] 
switching on bits of just the start char won't work ;)

6 years agodelete gcov files before cache
Michael Wallner [Mon, 5 Mar 2018 13:29:23 +0000 (14:29 +0100)] 
delete gcov files before cache

6 years agouse u_isalnum if available
Michael Wallner [Mon, 5 Mar 2018 10:52:49 +0000 (11:52 +0100)] 
use u_isalnum if available

6 years agotwo-split switch
Michael Wallner [Mon, 5 Mar 2018 08:11:20 +0000 (09:11 +0100)] 
two-split switch

6 years agounrolled isualpha
Michael Wallner [Sat, 3 Mar 2018 14:01:14 +0000 (15:01 +0100)] 
unrolled isualpha

6 years agochange build directory
Michael Wallner [Fri, 2 Mar 2018 20:29:18 +0000 (21:29 +0100)] 
change build directory

6 years agotraying to cache stuff on travis
Michael Wallner [Fri, 2 Mar 2018 14:44:21 +0000 (15:44 +0100)] 
traying to cache stuff on travis

6 years agofix dangling else swallowing the return statement with clang
Michael Wallner [Fri, 2 Mar 2018 12:42:31 +0000 (13:42 +0100)] 
fix dangling else swallowing the return statement with clang

6 years agofix segfault if filter could not be located
Michael Wallner [Fri, 2 Mar 2018 12:35:52 +0000 (13:35 +0100)] 
fix segfault if filter could not be located

6 years agofix test
Michael Wallner [Fri, 2 Mar 2018 11:07:49 +0000 (12:07 +0100)] 
fix test

6 years agofix tests
Michael Wallner [Fri, 2 Mar 2018 10:13:01 +0000 (11:13 +0100)] 
fix tests

6 years agonew build matrix
Michael Wallner [Fri, 2 Mar 2018 09:56:57 +0000 (10:56 +0100)] 
new build matrix

6 years agoimplement #58
Michael Wallner [Tue, 27 Feb 2018 16:32:45 +0000 (17:32 +0100)] 
implement #58

Client observers are now informed with an "prepare" event.
Note, though, that http\Client::getProgressInfo() does not return
the progress state received for this event.

6 years agofix build without brotli, take 2
Michael Wallner [Tue, 27 Feb 2018 15:18:21 +0000 (16:18 +0100)] 
fix build without brotli, take 2

6 years agofix build without brotli
Michael Wallner [Tue, 27 Feb 2018 14:29:13 +0000 (15:29 +0100)] 
fix build without brotli

6 years agoinclude brotli in the coverage build
Michael Wallner [Tue, 27 Feb 2018 14:22:27 +0000 (15:22 +0100)] 
include brotli in the coverage build

6 years agoset AHVE_LIBBROTLI to false if checks fail
Michael Wallner [Tue, 27 Feb 2018 14:19:59 +0000 (15:19 +0100)] 
set AHVE_LIBBROTLI to false if checks fail

6 years agotypo
Michael Wallner [Tue, 27 Feb 2018 10:28:59 +0000 (11:28 +0100)] 
typo

6 years agoPOS: brotli
Michael Wallner [Tue, 27 Feb 2018 10:04:52 +0000 (11:04 +0100)] 
POS: brotli

6 years agoconfigure: fix libevent version check
Michael Wallner [Tue, 27 Feb 2018 10:04:19 +0000 (11:04 +0100)] 
configure: fix libevent version check

6 years agoconfigure: fix version check with empty version
Michael Wallner [Tue, 27 Feb 2018 10:03:59 +0000 (11:03 +0100)] 
configure: fix version check with empty version

6 years agodon't fail on cppcheck, yet
Michael Wallner [Tue, 27 Feb 2018 07:50:35 +0000 (08:50 +0100)] 
don't fail on cppcheck, yet

6 years agoexport PKG_CONFIG_PATH, else pkg-config doesn't pick it up
Michael Wallner [Tue, 27 Feb 2018 07:27:26 +0000 (08:27 +0100)] 
export PKG_CONFIG_PATH, else pkg-config doesn't pick it up

6 years agoprepare travis
Michael Wallner [Mon, 26 Feb 2018 16:54:02 +0000 (17:54 +0100)] 
prepare travis

6 years agogitignore
Michael Wallner [Mon, 26 Feb 2018 16:35:04 +0000 (17:35 +0100)] 
gitignore

6 years agoadd missing files
Michael Wallner [Mon, 26 Feb 2018 16:34:05 +0000 (17:34 +0100)] 
add missing files

6 years agoadd brotli filter and tests
Michael Wallner [Mon, 26 Feb 2018 16:25:46 +0000 (17:25 +0100)] 
add brotli filter and tests

6 years agoignore new headers
Michael Wallner [Mon, 26 Feb 2018 12:40:05 +0000 (13:40 +0100)] 
ignore new headers

6 years agofix warning
Michael Wallner [Mon, 26 Feb 2018 12:39:49 +0000 (13:39 +0100)] 
fix warning

6 years agooptimize
Michael Wallner [Mon, 26 Feb 2018 12:39:32 +0000 (13:39 +0100)] 
optimize

6 years agoadd brotli encoding
Michael Wallner [Mon, 26 Feb 2018 07:49:03 +0000 (08:49 +0100)] 
add brotli encoding

6 years agoupdate curl info
Michael Wallner [Fri, 23 Feb 2018 07:18:44 +0000 (08:18 +0100)] 
update curl info

6 years agoupdate utf8 table
Michael Wallner [Fri, 23 Feb 2018 07:12:28 +0000 (08:12 +0100)] 
update utf8 table

6 years agofix cppcheck
Michael Wallner [Fri, 23 Feb 2018 06:58:11 +0000 (07:58 +0100)] 
fix cppcheck

6 years agoperformance improvements
Michael Wallner [Thu, 22 Feb 2018 16:35:13 +0000 (17:35 +0100)] 
performance improvements

6 years agofix test
Michael Wallner [Tue, 20 Feb 2018 14:02:59 +0000 (15:02 +0100)] 
fix test

6 years agotest against master
Michael Wallner [Tue, 20 Feb 2018 13:28:19 +0000 (14:28 +0100)] 
test against master

6 years agofix leak
Michael Wallner [Tue, 20 Feb 2018 12:43:02 +0000 (13:43 +0100)] 
fix leak

6 years agofix macro
Michael Wallner [Thu, 8 Feb 2018 15:59:50 +0000 (16:59 +0100)] 
fix macro

6 years agoupdate test versions
Michael Wallner [Thu, 8 Feb 2018 15:52:45 +0000 (16:52 +0100)] 
update test versions

6 years agocompat with master
Michael Wallner [Thu, 8 Feb 2018 15:48:04 +0000 (16:48 +0100)] 
compat with master

6 years agorefactor for 7.2
Michael Wallner [Wed, 7 Feb 2018 11:45:52 +0000 (12:45 +0100)] 
refactor for 7.2

6 years agofix #73
Michael Wallner [Thu, 1 Feb 2018 13:36:09 +0000 (14:36 +0100)] 
fix #73

include idna.h prior idn2.h to ensure INDA_H is defined and libidn2 does
not try to define the idna compat layer

7 years agoAdded the correct git url to the README.md fileE 74/head
Guido Barosio [Sun, 1 Oct 2017 15:28:27 +0000 (12:28 -0300)] 
Added the correct git url to the README.md fileE

7 years ago--crashes; ++leaks;
Michael Wallner [Wed, 20 Sep 2017 14:25:41 +0000 (16:25 +0200)] 
--crashes; ++leaks;

7 years agoMerge branch 'v3.1.x'
Michael Wallner [Mon, 3 Jul 2017 07:59:08 +0000 (09:59 +0200)] 
Merge branch 'v3.1.x'

7 years agoHandle NULL strings gracefully during constant registration
Michael Heimpold [Sun, 4 Jun 2017 13:00:33 +0000 (15:00 +0200)] 
Handle NULL strings gracefully during constant registration

When libcurl is compiled not using e.g. libz or SSL, then a call to
curl_version_info could return NULL in the corresponding fields of
curl_version_info_data.

Passing such NULL pointers down to REGISTER_NS_STRING_CONSTANT results
in a segfault during php startup, so let's check for this special case
and register a NULL constant in this case.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
7 years agofix #68
Michael Wallner [Tue, 4 Apr 2017 19:05:21 +0000 (21:05 +0200)] 
fix #68

7 years agofix #66 & fix #67
Michael Wallner [Tue, 4 Apr 2017 18:48:42 +0000 (20:48 +0200)] 
fix #66 & fix #67