m6w6/ext-http
9 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 25 Sep 2014 13:35:31 +0000 (15:35 +0200)] 
Merge branch 'R_2_1'

9 years agoadd test for bug67932
Michael Wallner [Thu, 25 Sep 2014 13:34:56 +0000 (15:34 +0200)] 
add test for bug67932

9 years agoMerge branch 'R_2_1'
Remi Collet [Thu, 25 Sep 2014 13:09:00 +0000 (15:09 +0200)] 
Merge branch 'R_2_1'

* R_2_1:
  Fix build with curl < 7.26

9 years agoFix build with curl < 7.26
Remi Collet [Thu, 25 Sep 2014 08:16:51 +0000 (10:16 +0200)] 
Fix build with curl < 7.26

$ grep  "define CURL_REDIR_POST_30" curl-7.2*/include/curl/curl.h

curl-7.25.0/include/curl/curl.h:#define CURL_REDIR_POST_301 1
curl-7.25.0/include/curl/curl.h:#define CURL_REDIR_POST_302 2

curl-7.26.0/include/curl/curl.h:#define CURL_REDIR_POST_301 1
curl-7.26.0/include/curl/curl.h:#define CURL_REDIR_POST_302 2
curl-7.26.0/include/curl/curl.h:#define CURL_REDIR_POST_303 4

9 years agoMerge branch 'master' of git.php.net:/pecl/http/pecl_http
Remi Collet [Thu, 25 Sep 2014 08:09:03 +0000 (10:09 +0200)] 
Merge branch 'master' of git.php.net:/pecl/http/pecl_http

* 'master' of git.php.net:/pecl/http/pecl_http:
  back to dev
  release 2.1.2
  administrativa
  Fix bug #68083 PUT method not working after DELETE
  add missing option constants
  Fix bug #68000  Extension does not build on FreeBSD
  Fixed bug #68009
  back to dev
  fix version in header
  prepare 2.1.1
  fix warning
  fix httpVersion retrieval on bigendian
  fix etag/crc32b on bigendian
  skip this test for offline build
  add test for client's once & wait with events
  Made client's once & wait methods availabel when using events

9 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 25 Sep 2014 07:30:38 +0000 (09:30 +0200)] 
Merge branch 'R_2_1'

9 years agoback to dev
Michael Wallner [Thu, 25 Sep 2014 07:30:30 +0000 (09:30 +0200)] 
back to dev

9 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 25 Sep 2014 07:29:05 +0000 (09:29 +0200)] 
Merge branch 'R_2_1'

9 years agorelease 2.1.2 RELEASE_2_1_2
Michael Wallner [Thu, 25 Sep 2014 07:26:46 +0000 (09:26 +0200)] 
release 2.1.2

9 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 25 Sep 2014 07:23:34 +0000 (09:23 +0200)] 
Merge branch 'R_2_1'

9 years agoadministrativa
Michael Wallner [Thu, 25 Sep 2014 07:22:04 +0000 (09:22 +0200)] 
administrativa

9 years agoFix bug #68083 PUT method not working after DELETE
Michael Wallner [Thu, 25 Sep 2014 07:17:42 +0000 (09:17 +0200)] 
Fix bug #68083 PUT method not working after DELETE

properly reset curl's request method bits

9 years agoadd missing option constants
Michael Wallner [Tue, 16 Sep 2014 11:15:37 +0000 (13:15 +0200)] 
add missing option constants

AUTH_SPNEGO, new in 7.38
SSL_VERSION_TLSv1_{0,1,2}, added in 7.34
POSTREDIR_303, missed that one somehow

9 years agoMerge branch 'R_2_1'
Michael Wallner [Mon, 15 Sep 2014 12:18:14 +0000 (14:18 +0200)] 
Merge branch 'R_2_1'

9 years agoFix bug #68000 Extension does not build on FreeBSD
Michael Wallner [Mon, 15 Sep 2014 11:56:29 +0000 (13:56 +0200)] 
Fix bug #68000  Extension does not build on FreeBSD

9 years agoFixed bug #68009
Michael Wallner [Mon, 15 Sep 2014 11:51:03 +0000 (13:51 +0200)] 
Fixed bug #68009

the progress handler fired while in the mid of executor shutdown

9 years agoMerge branch 'R_2_1'
Michael Wallner [Tue, 9 Sep 2014 08:00:01 +0000 (10:00 +0200)] 
Merge branch 'R_2_1'

9 years agoback to dev
Michael Wallner [Tue, 9 Sep 2014 07:59:53 +0000 (09:59 +0200)] 
back to dev

9 years agofix version in header RELEASE_2_1_1
Michael Wallner [Tue, 9 Sep 2014 07:59:16 +0000 (09:59 +0200)] 
fix version in header

9 years agoMerge branch 'R_2_1'
Michael Wallner [Tue, 9 Sep 2014 07:58:09 +0000 (09:58 +0200)] 
Merge branch 'R_2_1'

9 years agoprepare 2.1.1
Michael Wallner [Tue, 9 Sep 2014 07:57:49 +0000 (09:57 +0200)] 
prepare 2.1.1

9 years agofix warning
Michael Wallner [Tue, 9 Sep 2014 07:55:15 +0000 (09:55 +0200)] 
fix warning

9 years agofix httpVersion retrieval on bigendian
Remi Collet [Wed, 3 Sep 2014 13:31:33 +0000 (15:31 +0200)] 
fix httpVersion retrieval on bigendian

Conflicts:
php_http_message.c

9 years agofix etag/crc32b on bigendian
Remi Collet [Mon, 1 Sep 2014 13:42:34 +0000 (15:42 +0200)] 
fix etag/crc32b on bigendian

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 agoadd test for client's once & wait with events
Michael Wallner [Tue, 9 Sep 2014 07:24:08 +0000 (09:24 +0200)] 
add test for client's once & wait with events

9 years agoMade client's once & wait methods availabel when using events
Michael Wallner [Mon, 8 Sep 2014 10:51:03 +0000 (12:51 +0200)] 
Made client's once & wait methods availabel when using events

9 years agofix httpVersion retrieval on bigendian
Remi Collet [Wed, 3 Sep 2014 13:31:33 +0000 (15:31 +0200)] 
fix httpVersion retrieval on bigendian

9 years agofix etag/crc32b on bigendian
Remi Collet [Mon, 1 Sep 2014 13:42:34 +0000 (15:42 +0200)] 
fix etag/crc32b on bigendian

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'