m6w6/ext-http
6 years agoMerge branch 'R_2_0'
Michael Wallner [Wed, 9 Jul 2014 13:34:50 +0000 (15:34 +0200)] 
Merge branch 'R_2_0'

6 years ago.gitignore
Michael Wallner [Wed, 9 Jul 2014 13:34:42 +0000 (15:34 +0200)] 
.gitignore

6 years agoadd missing define
Michael Wallner [Wed, 9 Jul 2014 13:32:47 +0000 (15:32 +0200)] 
add missing define

6 years agoMerge branch 'R_2_0'
Michael Wallner [Wed, 9 Jul 2014 12:41:03 +0000 (14:41 +0200)] 
Merge branch 'R_2_0'

6 years agofix gc issue with json post
Michael Wallner [Wed, 9 Jul 2014 12:37:27 +0000 (14:37 +0200)] 
fix gc issue with json post

6 years agofix refcount issue with env request body
Michael Wallner [Wed, 9 Jul 2014 12:11:20 +0000 (14:11 +0200)] 
fix refcount issue with env request body

6 years agofix refcount issue with message bodies
Michael Wallner [Wed, 9 Jul 2014 11:58:22 +0000 (13:58 +0200)] 
fix refcount issue with message bodies

6 years agofix use after free if the closure returns true
Michael Wallner [Wed, 9 Jul 2014 09:15:47 +0000 (11:15 +0200)] 
fix use after free if the closure returns true

6 years agofixup testsuite for new remote endpoint
Michael Wallner [Wed, 9 Jul 2014 09:15:00 +0000 (11:15 +0200)] 
fixup testsuite for new remote endpoint
and  honor  SKIP_ONLINE_TESTS

6 years agoMerge branch 'R_2_0'
Michael Wallner [Tue, 8 Jul 2014 10:14:04 +0000 (12:14 +0200)] 
Merge branch 'R_2_0'

6 years agoensure the response message is actually of type response
Michael Wallner [Tue, 8 Jul 2014 10:11:29 +0000 (12:11 +0200)] 
ensure the response message is actually of type response

it could be uninitialized in case of early error, like DNS
fixes bug #67584

6 years agofix ZTS
Michael Wallner [Thu, 24 Apr 2014 09:22:46 +0000 (11:22 +0200)] 
fix ZTS

6 years agoMerge branch 'R_2_0'
Michael Wallner [Thu, 24 Apr 2014 09:17:14 +0000 (11:17 +0200)] 
Merge branch 'R_2_0'

6 years ago2.0.6 RELEASE_2_0_6
Michael Wallner [Thu, 24 Apr 2014 09:16:54 +0000 (11:16 +0200)] 
2.0.6

6 years agoMerge branch 'R_2_0'
Michael Wallner [Thu, 24 Apr 2014 09:06:19 +0000 (11:06 +0200)] 
Merge branch 'R_2_0'

6 years agoreset the content length when the body was reset
Michael Wallner [Thu, 24 Apr 2014 09:01:27 +0000 (11:01 +0200)] 
reset the content length when the body was reset

6 years agoMerge branch 'R_2_0'
Michael Wallner [Tue, 22 Apr 2014 10:18:44 +0000 (12:18 +0200)] 
Merge branch 'R_2_0'

6 years agofix JSON POST handler in PHP-5.6+
Michael Wallner [Tue, 22 Apr 2014 09:58:06 +0000 (11:58 +0200)] 
fix JSON POST handler in PHP-5.6+

6 years agofix warning
Michael Wallner [Tue, 22 Apr 2014 09:57:36 +0000 (11:57 +0200)] 
fix warning

6 years agofix bug #67089 Segmentation fault (TSRM)
Michael Wallner [Tue, 22 Apr 2014 09:56:23 +0000 (11:56 +0200)] 
fix bug #67089  Segmentation fault (TSRM)

6 years agoMerge branch 'R_2_0'
Michael Wallner [Thu, 17 Apr 2014 10:25:57 +0000 (12:25 +0200)] 
Merge branch 'R_2_0'

6 years agotest fix
Michael Wallner [Wed, 16 Apr 2014 18:23:49 +0000 (20:23 +0200)] 
test fix

6 years agofix tests
Michael Wallner [Wed, 16 Apr 2014 18:12:18 +0000 (20:12 +0200)] 
fix tests

6 years agofix warning on extra argument to Countable::count(), fix zend_is_true
Michael Wallner [Wed, 16 Apr 2014 18:10:53 +0000 (20:10 +0200)] 
fix warning on extra argument to Countable::count(), fix zend_is_true

6 years agofix assertion fail on zend_hash_quick_update
Michael Wallner [Wed, 16 Apr 2014 18:06:50 +0000 (20:06 +0200)] 
fix assertion fail on zend_hash_quick_update

6 years agocatch "uploaded" state
Michael Wallner [Wed, 16 Apr 2014 18:05:23 +0000 (20:05 +0200)] 
catch "uploaded" state

6 years agotypo
Michael Wallner [Fri, 4 Apr 2014 12:14:43 +0000 (14:14 +0200)] 
typo

6 years agoMerge branch 'R_2_0'
Michael Wallner [Fri, 4 Apr 2014 12:14:24 +0000 (14:14 +0200)] 
Merge branch 'R_2_0'

Conflicts:
php_http.h

6 years agoback to dev
Michael Wallner [Fri, 4 Apr 2014 12:13:26 +0000 (14:13 +0200)] 
back to dev

6 years agomerge php_http.h with touch
Michael Wallner [Fri, 4 Apr 2014 12:12:05 +0000 (14:12 +0200)] 
merge php_http.h with touch

6 years agoMerge branch 'R_2_0'
Michael Wallner [Fri, 4 Apr 2014 12:05:55 +0000 (14:05 +0200)] 
Merge branch 'R_2_0'

Conflicts:
php_http.h

6 years agorelease 2.0.5 RELEASE_2_0_5
Michael Wallner [Fri, 4 Apr 2014 12:03:31 +0000 (14:03 +0200)] 
release 2.0.5

6 years agogitattributes
Michael Wallner [Fri, 17 Jan 2014 15:37:56 +0000 (16:37 +0100)] 
gitattributes

6 years agofix test
Michael Wallner [Fri, 17 Jan 2014 15:37:46 +0000 (16:37 +0100)] 
fix test

6 years agoMerge branch 'R_2_0'
Michael Wallner [Fri, 17 Jan 2014 15:08:09 +0000 (16:08 +0100)] 
Merge branch 'R_2_0'

6 years agoFix a rare crash with unitialized CURLOPT_HTTPHEADER
Michael Wallner [Fri, 17 Jan 2014 14:41:02 +0000 (15:41 +0100)] 
Fix a rare crash with unitialized CURLOPT_HTTPHEADER

6 years agolet the build with external libs work
Michael Wallner [Fri, 17 Jan 2014 14:32:46 +0000 (15:32 +0100)] 
let the build with external libs work

not sure what all that cruft was about; where are the comments!?

6 years agoproper character escaping
Michael Wallner [Fri, 17 Jan 2014 14:31:53 +0000 (15:31 +0100)] 
proper character escaping

6 years agofix regression
Michael Wallner [Thu, 16 Jan 2014 22:49:28 +0000 (23:49 +0100)] 
fix regression

6 years ago2.1.0dev
Michael Wallner [Thu, 16 Jan 2014 21:19:15 +0000 (22:19 +0100)] 
2.1.0dev

6 years agoadd tests
Michael Wallner [Thu, 16 Jan 2014 21:11:10 +0000 (22:11 +0100)] 
add tests

6 years agocompleted rfc5987 support
Michael Wallner [Thu, 16 Jan 2014 21:10:55 +0000 (22:10 +0100)] 
completed rfc5987 support

6 years agofix skipif
Michael Wallner [Thu, 16 Jan 2014 21:10:10 +0000 (22:10 +0100)] 
fix skipif

6 years agorfc5987 support
Michael Wallner [Thu, 16 Jan 2014 15:20:54 +0000 (16:20 +0100)] 
rfc5987 support

6 years agorfc5987 preparations
Michael Wallner [Wed, 15 Jan 2014 10:09:02 +0000 (11:09 +0100)] 
rfc5987 preparations

6 years agofix SKIPIF
Michael Wallner [Fri, 3 Jan 2014 12:28:46 +0000 (13:28 +0100)] 
fix SKIPIF

6 years agodev
Michael Wallner [Fri, 3 Jan 2014 12:28:25 +0000 (13:28 +0100)] 
dev

6 years agoFix build with -Werror=format-security
Remi Collet [Thu, 2 Jan 2014 16:19:18 +0000 (17:19 +0100)] 
Fix build with -Werror=format-security

6 years agorelease 2.0.4 RELEASE_2_0_4
Michael Wallner [Thu, 2 Jan 2014 15:09:55 +0000 (16:09 +0100)] 
release 2.0.4

6 years agobump year
Michael Wallner [Thu, 2 Jan 2014 15:07:59 +0000 (16:07 +0100)] 
bump year

6 years agofix bug #66388 (Crash on POST with Content-Length:0 and untouched body)
Michael Wallner [Thu, 2 Jan 2014 15:03:59 +0000 (16:03 +0100)] 
fix bug #66388 (Crash on POST with Content-Length:0 and untouched body)

6 years agoremove pecl/event conflict
Michael Wallner [Tue, 10 Dec 2013 09:29:51 +0000 (10:29 +0100)] 
remove pecl/event conflict

6 years agofix typo; wtf? RELEASE_2_0_3
Michael Wallner [Tue, 10 Dec 2013 08:54:34 +0000 (09:54 +0100)] 
fix typo; wtf?

6 years agofix description RELEASE_2_0_2
Michael Wallner [Tue, 10 Dec 2013 08:41:17 +0000 (09:41 +0100)] 
fix description

6 years agoFixed bug #66250 (shutdown crash as shared extension)
Michael Wallner [Tue, 10 Dec 2013 08:38:43 +0000 (09:38 +0100)] 
Fixed bug #66250 (shutdown crash as shared extension)

the curl clients MSHUTDOWN was missing an raphf cleanup call

6 years agorelease 2.0.1 RELEASE_2_0_1
Michael Wallner [Tue, 26 Nov 2013 10:42:26 +0000 (11:42 +0100)] 
release 2.0.1

6 years agofix ws
Michael Wallner [Tue, 26 Nov 2013 10:34:23 +0000 (11:34 +0100)] 
fix ws

6 years agofixed a bug with multiple ob_start() on http\Env\Response while replacing it's body
Michael Wallner [Mon, 25 Nov 2013 22:01:23 +0000 (23:01 +0100)] 
fixed a bug with multiple ob_start() on http\Env\Response while replacing it's body

6 years agofixed some tests for windows
Anatoliy Belsky [Sat, 23 Nov 2013 10:15:56 +0000 (10:15 +0000)] 
fixed some tests for windows

6 years agofixed event2 headers inclusion once more
Anatoliy Belsky [Sat, 23 Nov 2013 09:39:13 +0000 (09:39 +0000)] 
fixed event2 headers inclusion once more

6 years agofixed ZTS
Anatoliy Belsky [Sat, 23 Nov 2013 09:38:01 +0000 (09:38 +0000)] 
fixed ZTS

6 years agofix headers again, avoid header clashing including event2/*.h
Anatoliy Belsky [Sat, 23 Nov 2013 08:38:45 +0000 (08:38 +0000)] 
fix headers again, avoid header clashing including event2/*.h

6 years agoadded missing header in order struct event could be used as non pointer
Anatoliy Belsky [Fri, 22 Nov 2013 22:43:45 +0000 (22:43 +0000)] 
added missing header in order struct event could be used as non pointer

6 years agoattempt to fix windows build
Michael Wallner [Fri, 22 Nov 2013 10:42:42 +0000 (10:42 +0000)] 
attempt to fix windows build

6 years ago2.0.0 stable
Michael Wallner [Fri, 22 Nov 2013 09:55:49 +0000 (09:55 +0000)] 
2.0.0 stable

6 years agofix tests with short_open_tags off
Michael Wallner [Fri, 22 Nov 2013 09:26:12 +0000 (09:26 +0000)] 
fix tests with short_open_tags off

6 years agolet DEV_2 be trunk
Michael Wallner [Thu, 21 Nov 2013 10:25:13 +0000 (10:25 +0000)] 
let DEV_2 be trunk

6 years agorm
Michael Wallner [Thu, 21 Nov 2013 08:51:07 +0000 (08:51 +0000)] 
rm

6 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

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

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

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

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

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

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

6 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

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

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

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

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

6 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

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

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

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

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

7 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

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

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

7 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

7 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

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

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

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

7 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

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

7 years agorelease 1.7.6
Michael Wallner [Thu, 20 Jun 2013 13:20:43 +0000 (13:20 +0000)] 
release 1.7.6

7 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

7 years agofix php 5.4 build
Remi Collet [Mon, 22 Apr 2013 17:58:30 +0000 (17:58 +0000)] 
fix php 5.4 build

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

7 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