m6w6/ext-http
9 years agofix #11
Michael Wallner [Mon, 31 Aug 2015 08:00:47 +0000 (10:00 +0200)] 
fix #11

the pointer to update was not reset

9 years agoattempt to fix leak 8/head
Michael Wallner [Thu, 13 Aug 2015 16:46:15 +0000 (18:46 +0200)] 
attempt to fix leak

9 years agopharext needs php-5.4+ with phar and posix
Michael Wallner [Fri, 7 Aug 2015 19:52:50 +0000 (21:52 +0200)] 
pharext needs php-5.4+ with phar and posix

9 years agotravis
Michael Wallner [Fri, 7 Aug 2015 13:55:30 +0000 (15:55 +0200)] 
travis

9 years agoupdate travis
Michael Wallner [Fri, 7 Aug 2015 13:48:16 +0000 (15:48 +0200)] 
update travis

9 years agotravis
Michael Wallner [Fri, 7 Aug 2015 12:12:36 +0000 (14:12 +0200)] 
travis

9 years agono travis yet
Michael Wallner [Fri, 7 Aug 2015 09:59:04 +0000 (11:59 +0200)] 
no travis yet

9 years agoonly for PHP5
Michael Wallner [Fri, 7 Aug 2015 09:58:53 +0000 (11:58 +0200)] 
only for PHP5

9 years agoMerge branch 'master' into phpng
Michael Wallner [Fri, 7 Aug 2015 09:36:04 +0000 (11:36 +0200)] 
Merge branch 'master' into phpng

Conflicts:
php_http_client.c
php_http_client_curl.c
php_http_env_request.c
php_http_env_response.c
php_http_header_parser.c

9 years agoupdate doc links
Michael Wallner [Thu, 6 Aug 2015 08:43:08 +0000 (10:43 +0200)] 
update doc links

9 years agoFix README
Michael Wallner [Mon, 3 Aug 2015 15:37:32 +0000 (17:37 +0200)] 
Fix README

Github does not do definition lists

[ci skip]

9 years agoadd README
Michael Wallner [Mon, 3 Aug 2015 14:44:26 +0000 (16:44 +0200)] 
add README

9 years agofix for travis
Michael Wallner [Mon, 3 Aug 2015 13:29:26 +0000 (15:29 +0200)] 
fix for travis

9 years agotimeout on stdin
Michael Wallner [Mon, 3 Aug 2015 11:48:28 +0000 (13:48 +0200)] 
timeout on stdin

9 years agoadd more logging
Michael Wallner [Mon, 3 Aug 2015 10:59:57 +0000 (12:59 +0200)] 
add more logging

9 years agouse a longer timeout
Michael Wallner [Mon, 3 Aug 2015 10:33:51 +0000 (12:33 +0200)] 
use a longer timeout

9 years agobreak on timeout
Michael Wallner [Mon, 3 Aug 2015 10:23:04 +0000 (12:23 +0200)] 
break on timeout

9 years agofix datetime warning in logger
Michael Wallner [Mon, 3 Aug 2015 09:18:28 +0000 (11:18 +0200)] 
fix datetime warning in logger

9 years agofix logger
Michael Wallner [Mon, 3 Aug 2015 08:18:15 +0000 (10:18 +0200)] 
fix logger

9 years agoadd some logs
Michael Wallner [Mon, 3 Aug 2015 08:05:37 +0000 (10:05 +0200)] 
add some logs

9 years agotravis
Michael Wallner [Mon, 3 Aug 2015 07:09:32 +0000 (09:09 +0200)] 
travis

9 years agoadd some error logging
Michael Wallner [Mon, 3 Aug 2015 07:09:05 +0000 (09:09 +0200)] 
add some error logging

9 years agoprecise comes with libcurl4
Michael Wallner [Mon, 3 Aug 2015 07:07:20 +0000 (09:07 +0200)] 
precise comes with libcurl4

9 years agofix typo
Michael Wallner [Mon, 3 Aug 2015 07:02:18 +0000 (09:02 +0200)] 
fix typo

9 years agoupdate travis-pecl
Michael Wallner [Fri, 31 Jul 2015 18:26:14 +0000 (20:26 +0200)] 
update travis-pecl

9 years agoupdate travis-pecl
Michael Wallner [Fri, 31 Jul 2015 14:50:20 +0000 (16:50 +0200)] 
update travis-pecl

9 years agopush travis
Michael Wallner [Fri, 31 Jul 2015 13:38:06 +0000 (15:38 +0200)] 
push travis

9 years agotravis
Michael Wallner [Fri, 31 Jul 2015 13:33:44 +0000 (15:33 +0200)] 
travis

9 years agorelease 2.5.1 RELEASE_2_5_1
Michael Wallner [Tue, 28 Jul 2015 08:17:39 +0000 (10:17 +0200)] 
release 2.5.1

9 years agoprepare 2.5.1
Michael Wallner [Mon, 27 Jul 2015 07:11:46 +0000 (09:11 +0200)] 
prepare 2.5.1

9 years agoFix gh-issue #7
Michael Wallner [Wed, 22 Jul 2015 05:18:21 +0000 (07:18 +0200)] 
Fix gh-issue #7

Fix crash on returning from a sub-call to querystring from env_request
after an exception.

Closes gh-issue #7

9 years agoFix gh-issue #6
Michael Wallner [Wed, 22 Jul 2015 04:51:39 +0000 (06:51 +0200)] 
Fix gh-issue #6

Allow RFC1738 unsafe characters in URL query/fragment.
Closes issue #6.

9 years agoprovide RTLD_LAZY compatibility
Michael Wallner [Tue, 21 Jul 2015 09:21:38 +0000 (11:21 +0200)] 
provide RTLD_LAZY compatibility

9 years agofix test
Michael Wallner [Tue, 21 Jul 2015 08:57:43 +0000 (10:57 +0200)] 
fix test

9 years agolingering TSRM macros
Michael Wallner [Mon, 20 Jul 2015 12:57:54 +0000 (14:57 +0200)] 
lingering TSRM macros

9 years agofix gh-issue #3
Michael Wallner [Thu, 16 Jul 2015 11:07:55 +0000 (13:07 +0200)] 
fix gh-issue #3

9 years agoprovide RTLD_LAZY compatibility
Michael Wallner [Wed, 15 Jul 2015 08:56:34 +0000 (10:56 +0200)] 
provide RTLD_LAZY compatibility

Closes gh-issue #4

Avoid using php_peristent_handle_abandon function pointer.
See also
https://github.com/m6w6/ext-raphf/commit/177e968e112ea8030065d5d7a4907bcaefa9b085

9 years agofix resource leaks
Michael Wallner [Tue, 14 Jul 2015 16:59:06 +0000 (18:59 +0200)] 
fix resource leaks

9 years agoEnable certinfo on all supporting backends
Michael Wallner [Mon, 13 Jul 2015 14:59:30 +0000 (16:59 +0200)] 
Enable certinfo on all supporting backends

OpenSSL: libcurl v7.19.1
NSS: libcurl v7.34.0
GSKit: libcurl v7.39.0
GnuTLS: libcurl v7.42.0

9 years agoadd recent curl options
Michael Wallner [Mon, 13 Jul 2015 14:44:26 +0000 (16:44 +0200)] 
add recent curl options

9 years agoFix gh-issue #2: comparison of obsolete pointers in the header parser
Michael Wallner [Mon, 13 Jul 2015 08:35:44 +0000 (10:35 +0200)] 
Fix gh-issue #2: comparison of obsolete pointers in the header parser

Closes #2.

The eol_str pointer could become obsolete due to later usage of
php_http_buffer_fix and render the result of arithmetics against the
changed buffer->data pointer useless or harmgful.

Thanks @xiaoyjy.

9 years agoFix VC11 build
Michael Wallner [Fri, 10 Jul 2015 07:50:12 +0000 (09:50 +0200)] 
Fix VC11 build

9 years ago2.5 RELEASE_2_5_0
Michael Wallner [Thu, 9 Jul 2015 06:56:36 +0000 (08:56 +0200)] 
2.5

9 years agofix leaks
Michael Wallner [Tue, 16 Jun 2015 12:14:25 +0000 (14:14 +0200)] 
fix leaks

9 years agofix macro usage
Michael Wallner [Tue, 16 Jun 2015 12:14:06 +0000 (14:14 +0200)] 
fix macro usage

9 years agobackport check
Michael Wallner [Tue, 16 Jun 2015 10:24:48 +0000 (12:24 +0200)] 
backport check

9 years agofix leak
Michael Wallner [Mon, 15 Jun 2015 14:49:21 +0000 (16:49 +0200)] 
fix leak

9 years agofix leaks; all tests pass
Michael Wallner [Mon, 15 Jun 2015 14:35:34 +0000 (16:35 +0200)] 
fix leaks; all tests pass

9 years agofix leak
Michael Wallner [Mon, 15 Jun 2015 14:02:43 +0000 (16:02 +0200)] 
fix leak

9 years agofix leaks
Michael Wallner [Mon, 15 Jun 2015 13:50:34 +0000 (15:50 +0200)] 
fix leaks

9 years agofix tests
Michael Wallner [Fri, 12 Jun 2015 10:27:28 +0000 (12:27 +0200)] 
fix tests

9 years agofix bad merge; keys were serialized twice
Michael Wallner [Fri, 12 Jun 2015 08:49:15 +0000 (10:49 +0200)] 
fix bad merge; keys were serialized twice

9 years agothis got implemented in zend API
Michael Wallner [Fri, 12 Jun 2015 08:31:29 +0000 (10:31 +0200)] 
this got implemented in zend API

9 years agoMerge branch 'master' into phpng
Michael Wallner [Fri, 12 Jun 2015 08:30:13 +0000 (10:30 +0200)] 
Merge branch 'master' into phpng

9 years agoworkaround wrongly quoted arginfo names
Michael Wallner [Fri, 12 Jun 2015 06:25:54 +0000 (08:25 +0200)] 
workaround wrongly quoted arginfo names

9 years agosupport ob_clean
Michael Wallner [Fri, 12 Jun 2015 06:25:10 +0000 (08:25 +0200)] 
support ob_clean

9 years agofix warning, and place bet on the safe side
Michael Wallner [Fri, 22 May 2015 07:29:42 +0000 (09:29 +0200)] 
fix warning, and place bet on the safe side

9 years agofix warning
Michael Wallner [Fri, 22 May 2015 07:27:00 +0000 (09:27 +0200)] 
fix warning

9 years agoprepare 2.5.0RC1 RELEASE_2_5_0_RC1
Michael Wallner [Thu, 21 May 2015 12:36:17 +0000 (14:36 +0200)] 
prepare 2.5.0RC1

9 years agoadministrativa
Michael Wallner [Thu, 21 May 2015 10:30:34 +0000 (12:30 +0200)] 
administrativa

9 years agofix http\Params::__toString() with RFC5988 payload; fix tests
Michael Wallner [Thu, 21 May 2015 07:55:15 +0000 (09:55 +0200)] 
fix http\Params::__toString() with RFC5988 payload; fix tests

9 years agorm tests not existing anymore
Michael Wallner [Wed, 20 May 2015 07:00:42 +0000 (09:00 +0200)] 
rm tests not existing anymore

9 years agoonly consider 2xx cacheable
Michael Wallner [Thu, 7 May 2015 20:18:35 +0000 (22:18 +0200)] 
only consider 2xx cacheable

9 years agorfc5988 fixes
Michael Wallner [Thu, 7 May 2015 20:10:31 +0000 (22:10 +0200)] 
rfc5988 fixes

9 years agobasic support for RFC5988 (Web Linking)
Michael Wallner [Mon, 27 Apr 2015 19:19:50 +0000 (21:19 +0200)] 
basic support for RFC5988 (Web Linking)

9 years agoadd PHP_HTTP_URL_SANITIZE_PATH to default flags of Url::mod()
Michael Wallner [Mon, 27 Apr 2015 19:18:41 +0000 (21:18 +0200)] 
add PHP_HTTP_URL_SANITIZE_PATH to default flags of Url::mod()

9 years agoFix missing IS_BOOL
Jan-E [Sun, 26 Apr 2015 18:26:58 +0000 (20:26 +0200)] 
Fix missing IS_BOOL

Changed into _IS_BOOL like the others

9 years agofix skip
Remi Collet [Fri, 24 Apr 2015 06:42:18 +0000 (08:42 +0200)] 
fix skip

9 years agomissing tests in archive
Remi Collet [Wed, 8 Apr 2015 11:13:58 +0000 (13:13 +0200)] 
missing tests in archive

9 years agomissing file in archive
Remi Collet [Wed, 8 Apr 2015 10:59:24 +0000 (12:59 +0200)] 
missing file in archive

9 years agoMerge branch 'master' of git.php.net:/pecl/http/pecl_http
Remi Collet [Wed, 8 Apr 2015 10:58:19 +0000 (12:58 +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.4.3
  fix bug #69357
  back to dev
  release 2.4.2
  Fixed bug #69313
  release 2.4.2
  CS
  fix for bug #69076, fix handling of URLs with lone '?' as last character
  support libidn2 and ICU as fallbacksx
  defer warnings/exceptions of the client
  back to dev
  release 2.4.1

9 years agoback to dev
Michael Wallner [Wed, 8 Apr 2015 10:14:56 +0000 (12:14 +0200)] 
back to dev

9 years agorelease 2.4.3 RELEASE_2_4_3
Michael Wallner [Wed, 8 Apr 2015 10:12:49 +0000 (12:12 +0200)] 
release 2.4.3

9 years agofix bug #69357
Michael Wallner [Wed, 8 Apr 2015 10:05:59 +0000 (12:05 +0200)] 
fix bug #69357

9 years agoback to dev
Michael Wallner [Fri, 3 Apr 2015 12:22:38 +0000 (14:22 +0200)] 
back to dev

9 years agorelease 2.4.2 RELEASE_2_4_2
Michael Wallner [Fri, 3 Apr 2015 12:07:24 +0000 (14:07 +0200)] 
release 2.4.2

9 years agoFixed bug #69313
Michael Wallner [Fri, 27 Mar 2015 09:13:40 +0000 (10:13 +0100)] 
Fixed bug #69313

9 years agorelease 2.4.2
Michael Wallner [Mon, 23 Mar 2015 09:31:39 +0000 (10:31 +0100)] 
release 2.4.2

9 years agoCS
Michael Wallner [Mon, 23 Mar 2015 07:22:31 +0000 (08:22 +0100)] 
CS

9 years agofix for bug #69076, fix handling of URLs with lone '?' as last character
Boris Madzar [Sun, 22 Mar 2015 04:54:12 +0000 (00:54 -0400)] 
fix for bug #69076, fix handling of URLs with lone '?' as last character

9 years agosupport libidn2 and ICU as fallbacksx
Michael Wallner [Fri, 20 Mar 2015 07:35:10 +0000 (08:35 +0100)] 
support libidn2 and ICU as fallbacksx

9 years agodefer warnings/exceptions of the client
Michael Wallner [Fri, 20 Mar 2015 07:28:40 +0000 (08:28 +0100)] 
defer warnings/exceptions of the client

This enables the following pattern:

<?php
use http\Client;

function handle_response_and_dequeue($res) {
var_dump($res->getResponseCode());
return true; //dequeue
}

$client = new Client;
$client->enqueue(new Client\Request(...),"handle_response_and_dequeue");
$client->enqueue(new Client\Request(...),"handle_response_and_dequeue");
$client->enqueue(new Client\Request(...),"handle_response_and_dequeue");

while (count($client)) {
try {
$client->send();
} catch (Exception $e) {
echo $e->getMessage(),"\n";
}
}

9 years agoback to dev
Michael Wallner [Fri, 20 Mar 2015 07:35:58 +0000 (08:35 +0100)] 
back to dev

9 years agorelease 2.4.1 RELEASE_2_4_1
Michael Wallner [Wed, 18 Mar 2015 07:19:43 +0000 (08:19 +0100)] 
release 2.4.1

9 years agofix build wih PHP 5.4
Remi Collet [Wed, 18 Mar 2015 07:15:49 +0000 (08:15 +0100)] 
fix build wih PHP 5.4

9 years agoMerge branch 'master' of git.php.net:/pecl/http/pecl_http
Remi Collet [Wed, 18 Mar 2015 07:12:31 +0000 (08:12 +0100)] 
Merge branch 'master' of git.php.net:/pecl/http/pecl_http

* 'master' of git.php.net:/pecl/http/pecl_http:
  release 2.4.0
  it is always bad to rely on external things
  back to dev
  release 2.3.2
  fis querystring offset set bug
  fis querystring offset set bug
  this test requires online

9 years agorelease 2.4.0 v2.4.x RELEASE_2_4_0
Michael Wallner [Wed, 18 Mar 2015 06:31:36 +0000 (07:31 +0100)] 
release 2.4.0

9 years agoAdd PHP_HTTP_HAVE_CLIENT, by Jan Erhardt
Michael Wallner [Mon, 16 Mar 2015 19:30:14 +0000 (20:30 +0100)] 
Add PHP_HTTP_HAVE_CLIENT, by Jan Erhardt

9 years agoMerge branch 'master' into phpng
Michael Wallner [Thu, 12 Mar 2015 08:30:46 +0000 (09:30 +0100)] 
Merge branch 'master' into phpng

9 years agoit is always bad to rely on external things
Michael Wallner [Thu, 12 Mar 2015 07:31:15 +0000 (08:31 +0100)] 
it is always bad to rely on external things

9 years agoMerge branch 'R_2_3'
Michael Wallner [Thu, 12 Mar 2015 07:11:02 +0000 (08:11 +0100)] 
Merge branch 'R_2_3'

9 years agoback to dev v2.3.x
Michael Wallner [Thu, 12 Mar 2015 06:25:28 +0000 (07:25 +0100)] 
back to dev

9 years agorelease 2.3.2 RELEASE_2_3_2
Michael Wallner [Mon, 2 Mar 2015 14:09:48 +0000 (15:09 +0100)] 
release 2.3.2

9 years agofis querystring offset set bug
Michael Wallner [Tue, 3 Mar 2015 20:57:03 +0000 (21:57 +0100)] 
fis querystring offset set bug

9 years agofis querystring offset set bug
Michael Wallner [Tue, 3 Mar 2015 20:57:03 +0000 (21:57 +0100)] 
fis querystring offset set bug

9 years agothis test requires online
Remi Collet [Tue, 3 Mar 2015 11:44:53 +0000 (12:44 +0100)] 
this test requires online

(cherry picked from commit 1203e8a9facfbe8f2dbdcc7fada98b01f79f7555)

9 years agothis test requires online
Remi Collet [Tue, 3 Mar 2015 11:44:53 +0000 (12:44 +0100)] 
this test requires online

9 years agofix typo
Remi Collet [Tue, 3 Mar 2015 07:51:37 +0000 (08:51 +0100)] 
fix typo

9 years agoSTATUS -> ZEND_RESULT_CODE
Michael Wallner [Mon, 2 Mar 2015 18:55:28 +0000 (19:55 +0100)] 
STATUS -> ZEND_RESULT_CODE

9 years agoremove obsolete tests
Michael Wallner [Mon, 2 Mar 2015 15:03:43 +0000 (16:03 +0100)] 
remove obsolete tests