m6w6/ext-http
9 years agoskip this test for offline build
Remi Collet [Mon, 1 Sep 2014 11:48:46 +0000 (13:48 +0200)] 
skip this test for offline build

9 years agoMerge branch 'master' of git.php.net:/pecl/http/pecl_http
Remi Collet [Mon, 1 Sep 2014 11:41:44 +0000 (13:41 +0200)] 
Merge branch 'master' of git.php.net:/pecl/http/pecl_http

* 'master' of git.php.net:/pecl/http/pecl_http: (329 commits)
  back to dev
  prepare 2.1.0
  fix sovereignty of clients when using events
  simplify duff device usage
  simplify duff device usage
  expose http\Message\Parser class
  fix invalid read
  release 2.1.0RC3
  prepare RC3
  news
  fix possible bus error on shutdown when using events
  be clear what we want the user to do
  add curlcode transfer info
  define off_t
  Removed port and scheme guessing of http\Url for portability
  fix PHP-5.3 compatibility
  MSVC dumbness
  back to dev
  prepare R_2_1_0_RC2
  fix write on stack
  ...

9 years agoMerge branch 'R_2_1'
Michael Wallner [Mon, 1 Sep 2014 09:32:32 +0000 (11:32 +0200)] 
Merge branch 'R_2_1'

9 years agoback to dev
Michael Wallner [Mon, 1 Sep 2014 09:32:21 +0000 (11:32 +0200)] 
back to dev

9 years agoMerge branch 'R_2_1'
Michael Wallner [Mon, 1 Sep 2014 09:03:42 +0000 (11:03 +0200)] 
Merge branch 'R_2_1'

9 years agoprepare 2.1.0 RELEASE_2_1_0
Michael Wallner [Mon, 1 Sep 2014 09:03:06 +0000 (11:03 +0200)] 
prepare 2.1.0

9 years agofix sovereignty of clients when using events
Michael Wallner [Mon, 1 Sep 2014 09:02:39 +0000 (11:02 +0200)] 
fix sovereignty of clients when using events

9 years agosimplify duff device usage
Michael Wallner [Tue, 26 Aug 2014 15:51:14 +0000 (17:51 +0200)] 
simplify duff device usage

9 years agosimplify duff device usage
Michael Wallner [Tue, 26 Aug 2014 15:51:14 +0000 (17:51 +0200)] 
simplify duff device usage

9 years agoexpose http\Message\Parser class
Michael Wallner [Tue, 19 Aug 2014 19:34:59 +0000 (21:34 +0200)] 
expose http\Message\Parser class

9 years agofix invalid read
Michael Wallner [Tue, 19 Aug 2014 18:35:20 +0000 (20:35 +0200)] 
fix invalid read

9 years agorelease 2.1.0RC3 RELEASE_2_1_0_RC3
Michael Wallner [Tue, 19 Aug 2014 07:23:43 +0000 (09:23 +0200)] 
release 2.1.0RC3

9 years agoprepare RC3
Michael Wallner [Wed, 13 Aug 2014 14:36:56 +0000 (16:36 +0200)] 
prepare RC3

9 years agonews
Michael Wallner [Wed, 13 Aug 2014 12:23:38 +0000 (14:23 +0200)] 
news

9 years agofix possible bus error on shutdown when using events
Michael Wallner [Wed, 13 Aug 2014 12:18:37 +0000 (14:18 +0200)] 
fix possible bus error on shutdown when using events

9 years agobe clear what we want the user to do
Michael Wallner [Wed, 13 Aug 2014 12:18:22 +0000 (14:18 +0200)] 
be clear what we want the user to do

9 years agoadd curlcode transfer info
Michael Wallner [Wed, 13 Aug 2014 11:12:45 +0000 (13:12 +0200)] 
add curlcode transfer info

9 years agodefine off_t
Michael Wallner [Wed, 13 Aug 2014 11:11:14 +0000 (13:11 +0200)] 
define off_t

9 years agoRemoved port and scheme guessing of http\Url for portability
Michael Wallner [Wed, 13 Aug 2014 10:29:44 +0000 (12:29 +0200)] 
Removed port and scheme guessing of http\Url for portability

9 years agofix PHP-5.3 compatibility
Michael Wallner [Mon, 11 Aug 2014 15:13:05 +0000 (17:13 +0200)] 
fix PHP-5.3 compatibility

9 years agoMSVC dumbness
Michael Wallner [Wed, 6 Aug 2014 05:57:48 +0000 (07:57 +0200)] 
MSVC dumbness

9 years agoMerge branch 'merge-DEV_2'
Michael Wallner [Tue, 5 Aug 2014 16:47:19 +0000 (18:47 +0200)] 
Merge branch 'merge-DEV_2'

9 years agoMerge branch 'DEV_2' into HEAD
Michael Wallner [Tue, 5 Aug 2014 16:46:17 +0000 (18:46 +0200)] 
Merge branch 'DEV_2' into HEAD

9 years agoback to dev
Michael Wallner [Tue, 5 Aug 2014 15:17:24 +0000 (17:17 +0200)] 
back to dev

9 years agoprepare R_2_1_0_RC2 RELEASE_2_1_0_RC2
Michael Wallner [Tue, 5 Aug 2014 15:07:06 +0000 (17:07 +0200)] 
prepare R_2_1_0_RC2

9 years agofix write on stack
Michael Wallner [Tue, 5 Aug 2014 06:07:26 +0000 (08:07 +0200)] 
fix write on stack

9 years agofix leak
Michael Wallner [Tue, 5 Aug 2014 04:59:14 +0000 (06:59 +0200)] 
fix leak

9 years ago no other SSL libs need this sort of callbacks
Michael Wallner [Mon, 4 Aug 2014 10:01:09 +0000 (12:01 +0200)] 
 no other SSL libs need this sort of callbacks

9 years agofix PHP-5.4 compatibility§
Michael Wallner [Mon, 4 Aug 2014 08:45:19 +0000 (10:45 +0200)] 
fix PHP-5.4 compatibility§

9 years agoslip online test
Remi Collet [Sat, 2 Aug 2014 15:50:41 +0000 (17:50 +0200)] 
slip online test

9 years agoset always_populate_raw_post_data=-1 to avoid failed test (because of warning)
Remi Collet [Sat, 2 Aug 2014 15:50:00 +0000 (17:50 +0200)] 
set always_populate_raw_post_data=-1 to avoid failed test (because of warning)

9 years agoMerge branch 'master' of git.php.net:/pecl/http/pecl_http
Remi Collet [Sat, 2 Aug 2014 15:48:24 +0000 (17:48 +0200)] 
Merge branch 'master' of git.php.net:/pecl/http/pecl_http

* 'master' of git.php.net:/pecl/http/pecl_http: (76 commits)
  BFN
  prepare R_2_1_0_RC1
  fix libevent version
  ensure string and custom options are reset properly
  rm unused constant
  upgrade curl stuff
  CURLOPT_XFERINFO{FUNCTION,DATA}
  CURLINFO_TLS_SESSION
  update
  ssl lib config fixes
  error out on missing pecl dependencies
  alloca
  save funccall
  abuse zend_ptr_stack
  abuse zend_ptr_stack for better performance
  save a funccall
  get rid of slow sscanf
  improve message parsing performance by about 25%
  back to dev
  fix xml
  ...

9 years agoBFN RELEASE_2_1_0_RC1
Michael Wallner [Fri, 1 Aug 2014 08:51:51 +0000 (10:51 +0200)] 
BFN

9 years agoprepare R_2_1_0_RC1
Michael Wallner [Fri, 1 Aug 2014 08:20:43 +0000 (10:20 +0200)] 
prepare R_2_1_0_RC1

9 years agofix libevent version
Michael Wallner [Fri, 1 Aug 2014 08:20:25 +0000 (10:20 +0200)] 
fix libevent version

9 years agoensure string and custom options are reset properly
Michael Wallner [Fri, 1 Aug 2014 07:22:56 +0000 (09:22 +0200)] 
ensure string and custom options are reset properly

9 years agorm unused constant
Michael Wallner [Fri, 1 Aug 2014 07:11:40 +0000 (09:11 +0200)] 
rm unused constant

9 years agoupgrade curl stuff
Michael Wallner [Thu, 31 Jul 2014 18:34:58 +0000 (20:34 +0200)] 
upgrade curl stuff

9 years agoCURLOPT_XFERINFO{FUNCTION,DATA}
Michael Wallner [Thu, 31 Jul 2014 12:16:15 +0000 (14:16 +0200)] 
CURLOPT_XFERINFO{FUNCTION,DATA}

9 years agoCURLINFO_TLS_SESSION
Michael Wallner [Thu, 31 Jul 2014 12:15:42 +0000 (14:15 +0200)] 
CURLINFO_TLS_SESSION

9 years agoupdate
Michael Wallner [Thu, 31 Jul 2014 12:14:45 +0000 (14:14 +0200)] 
update

9 years agossl lib config fixes
Michael Wallner [Thu, 31 Jul 2014 12:13:45 +0000 (14:13 +0200)] 
ssl lib config fixes

9 years agoerror out on missing pecl dependencies
Michael Wallner [Thu, 31 Jul 2014 12:13:21 +0000 (14:13 +0200)] 
error out on missing pecl dependencies

9 years agoalloca
Michael Wallner [Tue, 29 Jul 2014 18:37:00 +0000 (20:37 +0200)] 
alloca

9 years agosave funccall
Michael Wallner [Tue, 29 Jul 2014 12:31:02 +0000 (14:31 +0200)] 
save funccall

9 years agoabuse zend_ptr_stack
Michael Wallner [Mon, 28 Jul 2014 21:15:28 +0000 (23:15 +0200)] 
abuse zend_ptr_stack

9 years agoabuse zend_ptr_stack for better performance
Michael Wallner [Mon, 28 Jul 2014 20:55:31 +0000 (22:55 +0200)] 
abuse zend_ptr_stack for better performance

9 years agosave a funccall
Michael Wallner [Mon, 28 Jul 2014 20:39:28 +0000 (22:39 +0200)] 
save a funccall

9 years agoget rid of slow sscanf
Michael Wallner [Mon, 28 Jul 2014 17:03:07 +0000 (19:03 +0200)] 
get rid of slow sscanf

9 years agoimprove message parsing performance by about 25%
Michael Wallner [Mon, 28 Jul 2014 12:19:57 +0000 (14:19 +0200)] 
improve message parsing performance by about 25%

9 years agoMerge branch 'R_2_0'
Michael Wallner [Fri, 11 Jul 2014 13:08:56 +0000 (15:08 +0200)] 
Merge branch 'R_2_0'

9 years agoback to dev v2.0.x
Michael Wallner [Fri, 11 Jul 2014 13:08:23 +0000 (15:08 +0200)] 
back to dev

9 years agofix xml RELEASE_2_0_7
Michael Wallner [Fri, 11 Jul 2014 12:57:55 +0000 (14:57 +0200)] 
fix xml

9 years agoMerge branch 'R_2_0'
Michael Wallner [Fri, 11 Jul 2014 12:25:58 +0000 (14:25 +0200)] 
Merge branch 'R_2_0'

9 years agofix xml
Michael Wallner [Fri, 11 Jul 2014 12:25:43 +0000 (14:25 +0200)] 
fix xml

9 years agopackage administrativa
Michael Wallner [Fri, 11 Jul 2014 12:24:49 +0000 (14:24 +0200)] 
package administrativa

9 years agoMerge branch 'R_2_0'
Michael Wallner [Fri, 11 Jul 2014 12:19:16 +0000 (14:19 +0200)] 
Merge branch 'R_2_0'

9 years ago2.0.7
Michael Wallner [Fri, 11 Jul 2014 12:17:29 +0000 (14:17 +0200)] 
2.0.7

9 years agopackage administrativa
Michael Wallner [Fri, 11 Jul 2014 12:16:54 +0000 (14:16 +0200)] 
package administrativa

9 years agoMerge branch 'R_2_0'
Michael Wallner [Fri, 11 Jul 2014 08:59:54 +0000 (10:59 +0200)] 
Merge branch 'R_2_0'

9 years agofix test
Michael Wallner [Fri, 11 Jul 2014 08:59:34 +0000 (10:59 +0200)] 
fix test

9 years agobetter reporting whether the response was sent out completely
Michael Wallner [Thu, 10 Jul 2014 19:36:41 +0000 (21:36 +0200)] 
better reporting whether the response was sent out completely

9 years agoMerge branch 'R_2_0'
Michael Wallner [Thu, 10 Jul 2014 14:39:41 +0000 (16:39 +0200)] 
Merge branch 'R_2_0'

9 years agosimplify
Michael Wallner [Thu, 10 Jul 2014 14:39:17 +0000 (16:39 +0200)] 
simplify

9 years agorm phpunit.phpt
Michael Wallner [Thu, 10 Jul 2014 14:01:12 +0000 (16:01 +0200)] 
rm phpunit.phpt

9 years agounfold cookie tests and fix variable type inconsitency
Michael Wallner [Thu, 10 Jul 2014 13:56:33 +0000 (15:56 +0200)] 
unfold cookie tests and fix variable type inconsitency

9 years agoMerge branch 'R_2_0'
Michael Wallner [Thu, 10 Jul 2014 12:30:16 +0000 (14:30 +0200)] 
Merge branch 'R_2_0'

9 years agoadd boundary check
Michael Wallner [Thu, 10 Jul 2014 11:22:39 +0000 (13:22 +0200)] 
add boundary check

9 years agoMerge branch 'R_2_0'
Michael Wallner [Thu, 10 Jul 2014 11:10:28 +0000 (13:10 +0200)] 
Merge branch 'R_2_0'

9 years agofix expectation
Michael Wallner [Thu, 10 Jul 2014 11:10:03 +0000 (13:10 +0200)] 
fix expectation

9 years agoMerge branch 'R_2_0'
Michael Wallner [Thu, 10 Jul 2014 11:08:02 +0000 (13:08 +0200)] 
Merge branch 'R_2_0'

9 years agounfold message body tests
Michael Wallner [Thu, 10 Jul 2014 11:07:52 +0000 (13:07 +0200)] 
unfold message body tests

9 years agoMerge branch 'R_2_0'
Michael Wallner [Wed, 9 Jul 2014 18:34:04 +0000 (20:34 +0200)] 
Merge branch 'R_2_0'

9 years agorfc compliant user agent; fix bug #67528
Michael Wallner [Wed, 9 Jul 2014 18:32:36 +0000 (20:32 +0200)] 
rfc compliant user agent; fix bug #67528

9 years agoaddcslashes seems to use the octal form to escape nils
Michael Wallner [Wed, 9 Jul 2014 18:19:06 +0000 (20:19 +0200)] 
addcslashes seems to use the octal form to escape nils

9 years agodo not consider slashes escape-worthy!
Michael Wallner [Wed, 9 Jul 2014 18:15:08 +0000 (20:15 +0200)] 
do not consider slashes escape-worthy!

9 years agoMerge branch 'R_2_0'
Michael Wallner [Wed, 9 Jul 2014 15:52:13 +0000 (17:52 +0200)] 
Merge branch 'R_2_0'

Conflicts:
tests/params001.phpt
tests/params003.phpt
tests/params004.phpt
tests/params005.phpt

9 years agoport querystring tests
Michael Wallner [Wed, 9 Jul 2014 15:40:14 +0000 (17:40 +0200)] 
port querystring tests

9 years agounfold encoding tests
Michael Wallner [Wed, 9 Jul 2014 15:21:48 +0000 (17:21 +0200)] 
unfold encoding tests

9 years agounfold url tests
Michael Wallner [Wed, 9 Jul 2014 14:42:24 +0000 (16:42 +0200)] 
unfold url tests

9 years agounfold param tests
Michael Wallner [Wed, 9 Jul 2014 14:27:52 +0000 (16:27 +0200)] 
unfold param tests

9 years agoMerge branch 'R_2_0'
Michael Wallner [Wed, 9 Jul 2014 13:34:50 +0000 (15:34 +0200)] 
Merge branch 'R_2_0'

9 years ago.gitignore
Michael Wallner [Wed, 9 Jul 2014 13:34:42 +0000 (15:34 +0200)] 
.gitignore

9 years agoadd missing define
Michael Wallner [Wed, 9 Jul 2014 13:32:47 +0000 (15:32 +0200)] 
add missing define

9 years agoMerge branch 'R_2_0'
Michael Wallner [Wed, 9 Jul 2014 12:41:03 +0000 (14:41 +0200)] 
Merge branch 'R_2_0'

9 years agofix gc issue with json post
Michael Wallner [Wed, 9 Jul 2014 12:37:27 +0000 (14:37 +0200)] 
fix gc issue with json post

9 years agofix refcount issue with env request body
Michael Wallner [Wed, 9 Jul 2014 12:11:20 +0000 (14:11 +0200)] 
fix refcount issue with env request body

9 years agofix refcount issue with message bodies
Michael Wallner [Wed, 9 Jul 2014 11:58:22 +0000 (13:58 +0200)] 
fix refcount issue with message bodies

9 years agofix use after free if the closure returns true
Michael Wallner [Wed, 9 Jul 2014 09:15:47 +0000 (11:15 +0200)] 
fix use after free if the closure returns true

9 years agofixup testsuite for new remote endpoint
Michael Wallner [Wed, 9 Jul 2014 09:15:00 +0000 (11:15 +0200)] 
fixup testsuite for new remote endpoint
and  honor  SKIP_ONLINE_TESTS

9 years agoMerge branch 'R_2_0'
Michael Wallner [Tue, 8 Jul 2014 10:14:04 +0000 (12:14 +0200)] 
Merge branch 'R_2_0'

9 years agoensure the response message is actually of type response
Michael Wallner [Tue, 8 Jul 2014 10:11:29 +0000 (12:11 +0200)] 
ensure the response message is actually of type response

it could be uninitialized in case of early error, like DNS
fixes bug #67584

9 years agofix ZTS
Michael Wallner [Thu, 24 Apr 2014 09:22:46 +0000 (11:22 +0200)] 
fix ZTS

9 years agoMerge branch 'R_2_0'
Michael Wallner [Thu, 24 Apr 2014 09:17:14 +0000 (11:17 +0200)] 
Merge branch 'R_2_0'

9 years ago2.0.6 RELEASE_2_0_6
Michael Wallner [Thu, 24 Apr 2014 09:16:54 +0000 (11:16 +0200)] 
2.0.6

9 years agoMerge branch 'R_2_0'
Michael Wallner [Thu, 24 Apr 2014 09:06:19 +0000 (11:06 +0200)] 
Merge branch 'R_2_0'

9 years agoreset the content length when the body was reset
Michael Wallner [Thu, 24 Apr 2014 09:01:27 +0000 (11:01 +0200)] 
reset the content length when the body was reset

9 years agoMerge branch 'R_2_0'
Michael Wallner [Tue, 22 Apr 2014 10:18:44 +0000 (12:18 +0200)] 
Merge branch 'R_2_0'

10 years agofix JSON POST handler in PHP-5.6+
Michael Wallner [Tue, 22 Apr 2014 09:58:06 +0000 (11:58 +0200)] 
fix JSON POST handler in PHP-5.6+

10 years agofix warning
Michael Wallner [Tue, 22 Apr 2014 09:57:36 +0000 (11:57 +0200)] 
fix warning