Michael Wallner [Thu, 12 Feb 2015 12:21:50 +0000 (13:21 +0100)]
add http\Client::getAvailable{Options,Configuration}()
Michael Wallner [Thu, 12 Feb 2015 10:14:31 +0000 (11:14 +0100)]
don't create persistent easy handles for non-persistent multi handles
Michael Wallner [Thu, 12 Feb 2015 10:14:04 +0000 (11:14 +0100)]
yep, moved there. ugh
Michael Wallner [Thu, 12 Feb 2015 10:13:37 +0000 (11:13 +0100)]
moved
Michael Wallner [Thu, 12 Feb 2015 10:12:42 +0000 (11:12 +0100)]
reorder
Michael Wallner [Wed, 11 Feb 2015 15:11:46 +0000 (16:11 +0100)]
reduce count of online tests
Michael Wallner [Wed, 11 Feb 2015 11:12:26 +0000 (12:12 +0100)]
add pipelining test
Michael Wallner [Wed, 11 Feb 2015 09:42:34 +0000 (10:42 +0100)]
no Content-Length on CONNECT responses
Michael Wallner [Wed, 11 Feb 2015 09:42:25 +0000 (10:42 +0100)]
typo
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()
Michael Wallner [Sat, 7 Feb 2015 11:30:04 +0000 (12:30 +0100)]
Merge branch 'R_2_2'
Michael Wallner [Sat, 7 Feb 2015 11:29:47 +0000 (12:29 +0100)]
back to dev
Michael Wallner [Sat, 7 Feb 2015 11:25:56 +0000 (12:25 +0100)]
fix assertion
Michael Wallner [Sat, 7 Feb 2015 11:20:10 +0000 (12:20 +0100)]
Fixed Bug #69000 (http\Url breaks down with very long URL query strings)
Michael Wallner [Fri, 6 Feb 2015 14:32:57 +0000 (15:32 +0100)]
optimize frequent method calls
Michael Wallner [Fri, 6 Feb 2015 11:21:03 +0000 (12:21 +0100)]
remove cookies from transfer-info
it's only in netscape format and awfully slow anyway
Michael Wallner [Fri, 6 Feb 2015 11:13:19 +0000 (12:13 +0100)]
reduce cost of parsing http start line
Michael Wallner [Fri, 6 Feb 2015 11:00:40 +0000 (12:00 +0100)]
unix_socket_path request option
Michael Wallner [Thu, 5 Feb 2015 16:03:19 +0000 (17:03 +0100)]
switch from the deprecated ioctl to the seek function
Michael Wallner [Thu, 5 Feb 2015 15:26:43 +0000 (16:26 +0100)]
add test
Michael Wallner [Thu, 5 Feb 2015 15:26:19 +0000 (16:26 +0100)]
ensure options are applied before the headers are set
Michael Wallner [Thu, 5 Feb 2015 15:25:27 +0000 (16:25 +0100)]
since we use the curl write handler we can use curl's decoder
Michael Wallner [Thu, 5 Feb 2015 14:49:33 +0000 (15:49 +0100)]
verifystatus SSL request option support (OCSP)
Michael Wallner [Thu, 5 Feb 2015 14:22:17 +0000 (15:22 +0100)]
tlsauth SSL request option support
Michael Wallner [Thu, 5 Feb 2015 12:03:02 +0000 (13:03 +0100)]
implement restrictions on TE
Michael Wallner [Thu, 5 Feb 2015 10:18:19 +0000 (11:18 +0100)]
CURLOPT_PROXYHEADER support; default chunked encoding for stream
responses
Michael Wallner [Thu, 5 Feb 2015 10:17:16 +0000 (11:17 +0100)]
use url authority parser for CONNECT messages
Michael Wallner [Thu, 5 Feb 2015 10:16:25 +0000 (11:16 +0100)]
add authority parsing
Michael Wallner [Wed, 4 Feb 2015 14:10:53 +0000 (15:10 +0100)]
add CURLOPT_PINNEDPUBLICKEY
Michael Wallner [Wed, 4 Feb 2015 14:05:19 +0000 (15:05 +0100)]
administrativa
Michael Wallner [Wed, 4 Feb 2015 10:54:36 +0000 (11:54 +0100)]
update expectations how history requests look like
Michael Wallner [Wed, 4 Feb 2015 09:06:38 +0000 (10:06 +0100)]
fix curl compile checks
Michael Wallner [Wed, 4 Feb 2015 09:06:34 +0000 (10:06 +0100)]
check for HTTP2 support
Michael Wallner [Tue, 3 Feb 2015 19:09:38 +0000 (20:09 +0100)]
update response headers
Michael Wallner [Tue, 3 Feb 2015 14:35:15 +0000 (15:35 +0100)]
POC for HTTP2 support
Michael Wallner [Tue, 27 Jan 2015 03:35:58 +0000 (04:35 +0100)]
back to dev
Michael Wallner [Tue, 27 Jan 2015 03:27:56 +0000 (04:27 +0100)]
2.2.0
Michael Wallner [Wed, 12 Nov 2014 13:45:15 +0000 (14:45 +0100)]
back to dev
Michael Wallner [Wed, 12 Nov 2014 13:42:47 +0000 (14:42 +0100)]
prepare 2.2.0RC1
Michael Wallner [Wed, 12 Nov 2014 08:47:52 +0000 (09:47 +0100)]
update test
Michael Wallner [Wed, 12 Nov 2014 08:45:07 +0000 (09:45 +0100)]
add http\Env\Request::getCookie()
Michael Wallner [Wed, 12 Nov 2014 08:44:59 +0000 (09:44 +0100)]
fix title
Michael Wallner [Wed, 12 Nov 2014 07:52:08 +0000 (08:52 +0100)]
--url
Michael Wallner [Tue, 11 Nov 2014 19:24:19 +0000 (20:24 +0100)]
add http\Env\Response::setCookie()
Michael Wallner [Fri, 7 Nov 2014 19:37:07 +0000 (20:37 +0100)]
don't abuse STR_FREE; ditch http\Url::parse(); fix tests
Michael Wallner [Fri, 7 Nov 2014 12:16:16 +0000 (13:16 +0100)]
ditch php_url
Remi Collet [Fri, 7 Nov 2014 06:58:12 +0000 (07:58 +0100)]
typo
Remi Collet [Fri, 7 Nov 2014 06:55:46 +0000 (07:55 +0100)]
Merge branch 'master' of git.php.net:/pecl/http/pecl_http
* 'master' of git.php.net:/pecl/http/pecl_http: (31 commits)
use our url parser
back to dev
prepare 2.1.4
Fixed bug #66891 (Unexpected HTTP 401 after NTLM authentication)
Fixed bug #68149 (duplicate content-length with libcurl < 7.23)
Fixed bug #68353 (QsoSSL support removed in libcurl 7.39)
fix long/int mismatch
update missing tests
test ::PARSE_TOPCT
strip comments
prepare for using all constants together
simplify
separate url and parser state
fix edge cases with @
brain wrecked
more explicit constant names
path should be forgotten
fix query&fragment; add pctenc parser option
simplify
update
...
Michael Wallner [Thu, 6 Nov 2014 22:51:02 +0000 (23:51 +0100)]
use our url parser
Michael Wallner [Thu, 6 Nov 2014 17:48:27 +0000 (18:48 +0100)]
Merge branch 'R_2_1'
Michael Wallner [Thu, 6 Nov 2014 17:47:08 +0000 (18:47 +0100)]
back to dev
Michael Wallner [Thu, 6 Nov 2014 17:45:57 +0000 (18:45 +0100)]
prepare 2.1.4
Michael Wallner [Thu, 6 Nov 2014 15:23:38 +0000 (16:23 +0100)]
Merge branch 'R_2_1'
Michael Wallner [Thu, 6 Nov 2014 15:22:18 +0000 (16:22 +0100)]
Fixed bug #66891 (Unexpected HTTP 401 after NTLM authentication)
If you set a "WWW-Authenticate" header PHP automatically issues a 401.
http\Env\Response slurps any set headers and re-sends it after sending
the status code, so that PHP might be resetting the status code to 401
because it sees again an WWW-Authenticate header.
Send the status code after any headers to avoid this issue.
Michael Wallner [Thu, 6 Nov 2014 12:07:15 +0000 (13:07 +0100)]
Merge branch 'R_2_1'
Michael Wallner [Thu, 6 Nov 2014 12:06:45 +0000 (13:06 +0100)]
Fixed bug #68149 (duplicate content-length with libcurl < 7.23)
Michael Wallner [Thu, 6 Nov 2014 10:13:32 +0000 (11:13 +0100)]
Merge branch 'R_2_1'
Michael Wallner [Thu, 6 Nov 2014 10:13:04 +0000 (11:13 +0100)]
Fixed bug #68353 (QsoSSL support removed in libcurl 7.39)
Michael Wallner [Thu, 6 Nov 2014 08:15:32 +0000 (09:15 +0100)]
Merge branch 'R_2_1'
Michael Wallner [Sun, 2 Nov 2014 20:02:31 +0000 (21:02 +0100)]
fix long/int mismatch
Michael Wallner [Wed, 5 Nov 2014 14:43:29 +0000 (15:43 +0100)]
update missing tests
Michael Wallner [Wed, 5 Nov 2014 14:32:00 +0000 (15:32 +0100)]
test ::PARSE_TOPCT
Michael Wallner [Wed, 5 Nov 2014 13:37:35 +0000 (14:37 +0100)]
strip comments
Michael Wallner [Tue, 4 Nov 2014 19:15:20 +0000 (20:15 +0100)]
prepare for using all constants together
Michael Wallner [Tue, 4 Nov 2014 19:15:02 +0000 (20:15 +0100)]
simplify
Michael Wallner [Sun, 2 Nov 2014 17:21:26 +0000 (18:21 +0100)]
separate url and parser state
Michael Wallner [Fri, 31 Oct 2014 14:03:11 +0000 (15:03 +0100)]
fix edge cases with @
Michael Wallner [Thu, 30 Oct 2014 17:54:02 +0000 (18:54 +0100)]
brain wrecked
Michael Wallner [Thu, 30 Oct 2014 16:26:25 +0000 (17:26 +0100)]
more explicit constant names
Michael Wallner [Thu, 30 Oct 2014 16:22:43 +0000 (17:22 +0100)]
path should be forgotten
Michael Wallner [Thu, 30 Oct 2014 16:20:32 +0000 (17:20 +0100)]
fix query&fragment; add pctenc parser option
Michael Wallner [Thu, 30 Oct 2014 15:36:59 +0000 (16:36 +0100)]
simplify
Michael Wallner [Wed, 29 Oct 2014 07:54:49 +0000 (08:54 +0100)]
update
Michael Wallner [Tue, 28 Oct 2014 15:45:30 +0000 (16:45 +0100)]
update
Michael Wallner [Mon, 27 Oct 2014 19:39:37 +0000 (20:39 +0100)]
experimental urlparser
Michael Wallner [Sun, 2 Nov 2014 20:02:31 +0000 (21:02 +0100)]
fix long/int mismatch
Michael Wallner [Wed, 22 Oct 2014 14:19:23 +0000 (16:19 +0200)]
don't enable this for debug builds
Michael Wallner [Wed, 22 Oct 2014 13:39:36 +0000 (15:39 +0200)]
let the parser handle non-blocking streams
Michael Wallner [Thu, 16 Oct 2014 15:53:14 +0000 (17:53 +0200)]
no need to "cache" the request TS for a long time now
Michael Wallner [Thu, 16 Oct 2014 15:36:47 +0000 (17:36 +0200)]
cleanup
Michael Wallner [Thu, 16 Oct 2014 07:20:05 +0000 (09:20 +0200)]
Merge branch 'R_2_1'
Michael Wallner [Thu, 16 Oct 2014 07:18:48 +0000 (09:18 +0200)]
back to dev
Michael Wallner [Thu, 16 Oct 2014 07:17:01 +0000 (09:17 +0200)]
remove default configure option
Michael Wallner [Thu, 16 Oct 2014 07:16:14 +0000 (09:16 +0200)]
prepare 2.1.3
Michael Wallner [Thu, 25 Sep 2014 13:35:31 +0000 (15:35 +0200)]
Merge branch 'R_2_1'
Michael Wallner [Thu, 25 Sep 2014 13:34:56 +0000 (15:34 +0200)]
add test for bug67932
Remi Collet [Thu, 25 Sep 2014 13:09:00 +0000 (15:09 +0200)]
Merge branch 'R_2_1'
* R_2_1:
Fix build with curl < 7.26
Remi Collet [Thu, 25 Sep 2014 08:16:51 +0000 (10:16 +0200)]
Fix build with curl < 7.26
$ grep "define CURL_REDIR_POST_30" curl-7.2*/include/curl/curl.h
curl-7.25.0/include/curl/curl.h:#define CURL_REDIR_POST_301 1
curl-7.25.0/include/curl/curl.h:#define CURL_REDIR_POST_302 2
curl-7.26.0/include/curl/curl.h:#define CURL_REDIR_POST_301 1
curl-7.26.0/include/curl/curl.h:#define CURL_REDIR_POST_302 2
curl-7.26.0/include/curl/curl.h:#define CURL_REDIR_POST_303 4
Remi Collet [Thu, 25 Sep 2014 08:09:03 +0000 (10:09 +0200)]
Merge branch 'master' of git.php.net:/pecl/http/pecl_http
* 'master' of git.php.net:/pecl/http/pecl_http:
back to dev
release 2.1.2
administrativa
Fix bug #68083 PUT method not working after DELETE
add missing option constants
Fix bug #68000 Extension does not build on FreeBSD
Fixed bug #68009
back to dev
fix version in header
prepare 2.1.1
fix warning
fix httpVersion retrieval on bigendian
fix etag/crc32b on bigendian
skip this test for offline build
add test for client's once & wait with events
Made client's once & wait methods availabel when using events
Michael Wallner [Thu, 25 Sep 2014 07:30:38 +0000 (09:30 +0200)]
Merge branch 'R_2_1'
Michael Wallner [Thu, 25 Sep 2014 07:30:30 +0000 (09:30 +0200)]
back to dev
Michael Wallner [Thu, 25 Sep 2014 07:29:05 +0000 (09:29 +0200)]
Merge branch 'R_2_1'
Michael Wallner [Thu, 25 Sep 2014 07:26:46 +0000 (09:26 +0200)]
release 2.1.2
Michael Wallner [Thu, 25 Sep 2014 07:23:34 +0000 (09:23 +0200)]
Merge branch 'R_2_1'
Michael Wallner [Thu, 25 Sep 2014 07:22:04 +0000 (09:22 +0200)]
administrativa
Michael Wallner [Thu, 25 Sep 2014 07:17:42 +0000 (09:17 +0200)]
Fix bug #68083 PUT method not working after DELETE
properly reset curl's request method bits
Michael Wallner [Tue, 16 Sep 2014 11:15:37 +0000 (13:15 +0200)]
add missing option constants
AUTH_SPNEGO, new in 7.38
SSL_VERSION_TLSv1_{0,1,2}, added in 7.34
POSTREDIR_303, missed that one somehow
Michael Wallner [Mon, 15 Sep 2014 12:18:14 +0000 (14:18 +0200)]
Merge branch 'R_2_1'
Michael Wallner [Mon, 15 Sep 2014 11:56:29 +0000 (13:56 +0200)]
Fix bug #68000 Extension does not build on FreeBSD
Michael Wallner [Mon, 15 Sep 2014 11:51:03 +0000 (13:51 +0200)]
Fixed bug #68009
the progress handler fired while in the mid of executor shutdown