m6w6/ext-http
11 years agorm
Michael Wallner [Thu, 21 Nov 2013 08:51:07 +0000 (08:51 +0000)] 
rm

11 years agoremoved awkward custom error handling and http\Object base class
Michael Wallner [Wed, 20 Nov 2013 13:18:11 +0000 (13:18 +0000)] 
removed awkward custom error handling and http\Object base class

11 years agofix build with xcode clang
Michael Wallner [Fri, 15 Nov 2013 11:22:47 +0000 (11:22 +0000)] 
fix build with xcode clang

11 years agotypo
Michael Wallner [Fri, 15 Nov 2013 11:19:04 +0000 (11:19 +0000)] 
typo

11 years agofix clang warning
Michael Wallner [Fri, 15 Nov 2013 11:18:32 +0000 (11:18 +0000)] 
fix clang warning

11 years agofix clang warning
Michael Wallner [Fri, 15 Nov 2013 11:18:05 +0000 (11:18 +0000)] 
fix clang warning

11 years agohttp\Client implements Countable
Michael Wallner [Fri, 15 Nov 2013 10:29:40 +0000 (10:29 +0000)] 
http\Client implements Countable

11 years agofix ZTS
Michael Wallner [Fri, 15 Nov 2013 10:29:24 +0000 (10:29 +0000)] 
fix ZTS

11 years agofix crash on unset request urls
Michael Wallner [Fri, 15 Nov 2013 08:35:15 +0000 (08:35 +0000)] 
fix crash on unset request urls

11 years agoarginfos, return values
Michael Wallner [Thu, 14 Nov 2013 17:14:09 +0000 (17:14 +0000)] 
arginfos, return values

11 years agoconsolidate return values
Michael Wallner [Fri, 8 Nov 2013 20:24:07 +0000 (20:24 +0000)] 
consolidate return values

11 years agostandard return values; fix tests
Michael Wallner [Fri, 8 Nov 2013 12:58:59 +0000 (12:58 +0000)] 
standard return values; fix tests

11 years ago* standard return values
Michael Wallner [Tue, 5 Nov 2013 16:13:41 +0000 (16:13 +0000)] 
* standard return values
* reflection2php fixes

11 years agofix with php://input from master
Michael Wallner [Wed, 9 Oct 2013 07:44:22 +0000 (07:44 +0000)] 
fix with php://input from master

11 years agoimprove
Michael Wallner [Wed, 9 Oct 2013 07:43:46 +0000 (07:43 +0000)] 
improve

11 years agofix with master
Michael Wallner [Wed, 9 Oct 2013 07:43:35 +0000 (07:43 +0000)] 
fix with master

11 years agoremove debug
Michael Wallner [Wed, 9 Oct 2013 07:42:23 +0000 (07:42 +0000)] 
remove debug

11 years agonames changing )
Anatoliy Belsky [Mon, 30 Sep 2013 09:28:41 +0000 (09:28 +0000)] 
names changing )

11 years agoprepared for libevent2 usage in config.w32, though libevent usage seems to be broken...
Anatoliy Belsky [Sun, 29 Sep 2013 22:26:46 +0000 (22:26 +0000)] 
prepared for libevent2 usage in config.w32, though libevent usage seems to be broken at the moment

11 years agofixed struct init
Anatoliy Belsky [Sun, 29 Sep 2013 21:31:25 +0000 (21:31 +0000)] 
fixed struct init

11 years agofixed config.w32
Anatoliy Belsky [Sun, 29 Sep 2013 21:30:37 +0000 (21:30 +0000)] 
fixed config.w32

11 years agoadded config.w32 to package.xml
Anatoliy Belsky [Wed, 11 Sep 2013 08:45:00 +0000 (08:45 +0000)] 
added config.w32 to package.xml

11 years agoreset the client when destructing;
Michael Wallner [Tue, 20 Aug 2013 10:20:15 +0000 (10:20 +0000)] 
reset the client when destructing;

this ensures any attached requests will be
dequeued and in case of using persistent
handles can be property re-used

11 years agoback to dev
Michael Wallner [Mon, 12 Aug 2013 19:50:36 +0000 (19:50 +0000)] 
back to dev

11 years agotest reafactoring; release beta5
Michael Wallner [Mon, 12 Aug 2013 19:49:55 +0000 (19:49 +0000)] 
test reafactoring; release beta5

11 years agoconverted phpunit ClientRequestTest to PHPTs
Michael Wallner [Tue, 16 Jul 2013 16:53:35 +0000 (16:53 +0000)] 
converted phpunit ClientRequestTest to PHPTs

11 years agofix segfault when initializing a request message with a body
Michael Wallner [Tue, 16 Jul 2013 08:46:01 +0000 (08:46 +0000)] 
fix segfault when initializing a request message with a body

TODO: convert phpunit tests to PHPTs

11 years agoquickfix
Michael Wallner [Mon, 24 Jun 2013 05:28:52 +0000 (05:28 +0000)] 
quickfix

11 years ago- less custom macro cruft
Michael Wallner [Sun, 19 May 2013 11:39:21 +0000 (11:39 +0000)] 
- less custom macro cruft
- add TODO
- getservby{name,port}_r support
- it's 2013 already

11 years agofix usage with ancient libcurl (debian)
Michael Wallner [Thu, 11 Apr 2013 12:01:56 +0000 (12:01 +0000)] 
fix usage with ancient libcurl (debian)

11 years agoallow retrieval of header as http\Header
Michael Wallner [Wed, 10 Apr 2013 12:07:40 +0000 (12:07 +0000)] 
allow retrieval of header as http\Header

11 years agoclient test and fixes
Michael Wallner [Fri, 5 Apr 2013 13:04:48 +0000 (13:04 +0000)] 
client test and fixes

11 years agoallow retrieval of response by request
Michael Wallner [Thu, 4 Apr 2013 16:20:24 +0000 (16:20 +0000)] 
allow retrieval of response by request

11 years agocodename: client meltdown
Michael Wallner [Thu, 28 Mar 2013 20:21:51 +0000 (20:21 +0000)] 
codename: client meltdown

11 years agoextesion deps
Michael Wallner [Sun, 24 Mar 2013 10:40:02 +0000 (10:40 +0000)] 
extesion deps

11 years agofix fragile tests depending on timezone
Michael Wallner [Fri, 22 Mar 2013 19:58:27 +0000 (19:58 +0000)] 
fix fragile tests depending on timezone

11 years agopecl/propro and pecl/raphf
Michael Wallner [Sat, 2 Mar 2013 09:26:53 +0000 (09:26 +0000)] 
pecl/propro and pecl/raphf

11 years agofix tests
Michael Wallner [Sat, 2 Mar 2013 09:24:23 +0000 (09:24 +0000)] 
fix tests

11 years agoautoconf-old compatibility
Michael Wallner [Sat, 2 Mar 2013 09:24:05 +0000 (09:24 +0000)] 
autoconf-old compatibility

11 years agoadopt persistent handle API
Michael Wallner [Thu, 7 Feb 2013 13:49:44 +0000 (13:49 +0000)] 
adopt persistent handle API

11 years agoreintegrated propro branch
Michael Wallner [Mon, 4 Feb 2013 11:58:08 +0000 (11:58 +0000)] 
reintegrated propro branch

11 years agosplit off property proxy
Michael Wallner [Mon, 4 Feb 2013 11:05:18 +0000 (11:05 +0000)] 
split off property proxy

11 years agosplit off property proxy
Michael Wallner [Sun, 3 Feb 2013 22:15:34 +0000 (22:15 +0000)] 
split off property proxy

11 years agomerge raphf branch
Michael Wallner [Sun, 3 Feb 2013 22:03:06 +0000 (22:03 +0000)] 
merge raphf branch

11 years agosplit off raphf
Michael Wallner [Sun, 3 Feb 2013 21:51:56 +0000 (21:51 +0000)] 
split off raphf

11 years agoraphf
Michael Wallner [Sun, 3 Feb 2013 16:32:55 +0000 (16:32 +0000)] 
raphf

11 years agoadd max-age to http\Cookie
Michael Wallner [Thu, 10 Jan 2013 17:24:04 +0000 (17:24 +0000)] 
add max-age to http\Cookie

11 years agoFix bug #63947 $_POST set as NULL for GET when Content-Type is set as application...
Michael Wallner [Wed, 9 Jan 2013 13:14:40 +0000 (13:14 +0000)] 
Fix bug #63947 $_POST set as NULL for GET when Content-Type is set as application/json

11 years ago- we have const APIs in 5.4+ and do not care about warnings in 5.3
Michael Wallner [Fri, 4 Jan 2013 13:55:59 +0000 (13:55 +0000)] 
- we have const APIs in 5.4+ and do not care about warnings in 5.3
- separate php_http_url_to_string()

11 years agotracis-ci
Michael Wallner [Fri, 4 Jan 2013 11:50:46 +0000 (11:50 +0000)] 
tracis-ci

11 years agotravis-ci
Michael Wallner [Fri, 4 Jan 2013 10:08:07 +0000 (10:08 +0000)] 
travis-ci

11 years agofixed config.w32 for build with curl enabled
Anatoliy Belsky [Thu, 3 Jan 2013 14:54:53 +0000 (14:54 +0000)] 
fixed config.w32 for build with curl enabled

11 years agoFix php_http_message.c:136:14: warning: comparison between 'enum <anonymous>' and...
Remi Collet [Mon, 31 Dec 2012 13:53:22 +0000 (13:53 +0000)] 
Fix php_http_message.c:136:14: warning: comparison between 'enum <anonymous>' and 'php_http_message_parser_state_t'

11 years agofix memset arg order
Remi Collet [Mon, 31 Dec 2012 13:47:22 +0000 (13:47 +0000)] 
fix memset arg order

11 years agorelease beta4
Michael Wallner [Mon, 31 Dec 2012 11:53:40 +0000 (11:53 +0000)] 
release beta4

11 years agodisable libserf check
Michael Wallner [Mon, 31 Dec 2012 11:25:34 +0000 (11:25 +0000)] 
disable libserf check

11 years agofix explicit php version in test
Michael Wallner [Mon, 31 Dec 2012 10:10:54 +0000 (10:10 +0000)] 
fix explicit php version in test

11 years agoprepare beta4
Michael Wallner [Mon, 31 Dec 2012 09:59:37 +0000 (09:59 +0000)] 
prepare beta4

11 years ago%d object handle id
Michael Wallner [Mon, 31 Dec 2012 09:56:51 +0000 (09:56 +0000)] 
%d object handle id

11 years agofixed message var_dump with inherited property with increased access level
Michael Wallner [Mon, 31 Dec 2012 09:54:42 +0000 (09:54 +0000)] 
fixed message var_dump with inherited property with increased access level

11 years agosafety guards for objects which di not set the intern pointer automatically
Michael Wallner [Sat, 22 Dec 2012 09:41:43 +0000 (09:41 +0000)] 
safety guards for objects which di not set the intern pointer automatically

11 years agomerged bodycount branch
Michael Wallner [Fri, 21 Dec 2012 13:59:36 +0000 (13:59 +0000)] 
merged bodycount branch

11 years agoimplement message body reference counting
Michael Wallner [Fri, 21 Dec 2012 13:56:45 +0000 (13:56 +0000)] 
implement message body reference counting

11 years agowe've a massive problem with message bodies refernced both from message structs and...
Michael Wallner [Thu, 20 Dec 2012 16:51:52 +0000 (16:51 +0000)] 
we've a massive problem with message bodies refernced both from message structs and zend objects; attempt to clear this issue

11 years agomerged response-streams branch
Michael Wallner [Thu, 20 Dec 2012 16:50:15 +0000 (16:50 +0000)] 
merged response-streams branch

11 years agoadd stream support for http\Env\Response
Michael Wallner [Thu, 20 Dec 2012 16:44:01 +0000 (16:44 +0000)] 
add stream support for http\Env\Response
tests++

11 years agoAttempt to add streams support to http\Env\Response
Michael Wallner [Tue, 18 Dec 2012 18:28:41 +0000 (18:28 +0000)] 
Attempt to add streams support to http\Env\Response

11 years agosimple escape/quotes support for the params parser
Michael Wallner [Fri, 14 Dec 2012 13:42:48 +0000 (13:42 +0000)] 
simple escape/quotes support for the params parser

11 years agodisable for 5.3
Michael Wallner [Fri, 14 Dec 2012 13:42:26 +0000 (13:42 +0000)] 
disable for 5.3

11 years agoadd http\Header::getParams()
Michael Wallner [Fri, 14 Dec 2012 10:32:14 +0000 (10:32 +0000)] 
add http\Header::getParams()

11 years agoremove unused code
Michael Wallner [Fri, 14 Dec 2012 10:31:32 +0000 (10:31 +0000)] 
remove unused code

11 years agofix build with old curl version
Remi Collet [Thu, 13 Dec 2012 18:05:50 +0000 (18:05 +0000)] 
fix build with old curl version

11 years ago2.0.0beta3
Michael Wallner [Thu, 13 Dec 2012 17:03:53 +0000 (17:03 +0000)] 
2.0.0beta3

11 years agoremove superfluous buffer macros
Michael Wallner [Thu, 13 Dec 2012 15:46:33 +0000 (15:46 +0000)] 
remove superfluous buffer macros

11 years agoseparate zval, so source is not urlencoded
Michael Wallner [Thu, 13 Dec 2012 15:45:07 +0000 (15:45 +0000)] 
separate zval, so source is not urlencoded

11 years agofix use of uninitialised value
Michael Wallner [Thu, 13 Dec 2012 15:44:39 +0000 (15:44 +0000)] 
fix use of uninitialised value

11 years agocatch CRs with %c and remove XFAIL
Michael Wallner [Wed, 12 Dec 2012 18:16:49 +0000 (18:16 +0000)] 
catch CRs with %c and remove XFAIL

11 years agouse the params parser for query strings
Michael Wallner [Wed, 12 Dec 2012 18:16:12 +0000 (18:16 +0000)] 
use the params parser for query strings

11 years agono need to separate the zval here
Michael Wallner [Wed, 12 Dec 2012 18:15:47 +0000 (18:15 +0000)] 
no need to separate the zval here

11 years agofix crash with free'd event_base pointer
Michael Wallner [Wed, 12 Dec 2012 18:15:20 +0000 (18:15 +0000)] 
fix crash with free'd event_base pointer

11 years agofix leak with vararg zend_parse_parameters
Michael Wallner [Wed, 12 Dec 2012 18:14:54 +0000 (18:14 +0000)] 
fix leak with vararg zend_parse_parameters

11 years agoaqdd missing files
Michael Wallner [Wed, 12 Dec 2012 18:12:16 +0000 (18:12 +0000)] 
aqdd missing files

11 years agotests++
Michael Wallner [Wed, 12 Dec 2012 11:53:02 +0000 (11:53 +0000)] 
tests++

11 years agore-implement params serializer
Michael Wallner [Wed, 12 Dec 2012 11:50:07 +0000 (11:50 +0000)] 
re-implement params serializer

11 years agoremove unsued _to_struct
Michael Wallner [Wed, 12 Dec 2012 11:49:42 +0000 (11:49 +0000)] 
remove unsued _to_struct

11 years agouse final_class flag
Michael Wallner [Wed, 12 Dec 2012 11:49:18 +0000 (11:49 +0000)] 
use final_class flag

11 years agouse explicit abstract class flag
Michael Wallner [Wed, 12 Dec 2012 11:44:25 +0000 (11:44 +0000)] 
use explicit abstract class flag

11 years agoadd http\Header::negotiate()
Michael Wallner [Wed, 12 Dec 2012 11:43:58 +0000 (11:43 +0000)] 
add http\Header::negotiate()
add http\Header::parse()

11 years agouse array_list
Michael Wallner [Wed, 12 Dec 2012 11:43:22 +0000 (11:43 +0000)] 
use array_list

11 years agodisplay registered API
Michael Wallner [Wed, 12 Dec 2012 11:42:52 +0000 (11:42 +0000)] 
display registered API

11 years agofiy segv with null pointer string on flush
Michael Wallner [Wed, 12 Dec 2012 11:42:34 +0000 (11:42 +0000)] 
fiy segv with null pointer string on flush

11 years agochange array_list API
Michael Wallner [Wed, 12 Dec 2012 11:41:59 +0000 (11:41 +0000)] 
change array_list API

11 years agoremove pass_state callback flag
Michael Wallner [Wed, 12 Dec 2012 11:41:20 +0000 (11:41 +0000)] 
remove pass_state callback flag

11 years agotests++
Michael Wallner [Sun, 9 Dec 2012 22:24:33 +0000 (22:24 +0000)] 
tests++

11 years agofix leak
Michael Wallner [Sun, 9 Dec 2012 22:22:45 +0000 (22:22 +0000)] 
fix leak

11 years agofix leak
Michael Wallner [Sun, 9 Dec 2012 22:22:29 +0000 (22:22 +0000)] 
fix leak
fix addBody()
fix setting the parentMessage property

11 years agofix caching by last modified
Michael Wallner [Sun, 9 Dec 2012 22:21:31 +0000 (22:21 +0000)] 
fix caching by last modified
honor throttle rate
fix leaks

11 years agoget_storage() -> php_http_curl_client_get_storage()
Michael Wallner [Sun, 9 Dec 2012 22:20:38 +0000 (22:20 +0000)] 
get_storage() -> php_http_curl_client_get_storage()

11 years agoget_storage() -> php_http_curl_client_get_storage()
Michael Wallner [Sun, 9 Dec 2012 22:20:24 +0000 (22:20 +0000)] 
get_storage() -> php_http_curl_client_get_storage()

11 years agofix leaks
Michael Wallner [Sun, 9 Dec 2012 22:19:28 +0000 (22:19 +0000)] 
fix leaks