m6w6/ext-http
12 years agoallow parsing messages consiting of headers only; fetch content-type and content...
Michael Wallner [Wed, 29 Feb 2012 08:28:06 +0000 (08:28 +0000)] 
allow parsing messages consiting of headers only; fetch content-type and content-length headers from env

12 years agofix crahs with empty urls because of typo
Michael Wallner [Wed, 29 Feb 2012 08:26:11 +0000 (08:26 +0000)] 
fix crahs with empty urls because of typo

12 years agoexperimental stream message parser
Michael Wallner [Fri, 24 Feb 2012 14:29:59 +0000 (14:29 +0000)] 
experimental stream message parser

12 years agotests
Michael Wallner [Mon, 13 Feb 2012 13:31:13 +0000 (13:31 +0000)] 
tests

12 years agofix leak
Michael Wallner [Mon, 13 Feb 2012 13:30:50 +0000 (13:30 +0000)] 
fix leak

12 years agocatch NULLs
Michael Wallner [Mon, 13 Feb 2012 13:30:26 +0000 (13:30 +0000)] 
catch NULLs

12 years agofix crash due to mixed up params order
Michael Wallner [Mon, 13 Feb 2012 13:29:51 +0000 (13:29 +0000)] 
fix crash due to mixed up params order

12 years agofix etag handling
Michael Wallner [Mon, 13 Feb 2012 13:29:16 +0000 (13:29 +0000)] 
fix etag handling

12 years agofix type initialization and leaks; fix prepend
Michael Wallner [Mon, 13 Feb 2012 13:28:36 +0000 (13:28 +0000)] 
fix type initialization and leaks; fix prepend

12 years agofix curl crash on copy
Michael Wallner [Mon, 13 Feb 2012 13:27:46 +0000 (13:27 +0000)] 
fix curl crash on copy

12 years agofix cloning of http\Request; add refcount to resource factory
Michael Wallner [Mon, 13 Feb 2012 13:27:18 +0000 (13:27 +0000)] 
fix cloning of http\Request; add refcount to resource factory

12 years agopersistent handle fixes
Michael Wallner [Mon, 13 Feb 2012 13:26:22 +0000 (13:26 +0000)] 
persistent handle fixes

12 years agoremove that awkward and error prone global request datashare
Michael Wallner [Wed, 1 Feb 2012 09:23:26 +0000 (09:23 +0000)] 
remove that awkward and error prone global request datashare

12 years agoHTTP info test & fixes
Michael Wallner [Wed, 1 Feb 2012 09:21:21 +0000 (09:21 +0000)] 
HTTP info test & fixes

12 years agoquerystring test & fix
Michael Wallner [Wed, 25 Jan 2012 14:41:48 +0000 (14:41 +0000)] 
querystring test & fix

12 years agocookie test & fixes
Michael Wallner [Tue, 24 Jan 2012 16:34:18 +0000 (16:34 +0000)] 
cookie test & fixes

12 years agoreturn the actual zval instead of a string cast as header if join==0
Michael Wallner [Tue, 24 Jan 2012 16:33:49 +0000 (16:33 +0000)] 
return the actual zval instead of a string cast as header if join==0

12 years agomake sure we're not caught by uninitialized values
Michael Wallner [Tue, 24 Jan 2012 16:33:04 +0000 (16:33 +0000)] 
make sure we're not caught by uninitialized values

12 years agoetag test & fixes; set default etag mode for temp streams to crc32(b)
Michael Wallner [Mon, 23 Jan 2012 16:36:58 +0000 (16:36 +0000)] 
etag test & fixes; set default etag mode for temp streams to crc32(b)

12 years agonegotiation test & fixes
Michael Wallner [Mon, 23 Jan 2012 15:18:28 +0000 (15:18 +0000)] 
negotiation test & fixes

12 years agoencoding tests & fixes
Michael Wallner [Mon, 23 Jan 2012 14:14:10 +0000 (14:14 +0000)] 
encoding tests & fixes

12 years agoinitialize with NULL
Michael Wallner [Mon, 23 Jan 2012 14:13:33 +0000 (14:13 +0000)] 
initialize with NULL

12 years agomake place for real release notes; keep a major changes section in the description...
Michael Wallner [Mon, 23 Jan 2012 09:26:27 +0000 (09:26 +0000)] 
make place for real release notes; keep a major changes section in the description for now

12 years agofix bug #60839 php_http_serf.h missing; prepare dev4 release
Michael Wallner [Mon, 23 Jan 2012 09:06:37 +0000 (09:06 +0000)] 
fix bug #60839  php_http_serf.h missing; prepare dev4 release

12 years agofilter tests & fixes
Michael Wallner [Mon, 23 Jan 2012 09:05:46 +0000 (09:05 +0000)] 
filter tests & fixes

12 years agotests & bugfixes
Michael Wallner [Fri, 20 Jan 2012 22:02:26 +0000 (22:02 +0000)] 
tests & bugfixes

12 years agotests
Michael Wallner [Thu, 19 Jan 2012 15:45:55 +0000 (15:45 +0000)] 
tests

12 years agodoh
Michael Wallner [Thu, 19 Jan 2012 13:17:35 +0000 (13:17 +0000)] 
doh

12 years agoreading RFCs educates
Michael Wallner [Thu, 19 Jan 2012 12:08:24 +0000 (12:08 +0000)] 
reading RFCs educates

12 years agofixup http\Message\Body::add() for files where data isset
Michael Wallner [Thu, 19 Jan 2012 11:09:23 +0000 (11:09 +0000)] 
fixup http\Message\Body::add() for files where data isset

12 years agoremodel file adding to accept paths, streams and plain data as upload files
Michael Wallner [Thu, 19 Jan 2012 08:56:36 +0000 (08:56 +0000)] 
remodel file adding to accept paths, streams and plain data as upload files

12 years agoadd http\Url::mod(mixed $new_url[, int flags])
Michael Wallner [Thu, 19 Jan 2012 08:55:12 +0000 (08:55 +0000)] 
add http\Url::mod(mixed $new_url[, int flags])

12 years agobastardize property proxy even more -- sorry that dev3 had been released with debug...
Michael Wallner [Wed, 18 Jan 2012 17:04:54 +0000 (17:04 +0000)] 
bastardize property proxy even more -- sorry that dev3 had been released with debug output

12 years agorelease 2.0.0-dev3
Michael Wallner [Mon, 16 Jan 2012 15:21:25 +0000 (15:21 +0000)] 
release 2.0.0-dev3

12 years agofix arginfo
Michael Wallner [Mon, 16 Jan 2012 14:03:03 +0000 (14:03 +0000)] 
fix arginfo

12 years agofix leak
Michael Wallner [Mon, 16 Jan 2012 14:02:51 +0000 (14:02 +0000)] 
fix leak

12 years agofix http\message\Body::toCallback
Michael Wallner [Sat, 14 Jan 2012 13:59:56 +0000 (13:59 +0000)] 
fix http\message\Body::toCallback

12 years agomake &$this->headers work; &$this->headers["foo"] still doesn't though
Michael Wallner [Sat, 14 Jan 2012 10:55:48 +0000 (10:55 +0000)] 
make &$this->headers work; &$this->headers["foo"] still doesn't though

12 years agojuggle around negotiation stuff
Michael Wallner [Sat, 14 Jan 2012 10:54:42 +0000 (10:54 +0000)] 
juggle around negotiation stuff

12 years agoremove obsolete file
Michael Wallner [Sat, 14 Jan 2012 10:54:04 +0000 (10:54 +0000)] 
remove obsolete file

12 years agoanybody knows what's going on? I can't build with -lcurl anymore...
Michael Wallner [Sat, 14 Jan 2012 10:52:22 +0000 (10:52 +0000)] 
anybody knows what's going on? I can't build with -lcurl anymore...

12 years agoadd stat and etag methods
Michael Wallner [Sat, 14 Jan 2012 10:49:39 +0000 (10:49 +0000)] 
add stat and etag methods

12 years agoditch libneon experiment; it's not a viable path for our usage pattern: handles are...
Michael Wallner [Tue, 10 Jan 2012 17:26:08 +0000 (17:26 +0000)] 
ditch libneon experiment; it's not a viable path for our usage pattern: handles are bound to scheme/host/port, many options cannot be reverted etc...

12 years agoheader cleanups; fix IDE warnings
Michael Wallner [Tue, 10 Jan 2012 14:27:19 +0000 (14:27 +0000)] 
header cleanups; fix IDE warnings

12 years agoheader cleanups and fix some warnings
Michael Wallner [Mon, 9 Jan 2012 17:39:57 +0000 (17:39 +0000)] 
header cleanups and fix some warnings

12 years agoadd missing file
Michael Wallner [Sun, 6 Nov 2011 15:36:28 +0000 (15:36 +0000)] 
add missing file

12 years agono idea why I wrote this... let's see
Michael Wallner [Sun, 6 Nov 2011 15:31:54 +0000 (15:31 +0000)] 
no idea why I wrote this... let's see

12 years agonew cookie list API
Michael Wallner [Sun, 6 Nov 2011 15:31:25 +0000 (15:31 +0000)] 
new cookie list API

12 years agoserf and new params parser
Michael Wallner [Sun, 6 Nov 2011 15:30:53 +0000 (15:30 +0000)] 
serf and new params parser

12 years agoignore the length of an env request header
Michael Wallner [Sun, 6 Nov 2011 15:30:24 +0000 (15:30 +0000)] 
ignore the length of an env request header

12 years agouse the new params parser
Michael Wallner [Sun, 6 Nov 2011 15:29:55 +0000 (15:29 +0000)] 
use the new params parser
fix negotiation
provide the length of an env request header

12 years agouse the new params parser
Michael Wallner [Sun, 6 Nov 2011 15:29:03 +0000 (15:29 +0000)] 
use the new params parser

12 years agouse the new params parser
Michael Wallner [Sun, 6 Nov 2011 15:28:41 +0000 (15:28 +0000)] 
use the new params parser

12 years agonew params parser
Michael Wallner [Sun, 6 Nov 2011 15:28:08 +0000 (15:28 +0000)] 
new params parser

12 years agoalias querystring object to base object
Michael Wallner [Sun, 6 Nov 2011 15:27:02 +0000 (15:27 +0000)] 
alias querystring object to base object

12 years agofix leak
Michael Wallner [Sun, 6 Nov 2011 15:26:38 +0000 (15:26 +0000)] 
fix leak

12 years agofix typo
Michael Wallner [Sun, 6 Nov 2011 15:26:13 +0000 (15:26 +0000)] 
fix typo

12 years agofix typo
Michael Wallner [Sun, 6 Nov 2011 15:25:41 +0000 (15:25 +0000)] 
fix typo

12 years agofix typo
Michael Wallner [Sun, 6 Nov 2011 15:25:24 +0000 (15:25 +0000)] 
fix typo

12 years agofiy typo
Michael Wallner [Sun, 6 Nov 2011 15:24:57 +0000 (15:24 +0000)] 
fiy typo

12 years agofiy typo
Michael Wallner [Sun, 6 Nov 2011 15:24:30 +0000 (15:24 +0000)] 
fiy typo

12 years agobuild and file maintenance
Michael Wallner [Thu, 28 Jul 2011 15:31:52 +0000 (15:31 +0000)] 
build and file maintenance

12 years agouse zend_symtable where appropriate
Michael Wallner [Thu, 28 Jul 2011 11:11:40 +0000 (11:11 +0000)] 
use zend_symtable where appropriate

12 years agofix some warnings
Michael Wallner [Wed, 27 Jul 2011 15:15:10 +0000 (15:15 +0000)] 
fix some warnings

12 years agoremove FluentlyCallable interface
Michael Wallner [Wed, 27 Jul 2011 14:37:46 +0000 (14:37 +0000)] 
remove FluentlyCallable interface

12 years agofix arginfo
Michael Wallner [Wed, 27 Jul 2011 14:04:39 +0000 (14:04 +0000)] 
fix arginfo

12 years agouse userland friendly namespaces
Michael Wallner [Wed, 27 Jul 2011 13:54:56 +0000 (13:54 +0000)] 
use userland friendly namespaces

12 years agothe same here
Michael Wallner [Tue, 26 Jul 2011 06:31:59 +0000 (06:31 +0000)] 
the same here

12 years agofix build
Michael Wallner [Tue, 26 Jul 2011 06:22:51 +0000 (06:22 +0000)] 
fix build

12 years agorelease 2.0.0dev2
Michael Wallner [Tue, 14 Jun 2011 08:14:12 +0000 (08:14 +0000)] 
release 2.0.0dev2

12 years agohttp\Env::parseParams()
Michael Wallner [Tue, 14 Jun 2011 08:12:10 +0000 (08:12 +0000)] 
http\Env::parseParams()
updated php_http_url_encode_hash*()

12 years ago* request message and history
Michael Wallner [Sun, 12 Jun 2011 09:08:17 +0000 (09:08 +0000)] 
* request message and history

12 years agothread safety
Michael Wallner [Sun, 12 Jun 2011 08:14:46 +0000 (08:14 +0000)] 
thread safety

12 years agoseparate php_http_env_response and implement content encoding
Michael Wallner [Fri, 10 Jun 2011 19:00:18 +0000 (19:00 +0000)] 
separate php_http_env_response and implement content encoding

12 years ago* fix parsing mulitple response headers with same name
Michael Wallner [Fri, 3 Jun 2011 08:58:52 +0000 (08:58 +0000)] 
* fix parsing mulitple response headers with same name

12 years ago* do not list inherited constants
Michael Wallner [Fri, 3 Jun 2011 08:38:49 +0000 (08:38 +0000)] 
* do not list inherited constants
* mark optional arguments with "=NULL" instead of wrapping into brackets

12 years agoadd package.xml for dev1 release
Michael Wallner [Thu, 2 Jun 2011 20:01:40 +0000 (20:01 +0000)] 
add package.xml for dev1 release

12 years agofix warnings
Michael Wallner [Thu, 2 Jun 2011 20:01:07 +0000 (20:01 +0000)] 
fix warnings

12 years agofix typo
Michael Wallner [Thu, 2 Jun 2011 20:00:50 +0000 (20:00 +0000)] 
fix typo

12 years agotests
Michael Wallner [Sat, 21 May 2011 15:47:45 +0000 (15:47 +0000)] 
tests

12 years ago* use the resource factory
Michael Wallner [Sat, 21 May 2011 15:46:12 +0000 (15:46 +0000)] 
* use the resource factory
* use the separator where applicable

12 years ago* use the separator where applicable
Michael Wallner [Sat, 21 May 2011 15:43:28 +0000 (15:43 +0000)] 
* use the separator where applicable
* fix typo

12 years ago* constify API
Michael Wallner [Sat, 21 May 2011 15:42:28 +0000 (15:42 +0000)] 
* constify API

12 years ago* use the separator where applicable
Michael Wallner [Sat, 21 May 2011 15:41:48 +0000 (15:41 +0000)] 
* use the separator where applicable
* ditch warning

12 years ago* use the separator where applicable
Michael Wallner [Sat, 21 May 2011 15:38:57 +0000 (15:38 +0000)] 
* use the separator where applicable

12 years ago* use the separator where applicable
Michael Wallner [Sat, 21 May 2011 15:36:18 +0000 (15:36 +0000)] 
* use the separator where applicable

12 years ago* use the separator where applicable
Michael Wallner [Sat, 21 May 2011 15:35:41 +0000 (15:35 +0000)] 
* use the separator where applicable

12 years ago* use the separator where applicable
Michael Wallner [Sat, 21 May 2011 15:33:56 +0000 (15:33 +0000)] 
* use the separator where applicable

12 years ago* use the separator where applicable
Michael Wallner [Sat, 21 May 2011 15:33:12 +0000 (15:33 +0000)] 
* use the separator where applicable

12 years ago* use the separator where applicable
Michael Wallner [Sat, 21 May 2011 15:32:18 +0000 (15:32 +0000)] 
* use the separator where applicable

12 years ago* querystring simplification and fixup
Michael Wallner [Sat, 21 May 2011 15:31:34 +0000 (15:31 +0000)] 
* querystring simplification and fixup

12 years ago* change shutdown order because of resource factory
Michael Wallner [Sat, 21 May 2011 15:30:21 +0000 (15:30 +0000)] 
* change shutdown order because of resource factory

12 years ago* add a resource factory
Michael Wallner [Sat, 21 May 2011 15:26:28 +0000 (15:26 +0000)] 
* add a resource factory

12 years ago* add a real separator vs. a type juggler
Michael Wallner [Sat, 21 May 2011 15:25:40 +0000 (15:25 +0000)] 
* add a real separator vs. a type juggler
* there's only http\Exception, saves a lot of useless exception classes

12 years ago* sizeof(*ptr) instead of sizeof(type)
Michael Wallner [Sat, 21 May 2011 15:23:59 +0000 (15:23 +0000)] 
* sizeof(*ptr) instead of sizeof(type)

13 years agopush a load of changes before holidays
Michael Wallner [Thu, 21 Oct 2010 11:57:55 +0000 (11:57 +0000)] 
push a load of changes before holidays

13 years agoinclude headers where they're actually needed
Michael Wallner [Thu, 9 Sep 2010 12:49:13 +0000 (12:49 +0000)] 
include headers where they're actually needed

13 years agofix uninitialized value
Michael Wallner [Thu, 9 Sep 2010 12:48:53 +0000 (12:48 +0000)] 
fix uninitialized value

13 years agofix typo
Michael Wallner [Thu, 9 Sep 2010 12:47:33 +0000 (12:47 +0000)] 
fix typo

13 years ago* if curl sees a 3xx code, a Location header and a Connection:close header it decides...
Michael Wallner [Thu, 9 Sep 2010 12:47:16 +0000 (12:47 +0000)] 
* if curl sees a 3xx code, a Location header and a Connection:close header it decides not to read the response body.