m6w6/ext-http
9 years agocheck for HTTP2 support
Michael Wallner [Wed, 4 Feb 2015 09:06:34 +0000 (10:06 +0100)] 
check for HTTP2 support

9 years agoupdate response headers
Michael Wallner [Tue, 3 Feb 2015 19:09:38 +0000 (20:09 +0100)] 
update response headers

9 years agoPOC for HTTP2 support
Michael Wallner [Tue, 3 Feb 2015 14:35:15 +0000 (15:35 +0100)] 
POC for HTTP2 support

9 years agoback to dev
Michael Wallner [Tue, 27 Jan 2015 03:35:58 +0000 (04:35 +0100)] 
back to dev

9 years ago2.2.0 RELEASE_2_2_0
Michael Wallner [Tue, 27 Jan 2015 03:27:56 +0000 (04:27 +0100)] 
2.2.0

10 years agoback to dev
Michael Wallner [Wed, 12 Nov 2014 13:45:15 +0000 (14:45 +0100)] 
back to dev

10 years agoprepare 2.2.0RC1 RELEASE_2_2_0_RC1
Michael Wallner [Wed, 12 Nov 2014 13:42:47 +0000 (14:42 +0100)] 
prepare 2.2.0RC1

10 years agoupdate test
Michael Wallner [Wed, 12 Nov 2014 08:47:52 +0000 (09:47 +0100)] 
update test

10 years agoadd http\Env\Request::getCookie()
Michael Wallner [Wed, 12 Nov 2014 08:45:07 +0000 (09:45 +0100)] 
add http\Env\Request::getCookie()

10 years agofix title
Michael Wallner [Wed, 12 Nov 2014 08:44:59 +0000 (09:44 +0100)] 
fix title

10 years ago--url
Michael Wallner [Wed, 12 Nov 2014 07:52:08 +0000 (08:52 +0100)] 
--url

10 years agoadd http\Env\Response::setCookie()
Michael Wallner [Tue, 11 Nov 2014 19:24:19 +0000 (20:24 +0100)] 
add http\Env\Response::setCookie()

10 years agodon't abuse STR_FREE; ditch http\Url::parse(); fix tests
Michael Wallner [Fri, 7 Nov 2014 19:37:07 +0000 (20:37 +0100)] 
don't abuse STR_FREE; ditch http\Url::parse(); fix tests

10 years agoditch php_url
Michael Wallner [Fri, 7 Nov 2014 12:16:16 +0000 (13:16 +0100)] 
ditch php_url

10 years agotypo
Remi Collet [Fri, 7 Nov 2014 06:58:12 +0000 (07:58 +0100)] 
typo

10 years agoMerge branch 'master' of git.php.net:/pecl/http/pecl_http
Remi Collet [Fri, 7 Nov 2014 06:55:46 +0000 (07:55 +0100)] 
Merge branch 'master' of git.php.net:/pecl/http/pecl_http

* 'master' of git.php.net:/pecl/http/pecl_http: (31 commits)
  use our url parser
  back to dev
  prepare 2.1.4
  Fixed bug #66891 (Unexpected HTTP 401 after NTLM authentication)
  Fixed bug #68149 (duplicate content-length with libcurl < 7.23)
  Fixed bug #68353 (QsoSSL support removed in libcurl 7.39)
  fix long/int mismatch
  update missing tests
  test ::PARSE_TOPCT
  strip comments
  prepare for using all constants together
  simplify
  separate url and parser state
  fix edge cases with @
  brain wrecked
  more explicit constant names
  path should be forgotten
  fix query&fragment; add pctenc parser option
  simplify
  update
  ...

10 years agouse our url parser
Michael Wallner [Thu, 6 Nov 2014 22:51:02 +0000 (23:51 +0100)] 
use our url parser

10 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 6 Nov 2014 17:48:27 +0000 (18:48 +0100)] 
Merge branch 'R_2_1'

10 years agoback to dev v2.1.x
Michael Wallner [Thu, 6 Nov 2014 17:47:08 +0000 (18:47 +0100)] 
back to dev

10 years agoprepare 2.1.4 RELEASE_2_1_4
Michael Wallner [Thu, 6 Nov 2014 17:45:57 +0000 (18:45 +0100)] 
prepare 2.1.4

10 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 6 Nov 2014 15:23:38 +0000 (16:23 +0100)] 
Merge branch 'R_2_1'

10 years agoFixed bug #66891 (Unexpected HTTP 401 after NTLM authentication)
Michael Wallner [Thu, 6 Nov 2014 15:22:18 +0000 (16:22 +0100)] 
Fixed bug #66891 (Unexpected HTTP 401 after NTLM authentication)

If you set a "WWW-Authenticate" header PHP automatically issues a 401.

http\Env\Response slurps any set headers and re-sends it after sending
the status code, so that PHP might be resetting the status code to 401
because it sees again an WWW-Authenticate header.

Send the status code after any headers to avoid this issue.

10 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 6 Nov 2014 12:07:15 +0000 (13:07 +0100)] 
Merge branch 'R_2_1'

10 years agoFixed bug #68149 (duplicate content-length with libcurl < 7.23)
Michael Wallner [Thu, 6 Nov 2014 12:06:45 +0000 (13:06 +0100)] 
Fixed bug #68149 (duplicate content-length with libcurl < 7.23)

10 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 6 Nov 2014 10:13:32 +0000 (11:13 +0100)] 
Merge branch 'R_2_1'

10 years agoFixed bug #68353 (QsoSSL support removed in libcurl 7.39)
Michael Wallner [Thu, 6 Nov 2014 10:13:04 +0000 (11:13 +0100)] 
Fixed bug #68353 (QsoSSL support removed in libcurl 7.39)

10 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 6 Nov 2014 08:15:32 +0000 (09:15 +0100)] 
Merge branch 'R_2_1'

10 years agofix long/int mismatch
Michael Wallner [Sun, 2 Nov 2014 20:02:31 +0000 (21:02 +0100)] 
fix long/int mismatch

10 years agoupdate missing tests
Michael Wallner [Wed, 5 Nov 2014 14:43:29 +0000 (15:43 +0100)] 
update missing tests

10 years agotest ::PARSE_TOPCT
Michael Wallner [Wed, 5 Nov 2014 14:32:00 +0000 (15:32 +0100)] 
test ::PARSE_TOPCT

10 years agostrip comments
Michael Wallner [Wed, 5 Nov 2014 13:37:35 +0000 (14:37 +0100)] 
strip comments

10 years agoprepare for using all constants together
Michael Wallner [Tue, 4 Nov 2014 19:15:20 +0000 (20:15 +0100)] 
prepare for using all constants together

10 years agosimplify
Michael Wallner [Tue, 4 Nov 2014 19:15:02 +0000 (20:15 +0100)] 
simplify

10 years agoseparate url and parser state
Michael Wallner [Sun, 2 Nov 2014 17:21:26 +0000 (18:21 +0100)] 
separate url and parser state

10 years agofix edge cases with @
Michael Wallner [Fri, 31 Oct 2014 14:03:11 +0000 (15:03 +0100)] 
fix edge cases with @

10 years agobrain wrecked
Michael Wallner [Thu, 30 Oct 2014 17:54:02 +0000 (18:54 +0100)] 
brain wrecked

10 years agomore explicit constant names
Michael Wallner [Thu, 30 Oct 2014 16:26:25 +0000 (17:26 +0100)] 
more explicit constant names

10 years agopath should be forgotten
Michael Wallner [Thu, 30 Oct 2014 16:22:43 +0000 (17:22 +0100)] 
path should be forgotten

10 years agofix query&fragment; add pctenc parser option
Michael Wallner [Thu, 30 Oct 2014 16:20:32 +0000 (17:20 +0100)] 
fix query&fragment; add pctenc parser option

10 years agosimplify
Michael Wallner [Thu, 30 Oct 2014 15:36:59 +0000 (16:36 +0100)] 
simplify

10 years agoupdate
Michael Wallner [Wed, 29 Oct 2014 07:54:49 +0000 (08:54 +0100)] 
update

10 years agoupdate
Michael Wallner [Tue, 28 Oct 2014 15:45:30 +0000 (16:45 +0100)] 
update

10 years agoexperimental urlparser
Michael Wallner [Mon, 27 Oct 2014 19:39:37 +0000 (20:39 +0100)] 
experimental urlparser

10 years agofix long/int mismatch
Michael Wallner [Sun, 2 Nov 2014 20:02:31 +0000 (21:02 +0100)] 
fix long/int mismatch

10 years agodon't enable this for debug builds
Michael Wallner [Wed, 22 Oct 2014 14:19:23 +0000 (16:19 +0200)] 
don't enable this for debug builds

10 years agolet the parser handle non-blocking streams
Michael Wallner [Wed, 22 Oct 2014 13:39:36 +0000 (15:39 +0200)] 
let the parser handle non-blocking streams

10 years agono need to "cache" the request TS for a long time now
Michael Wallner [Thu, 16 Oct 2014 15:53:14 +0000 (17:53 +0200)] 
no need to "cache" the request TS for a long time now

10 years agocleanup
Michael Wallner [Thu, 16 Oct 2014 15:36:47 +0000 (17:36 +0200)] 
cleanup

10 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 16 Oct 2014 07:20:05 +0000 (09:20 +0200)] 
Merge branch 'R_2_1'

10 years agoback to dev
Michael Wallner [Thu, 16 Oct 2014 07:18:48 +0000 (09:18 +0200)] 
back to dev

10 years agoremove default configure option RELEASE_2_1_3
Michael Wallner [Thu, 16 Oct 2014 07:17:01 +0000 (09:17 +0200)] 
remove default configure option

10 years agoprepare 2.1.3
Michael Wallner [Thu, 16 Oct 2014 07:16:14 +0000 (09:16 +0200)] 
prepare 2.1.3

10 years agoMerge branch 'R_2_1'
Michael Wallner [Thu, 25 Sep 2014 13:35:31 +0000 (15:35 +0200)] 
Merge branch 'R_2_1'

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

10 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

10 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

10 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

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

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

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

10 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

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

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

10 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

10 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

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

10 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

10 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

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

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

10 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

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

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

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

10 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

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

10 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

10 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

10 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

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

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

10 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

10 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
  ...

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

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

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

10 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

10 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

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

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

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

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

10 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

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

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

10 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

10 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

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

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

10 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