X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=package.xml;h=5d810686e988f6515905192eee308119a4924ff4;hb=6591399adf9362a279ef9622181f04398760c3e2;hp=4266aa66d8040db2b9268f0f5789fe8ba6c996d8;hpb=1ff52a3e07565d94dab3eccb485aba28c0d10b84;p=m6w6%2Fext-http diff --git a/package.xml b/package.xml index 4266aa6..06278bf 100644 --- a/package.xml +++ b/package.xml @@ -14,13 +14,22 @@ 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. + +Documentation: +v1: http://php.net/http +v2: http://devel-m6w6.rhcloud.com/mdref/http + +Code Coverage: +v1: http://dev.iworks.at/ext-http/lcov_html/ext/http/ +v2: http://dev.iworks.at/ext-http/lcov/ext/http/ + ]]> Michael Wallner @@ -28,299 +37,378 @@ support. Parallel requests are available for PHP 5 and greater. mike@php.net yes - 2010-06-09 + 2015-03-01 - 1.7.0 - 1.7.0 + 2.3.0 + 2.3.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 + +Changes from RC1: +* Fixed a shutdown crash with chunked encoded stream responses ]]> + - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - 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" />