X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=package.xml;h=d61089d3e2cfd64f4eef605f212a6b08c52db76f;hb=822433ffac320a4639686cac7ec13554b009ad9f;hp=652a161855997bc0a0d5a846c22181fba8dab62c;hpb=fbbde1fd8b8a92c923053a1cb21ba725d7ba5756;p=m6w6%2Fext-http
diff --git a/package.xml b/package.xml
index 652a161..d61089d 100644
--- a/package.xml
+++ b/package.xml
@@ -14,13 +14,16 @@
This HTTP extension aims to provide a convenient and powerful
set of functionality for one of PHPs major applications.
-It eases handling of HTTP urls, dates, redirects, headers and
-messages, provides means for negotiation of clients preferred
+It eases handling of HTTP urls, headers and messages, provides
+means for negotiation of a client's preferred content type,
language and charset, as well as a convenient way to send any
arbitrary data with caching and resuming capabilities.
-It provides powerful request functionality, if built with CURL
-support. Parallel requests are available for PHP 5 and greater.
+It provides powerful request functionality with support for
+parallel requests.
+
+http://devel-m6w6.rhcloud.com/mdref/http
+
]]>
Michael Wallner
@@ -28,299 +31,371 @@ support. Parallel requests are available for PHP 5 and greater.
mike@php.net
yes
- 2010-04-29
+ 2014-12-17
- 1.7.0
- 1.7.0
+ 3.0.0dev
+ 3.0.0
- stable
- stable
+ beta
+ beta
BSD, revised
= 7.19.4)
-* Added postredir request options constants:
- - HTTP_POSTREDIR_301
- - HTTP_POSTREDIR_302
- - HTTP_POSTREDIR_ALL
-* Added authtype request option constant:
- - HTTP_AUTH_DIGEST_IE
-* Added proxytype request option constants:
- - HTTP_PROXY_HTTP_1_0
-* Added request info members:
- - condition_unmet (libcurl >= 7.19.4)
-* Fixed bug #16893 (Content not decoded with zlib support and compress enabled)
-* Fixed bug #17087 (http_build_cookie() exhausts memory if cookie value is NULL)
-* Fixed bug #17169 (Wrong return value of HttpMessage::getHttpVersion())
++ Preliminiary HTTP2 support for http\Client (libcurl with nghttp2 support)
++ Improved performance of HTTP info parser (request/response line)
++ Improved performance of updating client observers
++ Improved performance of http\Env\Response output to streams
++ Improved the error messages of the header parser
++ Added http\Header\Parser class
++ Added http\Client::configure() method accepting an array with the following options for libcurl:
+ . maxconnects (int, size of the connection cache)
+ . max_host_connections (int, max number of connections to a single host, libcurl >= 7.30.0)
+ . max_pipeline_length (int, max number of requests in a pipeline, libcurl >= 7.30.0)
+ . max_total_connections (int, max number of simultaneous open connections of this client, libcurl >= 7.30.0)
+ . pipelining (bool, whether to enable HTTP/1.1 pipelining)
+ . chunk_length_penalty_size (int, chunk length threshold for pipelining, libcurl >= 7.30.0)
+ . content_length_penalty_size (int, size threshold for pipelining, libcurl >= 7.30.0)
+ . pipelining_server_bl (array, list of server software names to blacklist for pipelining, libcurl >= 7.30.0)
+ . pipelining_site_bl (array, list of server host names to blacklist for pipelining, libcurl >= 7.30.0)
+ . use_eventloop (bool, whether to use libevent, libcurl+libevent)
++ Added http\Client::getAvailableOptions() and http\Client::getAvailableConfiguration() methods
++ Added support for HTTP2 if libcurl was built with nghttp2 support.
++ Added http\Client\Curl\HTTP_VERSION_2_0 constant (libcurl >= 7.33.0)
++ Added http\Client\Curl\TLS_AUTH_SRP constant (libcurl >= 7.21.4)
++ Added pinned_publickey SSL request option (libcurl >= 7.39.0)
++ Added tlsauthtype, tlsauthuser and tlsauthpass SSL request option (libcurl >= 7.21.4)
++ Added verifystatus (a.k.a OCSP) SSL request option (libcurl >= 7.41.0)
++ Added proxyheader request option (libcurl >= 7.37.0)
++ Added unix_socket_path request option (libcurl >= 7.40.0)
+* Fixed compress request option
+* Fixed parsing authorities of CONNECT messages
+* Fixed parsing Content-Range messages
+* Fixed http\Env\Response to default to chunked encoding over streams
+* Fixed superfluous output of Content-Length:0 headers
+* Fixed persistent easy handles to be only created for persistent multi handles
+* Fixed the header parser to accept not-yet-complete header lines
+* Fixed http\Message::toStream() crash in ZTS mode
+* Fixed the message stream parser to handle intermediary data bigger than 4k
+* Fixed the message stream parser to handle single header lines without EOL
+* Fixed http\Message\Body to not generate stat based etags for temporary streams
+- Deprecated http\Client::enablePipelining(), use http\Client::configure(["pipelining" => true]) instead
+- Deprecated http\Client::enableEvents(), use http\Client::configure(["use_eventloop" => true]) instead
+- Removed the cookies entry from the transfer info, wich was very slow and generated a Netscape formatted list of cookies
+- Changed the header parser to reject illegal characters
]]>
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- 4.3
- 6.0.0
- 6.0.0
+ 5.3.0
1.4.1
+
+ raphf
+ pecl.php.net
+ 1.0.0
+ raphf
+
+
+ propro
+ pecl.php.net
+ 1.0.0
+ propro
+
- spl
- session
hash
iconv
+ json
http
-
+ name="with-http-zlib-dir"
+ prompt="where to find zlib"
+ default="/usr" />
+ name="with-http-libcurl-dir"
+ prompt="where to find libcurl"
+ default="/usr" />
-
-
-
-
-
-
-
-
-
+ name="with-http-libevent-dir"
+ prompt="where to find libevent"
+ default="/usr" />