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

8 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

8 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()

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

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

8 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

8 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'

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

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

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

8 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

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

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

8 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

8 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

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

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

8 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

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

8 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++

8 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

8 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

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

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

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

8 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

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

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

8 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

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

8 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

8 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

8 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

8 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

8 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

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

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

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

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

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

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

8 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()

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

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

8 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

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

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

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

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

8 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

8 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

8 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()

8 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()

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

8 years agosimplify getCookies()
Michael Wallner [Sun, 9 Dec 2012 22:19:02 +0000 (22:19 +0000)] 
simplify getCookies()

8 years agofix leak
Michael Wallner [Sun, 9 Dec 2012 22:18:26 +0000 (22:18 +0000)] 
fix leak

8 years agoexplicit chunk size
Michael Wallner [Sun, 9 Dec 2012 22:17:56 +0000 (22:17 +0000)] 
explicit chunk size

8 years agoremove odd includes
Michael Wallner [Sun, 9 Dec 2012 11:36:51 +0000 (11:36 +0000)] 
remove odd includes

8 years agorefactored client options
Michael Wallner [Fri, 7 Dec 2012 17:08:36 +0000 (17:08 +0000)] 
refactored client options

8 years ago2.0.0beta2
Michael Wallner [Thu, 29 Nov 2012 09:20:44 +0000 (09:20 +0000)] 
2.0.0beta2

8 years agofixup stream filters, so that, when attached as a reading
Michael Wallner [Mon, 12 Nov 2012 19:31:05 +0000 (19:31 +0000)] 
fixup stream filters, so that, when attached as a reading
stream filter, eof of tmp and mem streams is detected
correctly

8 years agolet the caller care for the message headers on serialisation if read filters are...
Michael Wallner [Mon, 12 Nov 2012 19:29:45 +0000 (19:29 +0000)] 
let the caller care for the message headers on serialisation if read filters are attached to the body resource

8 years agoaddref to body resource
Michael Wallner [Mon, 12 Nov 2012 19:29:38 +0000 (19:29 +0000)] 
addref to body resource

8 years agoallow interrupted message parsing from stream
Michael Wallner [Fri, 9 Nov 2012 13:30:39 +0000 (13:30 +0000)] 
allow interrupted message parsing from stream

8 years agobetter PHP-5.3 compatibility
Michael Wallner [Thu, 8 Nov 2012 13:46:20 +0000 (13:46 +0000)] 
better PHP-5.3 compatibility

8 years ago- add http\Env::getResponseStatusForAllCodes()
Michael Wallner [Wed, 7 Nov 2012 08:52:35 +0000 (08:52 +0000)] 
- add http\Env::getResponseStatusForAllCodes()
- merge message headers

8 years ago80%+ test coverage
Michael Wallner [Sun, 28 Oct 2012 20:21:24 +0000 (20:21 +0000)] 
80%+ test coverage

8 years agofix grabbing files from array
Michael Wallner [Sun, 28 Oct 2012 20:20:08 +0000 (20:20 +0000)] 
fix grabbing files from array

8 years agofix typo
Michael Wallner [Sun, 28 Oct 2012 20:19:44 +0000 (20:19 +0000)] 
fix typo

8 years agofix curl_multi with libevent2
Michael Wallner [Sun, 28 Oct 2012 20:19:12 +0000 (20:19 +0000)] 
fix curl_multi with libevent2

8 years ago2.0.0beta1
Michael Wallner [Thu, 11 Oct 2012 10:10:18 +0000 (10:10 +0000)] 
2.0.0beta1

8 years agotest http\Url::SANITIZE_PATH
Michael Wallner [Mon, 30 Jul 2012 18:35:49 +0000 (18:35 +0000)] 
test http\Url::SANITIZE_PATH

8 years agotest parsing messages from stream
Michael Wallner [Mon, 30 Jul 2012 18:35:08 +0000 (18:35 +0000)] 
test parsing messages from stream

8 years agofix leak in persisten handles cleanup routine
Michael Wallner [Mon, 30 Jul 2012 18:34:35 +0000 (18:34 +0000)] 
fix leak in persisten handles cleanup routine

8 years agofix php_http_locate_bin_eol(()
Michael Wallner [Mon, 30 Jul 2012 18:33:55 +0000 (18:33 +0000)] 
fix php_http_locate_bin_eol(()

8 years agofix parsing messages from stream
Michael Wallner [Mon, 30 Jul 2012 18:33:20 +0000 (18:33 +0000)] 
fix parsing messages from stream

8 years agoimplement Serializable
Michael Wallner [Mon, 30 Jul 2012 18:32:46 +0000 (18:32 +0000)] 
implement Serializable

8 years agoimplement Serializable
Michael Wallner [Mon, 30 Jul 2012 18:32:30 +0000 (18:32 +0000)] 
implement Serializable

8 years agoadd php_http_message_zip(): merge request/response messages for history
Michael Wallner [Mon, 30 Jul 2012 18:31:46 +0000 (18:31 +0000)] 
add php_http_message_zip(): merge request/response messages for history

8 years agofix parsing of folded headers
Michael Wallner [Mon, 30 Jul 2012 18:31:03 +0000 (18:31 +0000)] 
fix parsing of folded headers

8 years agofoward querystring API
Michael Wallner [Mon, 30 Jul 2012 18:30:22 +0000 (18:30 +0000)] 
foward querystring API

8 years agoensure we're talking to curl ops
Michael Wallner [Mon, 30 Jul 2012 18:29:59 +0000 (18:29 +0000)] 
ensure we're talking to curl ops

8 years agoensure we're talking to curl ops
Michael Wallner [Mon, 30 Jul 2012 18:29:39 +0000 (18:29 +0000)] 
ensure we're talking to curl ops

8 years agoallow send() without parameter
Michael Wallner [Mon, 30 Jul 2012 18:29:12 +0000 (18:29 +0000)] 
allow send() without parameter

8 years agoexplicitly declare as abstract
Michael Wallner [Mon, 30 Jul 2012 18:28:37 +0000 (18:28 +0000)] 
explicitly declare as abstract

8 years agoavoid serialization
Michael Wallner [Mon, 30 Jul 2012 18:28:12 +0000 (18:28 +0000)] 
avoid serialization

8 years agofix leak; fix history
Michael Wallner [Mon, 30 Jul 2012 18:27:44 +0000 (18:27 +0000)] 
fix leak; fix history

8 years agoexpand #if CURL
Michael Wallner [Mon, 30 Jul 2012 18:26:43 +0000 (18:26 +0000)] 
expand #if CURL

8 years agoensure these properties are always set
Michael Wallner [Fri, 20 Jul 2012 09:20:18 +0000 (09:20 +0000)] 
ensure these properties are always set

8 years agofixes for windows and 5.3 compatibility
Anatoliy Belsky [Sun, 17 Jun 2012 16:29:07 +0000 (16:29 +0000)] 
fixes for windows and 5.3 compatibility

8 years ago* split request and response message parsers, so the "100 Continue" response does...
Michael Wallner [Wed, 30 May 2012 11:10:08 +0000 (11:10 +0000)] 
* split request and response message parsers, so the "100 Continue" response does not intercept the request
* make sure that message headers are updated by inspecting the body prior sending the request
* add http\Message\Body::getResource()

8 years agoexlcude the port from hostname
Michael Wallner [Wed, 30 May 2012 11:07:31 +0000 (11:07 +0000)] 
exlcude the port from hostname

9 years agoadd missing HTTP response status codes regarding to IANA
Michael Wallner [Thu, 10 May 2012 16:24:42 +0000 (16:24 +0000)] 
add missing HTTP response status codes regarding to IANA

9 years agoadd json content type handler if ext/json is present
Michael Wallner [Wed, 9 May 2012 12:30:04 +0000 (12:30 +0000)] 
add json content type handler if ext/json is present

9 years agodon't sanitize URL path by default, and add http\Url::SANITIZE_PATH flag for that
Michael Wallner [Mon, 7 May 2012 10:46:12 +0000 (10:46 +0000)] 
don't sanitize URL path by default, and add http\Url::SANITIZE_PATH flag for that

9 years agoprepare 2.0.0alpha1 release
Michael Wallner [Fri, 13 Apr 2012 11:18:45 +0000 (11:18 +0000)] 
prepare 2.0.0alpha1 release

9 years agofix valgrind errors
Michael Wallner [Fri, 13 Apr 2012 11:17:03 +0000 (11:17 +0000)] 
fix valgrind errors

9 years agofix leak; fix compiler warning
Michael Wallner [Thu, 12 Apr 2012 14:56:58 +0000 (14:56 +0000)] 
fix leak; fix compiler warning

9 years agoadd http\Client\AbstractClient#request(string method, string url[, array headers...
Michael Wallner [Thu, 12 Apr 2012 14:10:25 +0000 (14:10 +0000)] 
add http\Client\AbstractClient#request(string method, string url[, array headers=null[, mixed body=null[, array options=null]]])

9 years agofiy a serialization issue; always add "arguments" key to params array; add tests
Michael Wallner [Thu, 12 Apr 2012 14:07:09 +0000 (14:07 +0000)] 
fiy a serialization issue; always add "arguments" key to params array; add tests