Michael Wallner [Mon, 15 Jun 2015 14:02:43 +0000 (16:02 +0200)]
fix leak
Michael Wallner [Mon, 15 Jun 2015 13:50:34 +0000 (15:50 +0200)]
fix leaks
Michael Wallner [Fri, 12 Jun 2015 10:27:28 +0000 (12:27 +0200)]
fix tests
Michael Wallner [Fri, 12 Jun 2015 08:49:15 +0000 (10:49 +0200)]
fix bad merge; keys were serialized twice
Michael Wallner [Fri, 12 Jun 2015 08:31:29 +0000 (10:31 +0200)]
this got implemented in zend API
Michael Wallner [Fri, 12 Jun 2015 08:30:13 +0000 (10:30 +0200)]
Merge branch 'master' into phpng
Michael Wallner [Fri, 12 Jun 2015 06:25:54 +0000 (08:25 +0200)]
workaround wrongly quoted arginfo names
Michael Wallner [Fri, 12 Jun 2015 06:25:10 +0000 (08:25 +0200)]
support ob_clean
Michael Wallner [Fri, 22 May 2015 07:29:42 +0000 (09:29 +0200)]
fix warning, and place bet on the safe side
Michael Wallner [Fri, 22 May 2015 07:27:00 +0000 (09:27 +0200)]
fix warning
Michael Wallner [Thu, 21 May 2015 12:36:17 +0000 (14:36 +0200)]
prepare 2.5.0RC1
Michael Wallner [Thu, 21 May 2015 10:30:34 +0000 (12:30 +0200)]
administrativa
Michael Wallner [Thu, 21 May 2015 07:55:15 +0000 (09:55 +0200)]
fix http\Params::__toString() with RFC5988 payload; fix tests
Michael Wallner [Wed, 20 May 2015 07:00:42 +0000 (09:00 +0200)]
rm tests not existing anymore
Michael Wallner [Thu, 7 May 2015 20:18:35 +0000 (22:18 +0200)]
only consider 2xx cacheable
Michael Wallner [Thu, 7 May 2015 20:10:31 +0000 (22:10 +0200)]
rfc5988 fixes
Michael Wallner [Mon, 27 Apr 2015 19:19:50 +0000 (21:19 +0200)]
basic support for RFC5988 (Web Linking)
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()
Jan-E [Sun, 26 Apr 2015 18:26:58 +0000 (20:26 +0200)]
Fix missing IS_BOOL
Changed into _IS_BOOL like the others
Remi Collet [Fri, 24 Apr 2015 06:42:18 +0000 (08:42 +0200)]
fix skip
Remi Collet [Wed, 8 Apr 2015 11:13:58 +0000 (13:13 +0200)]
missing tests in archive
Remi Collet [Wed, 8 Apr 2015 10:59:24 +0000 (12:59 +0200)]
missing file in archive
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
Michael Wallner [Wed, 8 Apr 2015 10:14:56 +0000 (12:14 +0200)]
back to dev
Michael Wallner [Wed, 8 Apr 2015 10:12:49 +0000 (12:12 +0200)]
release 2.4.3
Michael Wallner [Wed, 8 Apr 2015 10:05:59 +0000 (12:05 +0200)]
fix bug #69357
Michael Wallner [Fri, 3 Apr 2015 12:22:38 +0000 (14:22 +0200)]
back to dev
Michael Wallner [Fri, 3 Apr 2015 12:07:24 +0000 (14:07 +0200)]
release 2.4.2
Michael Wallner [Fri, 27 Mar 2015 09:13:40 +0000 (10:13 +0100)]
Fixed bug #69313
Michael Wallner [Mon, 23 Mar 2015 09:31:39 +0000 (10:31 +0100)]
release 2.4.2
Michael Wallner [Mon, 23 Mar 2015 07:22:31 +0000 (08:22 +0100)]
CS
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
Michael Wallner [Fri, 20 Mar 2015 07:35:10 +0000 (08:35 +0100)]
support libidn2 and ICU as fallbacksx
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";
}
}
Michael Wallner [Fri, 20 Mar 2015 07:35:58 +0000 (08:35 +0100)]
back to dev
Michael Wallner [Wed, 18 Mar 2015 07:19:43 +0000 (08:19 +0100)]
release 2.4.1
Remi Collet [Wed, 18 Mar 2015 07:15:49 +0000 (08:15 +0100)]
fix build wih PHP 5.4
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
Michael Wallner [Wed, 18 Mar 2015 06:31:36 +0000 (07:31 +0100)]
release 2.4.0
Michael Wallner [Mon, 16 Mar 2015 19:30:14 +0000 (20:30 +0100)]
Add PHP_HTTP_HAVE_CLIENT, by Jan Erhardt
Michael Wallner [Thu, 12 Mar 2015 08:30:46 +0000 (09:30 +0100)]
Merge branch 'master' into phpng
Michael Wallner [Thu, 12 Mar 2015 07:31:15 +0000 (08:31 +0100)]
it is always bad to rely on external things
Michael Wallner [Thu, 12 Mar 2015 07:11:02 +0000 (08:11 +0100)]
Merge branch 'R_2_3'
Michael Wallner [Thu, 12 Mar 2015 06:25:28 +0000 (07:25 +0100)]
back to dev
Michael Wallner [Mon, 2 Mar 2015 14:09:48 +0000 (15:09 +0100)]
release 2.3.2
Michael Wallner [Tue, 3 Mar 2015 20:57:03 +0000 (21:57 +0100)]
fis querystring offset set bug
Michael Wallner [Tue, 3 Mar 2015 20:57:03 +0000 (21:57 +0100)]
fis querystring offset set bug
Remi Collet [Tue, 3 Mar 2015 11:44:53 +0000 (12:44 +0100)]
this test requires online
(cherry picked from commit
1203e8a9facfbe8f2dbdcc7fada98b01f79f7555)
Remi Collet [Tue, 3 Mar 2015 11:44:53 +0000 (12:44 +0100)]
this test requires online
Remi Collet [Tue, 3 Mar 2015 07:51:37 +0000 (08:51 +0100)]
fix typo
Michael Wallner [Mon, 2 Mar 2015 18:55:28 +0000 (19:55 +0100)]
STATUS -> ZEND_RESULT_CODE
Michael Wallner [Mon, 2 Mar 2015 15:03:43 +0000 (16:03 +0100)]
remove obsolete tests
Michael Wallner [Mon, 2 Mar 2015 14:58:58 +0000 (15:58 +0100)]
remove rinit and json dep in favor of pecl/json_post and pecl/apfd
Michael Wallner [Mon, 2 Mar 2015 14:58:21 +0000 (15:58 +0100)]
fix ZTS
Michael Wallner [Mon, 2 Mar 2015 14:09:59 +0000 (15:09 +0100)]
Merge branch 'R_2_3'
Michael Wallner [Mon, 2 Mar 2015 14:09:48 +0000 (15:09 +0100)]
back to dev
Michael Wallner [Mon, 2 Mar 2015 14:06:18 +0000 (15:06 +0100)]
fix stddef.h/ptrdiff_t issue
Michael Wallner [Mon, 2 Mar 2015 06:42:25 +0000 (07:42 +0100)]
better error messages; attempt on WinIDN
Michael Wallner [Sun, 1 Mar 2015 13:35:45 +0000 (14:35 +0100)]
administrativa
Michael Wallner [Sun, 1 Mar 2015 13:30:47 +0000 (14:30 +0100)]
Merge branch 'R_2_3'
Michael Wallner [Sun, 1 Mar 2015 13:29:18 +0000 (14:29 +0100)]
back to dev
Michael Wallner [Sun, 1 Mar 2015 13:19:48 +0000 (14:19 +0100)]
s/beta/stable
Michael Wallner [Sun, 1 Mar 2015 13:18:38 +0000 (14:18 +0100)]
2.3.0
Michael Wallner [Wed, 25 Feb 2015 21:14:57 +0000 (22:14 +0100)]
use builtin uidna_IDNToASCII on OSX
Michael Wallner [Wed, 25 Feb 2015 19:20:01 +0000 (20:20 +0100)]
fix retval initialization
Michael Wallner [Wed, 25 Feb 2015 19:18:40 +0000 (20:18 +0100)]
fix retval type
Michael Wallner [Tue, 24 Feb 2015 19:50:45 +0000 (20:50 +0100)]
no strlist anymore
Remi Collet [Fri, 20 Feb 2015 07:46:40 +0000 (08:46 +0100)]
cleanup debug stuff
Michael Wallner [Thu, 19 Feb 2015 20:13:05 +0000 (21:13 +0100)]
here too
Michael Wallner [Thu, 19 Feb 2015 20:07:03 +0000 (21:07 +0100)]
use a random port offset
Michael Wallner [Thu, 19 Feb 2015 19:34:31 +0000 (20:34 +0100)]
minor C-L bug in older libcurl
Michael Wallner [Thu, 19 Feb 2015 19:34:09 +0000 (20:34 +0100)]
skip on older libcurl
Michael Wallner [Thu, 19 Feb 2015 19:33:35 +0000 (20:33 +0100)]
missing backport from phpng branch
Remi Collet [Thu, 19 Feb 2015 16:22:58 +0000 (17:22 +0100)]
change base port to make 32/64 simultenaous build easier
Remi Collet [Thu, 19 Feb 2015 16:12:46 +0000 (17:12 +0100)]
honours TEST_PHP_EXECUTABLE and TEST_PHP_ARGS (set by "make test")
Remi Collet [Thu, 19 Feb 2015 09:22:19 +0000 (10:22 +0100)]
Merge branch 'master' of git.php.net:/pecl/http/pecl_http
* 'master' of git.php.net:/pecl/http/pecl_http: (84 commits)
back to dev
2.3.0RC1
restore php-5.3 compatibility
administrativa
fix build with old libcurl
remove dead code
remove strlist api
hoppala; removed actually living code
remove dead code
don't generate stat based etags for temp/mem streams
test header parser errors and streaming
test 4-byte sequences
better error message
(gcov) tests fixup
better errors from the headers parser
let the header parser fail more accurately
add http\Header\Parser::stream()
typo
fix the stream message parser
ignore disconnect exceptions
...
Michael Wallner [Thu, 19 Feb 2015 08:42:41 +0000 (09:42 +0100)]
back to dev
Michael Wallner [Thu, 19 Feb 2015 08:40:59 +0000 (09:40 +0100)]
2.3.0RC1
Michael Wallner [Thu, 19 Feb 2015 07:40:49 +0000 (08:40 +0100)]
restore php-5.3 compatibility
Michael Wallner [Wed, 18 Feb 2015 10:28:58 +0000 (11:28 +0100)]
fix invalid read
Michael Wallner [Wed, 18 Feb 2015 09:33:35 +0000 (10:33 +0100)]
Merge branch 'master' into phpng
Conflicts:
package.xml
php_http_client_curl.c
php_http_env.c
php_http_env_response.c
php_http_header_parser.c
php_http_message.c
php_http_message_body.c
php_http_message_parser.c
php_http_misc.c
php_http_strlist.c
php_http_url.h
tests/info.phpt
Michael Wallner [Wed, 18 Feb 2015 07:30:23 +0000 (08:30 +0100)]
hashtable==zend_array now
Michael Wallner [Tue, 17 Feb 2015 21:20:54 +0000 (22:20 +0100)]
administrativa
Michael Wallner [Tue, 17 Feb 2015 21:20:23 +0000 (22:20 +0100)]
fix build with old libcurl
Michael Wallner [Tue, 17 Feb 2015 19:36:38 +0000 (20:36 +0100)]
remove dead code
Michael Wallner [Tue, 17 Feb 2015 19:21:43 +0000 (20:21 +0100)]
remove strlist api
Michael Wallner [Tue, 17 Feb 2015 19:21:24 +0000 (20:21 +0100)]
hoppala; removed actually living code
Michael Wallner [Tue, 17 Feb 2015 14:09:21 +0000 (15:09 +0100)]
remove dead code
Michael Wallner [Tue, 17 Feb 2015 14:08:50 +0000 (15:08 +0100)]
don't generate stat based etags for temp/mem streams
Michael Wallner [Tue, 17 Feb 2015 13:30:38 +0000 (14:30 +0100)]
test header parser errors and streaming
Michael Wallner [Tue, 17 Feb 2015 13:02:55 +0000 (14:02 +0100)]
test 4-byte sequences
Michael Wallner [Tue, 17 Feb 2015 13:02:45 +0000 (14:02 +0100)]
better error message
Michael Wallner [Tue, 17 Feb 2015 10:43:07 +0000 (11:43 +0100)]
(gcov) tests fixup
Michael Wallner [Tue, 17 Feb 2015 10:19:12 +0000 (11:19 +0100)]
better errors from the headers parser
Michael Wallner [Mon, 16 Feb 2015 19:24:41 +0000 (20:24 +0100)]
let the header parser fail more accurately
Michael Wallner [Mon, 16 Feb 2015 18:43:06 +0000 (19:43 +0100)]
add http\Header\Parser::stream()
Michael Wallner [Mon, 16 Feb 2015 17:41:55 +0000 (18:41 +0100)]
typo
Michael Wallner [Mon, 16 Feb 2015 17:38:56 +0000 (18:38 +0100)]
fix the stream message parser
* it could not handle a single header line without EOL
* it failed with intermediary data > 4096 bytes
Michael Wallner [Mon, 16 Feb 2015 17:00:55 +0000 (18:00 +0100)]
ignore disconnect exceptions
Michael Wallner [Mon, 16 Feb 2015 12:34:32 +0000 (13:34 +0100)]
test++