m6w6/ext-http
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 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 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

9 years agoremove rinit and json dep in favor of pecl/json_post and pecl/apfd
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

9 years agofix ZTS
Michael Wallner [Mon, 2 Mar 2015 14:58:21 +0000 (15:58 +0100)] 
fix ZTS

9 years agoMerge branch 'R_2_3'
Michael Wallner [Mon, 2 Mar 2015 14:09:59 +0000 (15:09 +0100)] 
Merge branch 'R_2_3'

9 years agoback to dev
Michael Wallner [Mon, 2 Mar 2015 14:09:48 +0000 (15:09 +0100)] 
back to dev

9 years agofix stddef.h/ptrdiff_t issue RELEASE_2_3_1
Michael Wallner [Mon, 2 Mar 2015 14:06:18 +0000 (15:06 +0100)] 
fix stddef.h/ptrdiff_t issue

9 years agobetter error messages; attempt on WinIDN
Michael Wallner [Mon, 2 Mar 2015 06:42:25 +0000 (07:42 +0100)] 
better error messages; attempt on WinIDN

9 years agoadministrativa
Michael Wallner [Sun, 1 Mar 2015 13:35:45 +0000 (14:35 +0100)] 
administrativa

9 years agoMerge branch 'R_2_3'
Michael Wallner [Sun, 1 Mar 2015 13:30:47 +0000 (14:30 +0100)] 
Merge branch 'R_2_3'

9 years agoback to dev
Michael Wallner [Sun, 1 Mar 2015 13:29:18 +0000 (14:29 +0100)] 
back to dev

9 years agos/beta/stable RELEASE_2_3_0
Michael Wallner [Sun, 1 Mar 2015 13:19:48 +0000 (14:19 +0100)] 
s/beta/stable

9 years ago2.3.0
Michael Wallner [Sun, 1 Mar 2015 13:18:38 +0000 (14:18 +0100)] 
2.3.0

9 years agouse builtin uidna_IDNToASCII on OSX
Michael Wallner [Wed, 25 Feb 2015 21:14:57 +0000 (22:14 +0100)] 
use builtin uidna_IDNToASCII on OSX

9 years agofix retval initialization
Michael Wallner [Wed, 25 Feb 2015 19:20:01 +0000 (20:20 +0100)] 
fix retval initialization

9 years agofix retval type
Michael Wallner [Wed, 25 Feb 2015 19:18:40 +0000 (20:18 +0100)] 
fix retval type

9 years agono strlist anymore
Michael Wallner [Tue, 24 Feb 2015 19:50:45 +0000 (20:50 +0100)] 
no strlist anymore

9 years agocleanup debug stuff
Remi Collet [Fri, 20 Feb 2015 07:46:40 +0000 (08:46 +0100)] 
cleanup debug stuff

9 years agohere too
Michael Wallner [Thu, 19 Feb 2015 20:13:05 +0000 (21:13 +0100)] 
here too

9 years agouse a random port offset
Michael Wallner [Thu, 19 Feb 2015 20:07:03 +0000 (21:07 +0100)] 
use a random port offset

9 years agominor C-L bug in older libcurl
Michael Wallner [Thu, 19 Feb 2015 19:34:31 +0000 (20:34 +0100)] 
minor C-L bug in older libcurl

9 years agoskip on older libcurl
Michael Wallner [Thu, 19 Feb 2015 19:34:09 +0000 (20:34 +0100)] 
skip on older libcurl

9 years agomissing backport from phpng branch
Michael Wallner [Thu, 19 Feb 2015 19:33:35 +0000 (20:33 +0100)] 
missing backport from phpng branch

9 years agochange base port to make 32/64 simultenaous build easier
Remi Collet [Thu, 19 Feb 2015 16:22:58 +0000 (17:22 +0100)] 
change base port to make 32/64 simultenaous build easier

9 years agohonours TEST_PHP_EXECUTABLE and TEST_PHP_ARGS (set by "make test")
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")

9 years agoMerge branch 'master' of git.php.net:/pecl/http/pecl_http
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
  ...

9 years agoback to dev
Michael Wallner [Thu, 19 Feb 2015 08:42:41 +0000 (09:42 +0100)] 
back to dev

9 years ago2.3.0RC1 RELEASE_2_3_0_RC1
Michael Wallner [Thu, 19 Feb 2015 08:40:59 +0000 (09:40 +0100)] 
2.3.0RC1

9 years agorestore php-5.3 compatibility
Michael Wallner [Thu, 19 Feb 2015 07:40:49 +0000 (08:40 +0100)] 
restore php-5.3 compatibility

9 years agofix invalid read
Michael Wallner [Wed, 18 Feb 2015 10:28:58 +0000 (11:28 +0100)] 
fix invalid read

9 years agoMerge branch 'master' into phpng
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

9 years agohashtable==zend_array now
Michael Wallner [Wed, 18 Feb 2015 07:30:23 +0000 (08:30 +0100)] 
hashtable==zend_array now

9 years agoadministrativa
Michael Wallner [Tue, 17 Feb 2015 21:20:54 +0000 (22:20 +0100)] 
administrativa

9 years agofix build with old libcurl
Michael Wallner [Tue, 17 Feb 2015 21:20:23 +0000 (22:20 +0100)] 
fix build with old libcurl

9 years agoremove dead code
Michael Wallner [Tue, 17 Feb 2015 19:36:38 +0000 (20:36 +0100)] 
remove dead code

9 years agoremove strlist api
Michael Wallner [Tue, 17 Feb 2015 19:21:43 +0000 (20:21 +0100)] 
remove strlist api

9 years agohoppala; removed actually living code
Michael Wallner [Tue, 17 Feb 2015 19:21:24 +0000 (20:21 +0100)] 
hoppala; removed actually living code

9 years agoremove dead code
Michael Wallner [Tue, 17 Feb 2015 14:09:21 +0000 (15:09 +0100)] 
remove dead code

9 years agodon't generate stat based etags for temp/mem streams
Michael Wallner [Tue, 17 Feb 2015 14:08:50 +0000 (15:08 +0100)] 
don't generate stat based etags for temp/mem streams

9 years agotest header parser errors and streaming
Michael Wallner [Tue, 17 Feb 2015 13:30:38 +0000 (14:30 +0100)] 
test header parser errors and streaming

9 years agotest 4-byte sequences
Michael Wallner [Tue, 17 Feb 2015 13:02:55 +0000 (14:02 +0100)] 
test 4-byte sequences

9 years agobetter error message
Michael Wallner [Tue, 17 Feb 2015 13:02:45 +0000 (14:02 +0100)] 
better error message

9 years ago(gcov) tests fixup
Michael Wallner [Tue, 17 Feb 2015 10:43:07 +0000 (11:43 +0100)] 
(gcov) tests fixup

9 years agobetter errors from the headers parser
Michael Wallner [Tue, 17 Feb 2015 10:19:12 +0000 (11:19 +0100)] 
better errors from the headers parser

9 years agolet the header parser fail more accurately
Michael Wallner [Mon, 16 Feb 2015 19:24:41 +0000 (20:24 +0100)] 
let the header parser fail more accurately

9 years agoadd http\Header\Parser::stream()
Michael Wallner [Mon, 16 Feb 2015 18:43:06 +0000 (19:43 +0100)] 
add http\Header\Parser::stream()

9 years agotypo
Michael Wallner [Mon, 16 Feb 2015 17:41:55 +0000 (18:41 +0100)] 
typo

9 years agofix the stream message parser
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

9 years agoignore disconnect exceptions
Michael Wallner [Mon, 16 Feb 2015 17:00:55 +0000 (18:00 +0100)] 
ignore disconnect exceptions

9 years agotest++
Michael Wallner [Mon, 16 Feb 2015 12:34:32 +0000 (13:34 +0100)] 
test++

9 years agofix ::toStream() in ZTS
Michael Wallner [Mon, 16 Feb 2015 12:13:48 +0000 (13:13 +0100)] 
fix ::toStream() in ZTS

9 years agogitignore
Michael Wallner [Mon, 16 Feb 2015 09:25:52 +0000 (10:25 +0100)] 
gitignore

9 years agoadd missing constant
Michael Wallner [Sun, 15 Feb 2015 19:35:39 +0000 (20:35 +0100)] 
add missing constant

9 years agochangelog
Michael Wallner [Sun, 15 Feb 2015 19:22:09 +0000 (20:22 +0100)] 
changelog

9 years agoexpose header parser
Michael Wallner [Sun, 15 Feb 2015 13:54:12 +0000 (14:54 +0100)] 
expose header parser

9 years agofix test with non-openssl
Michael Wallner [Sun, 15 Feb 2015 09:28:44 +0000 (10:28 +0100)] 
fix test with non-openssl

9 years agofix build without libevent2 and TLS_AUTH_SRP support
Michael Wallner [Sun, 15 Feb 2015 08:59:21 +0000 (09:59 +0100)] 
fix build without libevent2 and TLS_AUTH_SRP support

9 years agowording and typos
Michael Wallner [Fri, 13 Feb 2015 17:19:29 +0000 (18:19 +0100)] 
wording and typos

9 years agoadministrativa
Michael Wallner [Fri, 13 Feb 2015 14:18:28 +0000 (15:18 +0100)] 
administrativa

9 years agouse the chunked_encode stream filter
Michael Wallner [Fri, 13 Feb 2015 12:15:39 +0000 (13:15 +0100)] 
use the chunked_encode stream filter

9 years agobuffer headers instead of single-writes
Michael Wallner [Fri, 13 Feb 2015 11:40:55 +0000 (12:40 +0100)] 
buffer headers instead of single-writes

9 years agopartially replace the loop with a duff device
Michael Wallner [Fri, 13 Feb 2015 10:21:06 +0000 (11:21 +0100)] 
partially replace the loop with a duff device

9 years agofix Content-Range messages; remove superfluous Content-Lenght:0 header
Michael Wallner [Fri, 13 Feb 2015 08:50:40 +0000 (09:50 +0100)] 
fix Content-Range messages; remove superfluous Content-Lenght:0 header

9 years agoadd test
Michael Wallner [Thu, 12 Feb 2015 22:09:35 +0000 (23:09 +0100)] 
add test

9 years agocontent range has precendence; fix bug to detect max length
Michael Wallner [Thu, 12 Feb 2015 21:51:44 +0000 (22:51 +0100)] 
content range has precendence; fix bug to detect max length

9 years agotests++
Michael Wallner [Thu, 12 Feb 2015 21:44:31 +0000 (22:44 +0100)] 
tests++

9 years agorename info tests
Michael Wallner [Thu, 12 Feb 2015 21:44:11 +0000 (22:44 +0100)] 
rename info tests

9 years agohttp2 test
Michael Wallner [Thu, 12 Feb 2015 18:21:46 +0000 (19:21 +0100)] 
http2 test

9 years agoadd http\Client::getAvailable{Options,Configuration}()
Michael Wallner [Thu, 12 Feb 2015 12:21:50 +0000 (13:21 +0100)] 
add http\Client::getAvailable{Options,Configuration}()

9 years agodon't create persistent easy handles for non-persistent multi handles
Michael Wallner [Thu, 12 Feb 2015 10:14:31 +0000 (11:14 +0100)] 
don't create persistent easy handles for non-persistent multi handles

9 years agoyep, moved there. ugh
Michael Wallner [Thu, 12 Feb 2015 10:14:04 +0000 (11:14 +0100)] 
yep, moved there. ugh

9 years agomoved
Michael Wallner [Thu, 12 Feb 2015 10:13:37 +0000 (11:13 +0100)] 
moved

9 years agoreorder
Michael Wallner [Thu, 12 Feb 2015 10:12:42 +0000 (11:12 +0100)] 
reorder

9 years agoreduce count of online tests
Michael Wallner [Wed, 11 Feb 2015 15:11:46 +0000 (16:11 +0100)] 
reduce count of online tests

9 years agoadd pipelining test
Michael Wallner [Wed, 11 Feb 2015 11:12:26 +0000 (12:12 +0100)] 
add pipelining test

9 years agono Content-Length on CONNECT responses
Michael Wallner [Wed, 11 Feb 2015 09:42:34 +0000 (10:42 +0100)] 
no Content-Length on CONNECT responses

9 years agotypo
Michael Wallner [Wed, 11 Feb 2015 09:42:25 +0000 (10:42 +0100)] 
typo

9 years agoimplement curl multi options through http\Client::configure()
Michael Wallner [Tue, 10 Feb 2015 16:38:50 +0000 (17:38 +0100)] 
implement curl multi options through http\Client::configure()

- add http\Client::configure()
  * options:
    * bool(use_eventloop)
    * bool(pipelining)
    * int(maxconnects)
    * int(max_total_connections)
    * int(max_host_connections)
    * int(max_pipeling_length)
    * int(chunk_length_penalty_size)
    * int(content_length_penalty_size)
    * array(pipelining_site_bl)
    * array(pipelining_server_bl)
- deprecate http\Client::enablePipelining()
- deprecate http\Client::enableEvents()

9 years agofix leak
Michael Wallner [Mon, 9 Feb 2015 10:44:12 +0000 (11:44 +0100)] 
fix leak

9 years agofix leaks dues to upmerges
Michael Wallner [Mon, 9 Feb 2015 09:48:58 +0000 (10:48 +0100)] 
fix leaks dues to upmerges

9 years agofix retval
Michael Wallner [Mon, 9 Feb 2015 09:48:40 +0000 (10:48 +0100)] 
fix retval

9 years agoTSRMLS--
Michael Wallner [Mon, 9 Feb 2015 09:48:25 +0000 (10:48 +0100)] 
TSRMLS--

9 years agodon't release twice
Michael Wallner [Mon, 9 Feb 2015 08:25:24 +0000 (09:25 +0100)] 
don't release twice

9 years agocopy driver name
Michael Wallner [Mon, 9 Feb 2015 08:24:09 +0000 (09:24 +0100)] 
copy driver name

9 years agoMerge branch 'master' into phpng
Michael Wallner [Sun, 8 Feb 2015 15:23:13 +0000 (16:23 +0100)] 
Merge branch 'master' into phpng

Conflicts:
php_http_client.c
php_http_client.h
php_http_client_curl.c
php_http_env_response.c
php_http_info.c
php_http_message.c
php_http_object.c
php_http_object.h
php_http_url.c
php_http_url.h

9 years agoMerge branch 'R_2_2'
Michael Wallner [Sat, 7 Feb 2015 11:30:04 +0000 (12:30 +0100)] 
Merge branch 'R_2_2'

9 years agoback to dev v2.2.x
Michael Wallner [Sat, 7 Feb 2015 11:29:47 +0000 (12:29 +0100)] 
back to dev