Merge branch 'R_2_5' [ci skip]
[m6w6/ext-http] / package.xml
index d97a99f16c9e04470602746abc3f38196c7ef2c9..d61089d3e2cfd64f4eef605f212a6b08c52db76f 100644 (file)
@@ -22,12 +22,8 @@ arbitrary data with caching and resuming capabilities.
 It provides powerful request functionality with support for
 parallel requests.
 
-Documentation:
 http://devel-m6w6.rhcloud.com/mdref/http
 
-Code Coverage:
-http://dev.iworks.at/ext-http/lcov/ext/http/
-
 ]]></description>
  <lead>
   <name>Michael Wallner</name>
@@ -35,25 +31,58 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2015-07-28</date>
+ <date>2014-12-17</date>
  <version>
-  <release>2.5.1</release>
-  <api>2.5.0</api>
+  <release>3.0.0dev</release>
+  <api>3.0.0</api>
  </version>
  <stability>
-  <release>stable</release>
-  <api>stable</api>
+  <release>beta</release>
+  <api>beta</api>
  </stability>
  <license>BSD, revised</license>
  <notes><![CDATA[
-* Fixed VC11 build (Jan Erhardt)
-* Fixed gh-issue #2: comparison of obsolete pointers in the header parser (xiaoyjy)
-* Fixed gh-issue #6: allow RFC1738 unsafe characters in query/fragment
-* Fixed gh-issue #7: crash with querystring and exception from error handler
-+ SSL certinfo is available for libcurl >= 7.42 with gnutls (openssl has already been since 7.19.1)
-+ Added "falsestart" SSL request option (available with libcurl >= 7.42 and darwinssl/NSS)
-+ Added "service_name" and "proxy_service_name" request options for SPNEGO (available with libcurl >= 7.43)
-+ Enabled "certinfo" transfer info on all supporting SSL backends (OpenSSL: libcurl v7.19.1, NSS: libcurl v7.34.0, GSKit: libcurl v7.39.0, GnuTLS: libcurl v7.42.0)
++ 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
 ]]></notes>
  <contents>
   <dir name="/">
@@ -141,13 +170,11 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
      </dir>
      <dir name="helper">
       <file role="test" name="cookie.inc"/>
-      <file role="test" name="dump.inc"/>
       <file role="test" name="http2.crt"/>
       <file role="test" name="http2.key"/>
       <file role="test" name="pipeline.inc"/>
       <file role="test" name="proxy.inc"/>
       <file role="test" name="server.inc"/>
-      <file role="test" name="upload.inc"/>
       <dir name="html">
        <file role="test" name="index.html"/>
       </dir>
@@ -157,9 +184,6 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
      <file role="test" name="bug66891.phpt"/>
      <file role="test" name="bug67932.phpt"/>
      <file role="test" name="bug69000.phpt"/>
-     <file role="test" name="bug69076.phpt"/>
-     <file role="test" name="bug69313.phpt"/>
-     <file role="test" name="bug69357.phpt"/>
      <file role="test" name="client001.phpt"/>
      <file role="test" name="client002.phpt"/>
      <file role="test" name="client003.phpt"/>
@@ -248,8 +272,6 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
      <file role="test" name="etag001.phpt"/>
      <file role="test" name="filterchunked.phpt"/>
      <file role="test" name="filterzlib.phpt"/>
-     <file role="test" name="gh-issue6.phpt"/>
-     <file role="test" name="gh-issue7.phpt"/>
      <file role="test" name="header001.phpt"/>
      <file role="test" name="header002.phpt"/>
      <file role="test" name="header003.phpt"/>
@@ -308,13 +330,10 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
      <file role="test" name="params013.phpt"/>
      <file role="test" name="params014.phpt"/>
      <file role="test" name="params015.phpt"/>
-     <file role="test" name="params016.phpt"/>
-     <file role="test" name="params017.phpt"/>
      <file role="test" name="phpinfo.phpt"/>
      <file role="test" name="propertyproxy001.phpt"/>
      <file role="test" name="querystring001.phpt"/>
      <file role="test" name="querystring002.phpt"/>
-     <file role="test" name="querystring003.phpt"/>
      <file role="test" name="serialize001.phpt"/>
      <file role="test" name="url001.phpt"/>
      <file role="test" name="url002.phpt"/>
@@ -340,8 +359,6 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
   <required>
    <php>
     <min>5.3.0</min>
-    <max>7.0.0</max>
-       <exclude>7.0.0</exclude>
    </php>
    <pearinstaller>
     <min>1.4.1</min>
@@ -349,7 +366,7 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
    <package>
     <name>raphf</name>
     <channel>pecl.php.net</channel>
-    <min>1.1.0</min>
+    <min>1.0.0</min>
     <providesextension>raphf</providesextension>
    </package>
    <package>
@@ -362,6 +379,7 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
   <optional>
    <extension><name>hash</name></extension>
    <extension><name>iconv</name></extension>
+   <extension><name>json</name></extension>
   </optional>
  </dependencies>
  <providesextension>http</providesextension>
@@ -378,10 +396,6 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
    name="with-http-libevent-dir"
    prompt="where to find libevent"
    default="/usr" />
-  <configureoption
-   name="with-http-libidn-dir"
-   prompt="where to find libidn"
-   default="/usr" />
-  </extsrcrelease>
+ </extsrcrelease>
  <changelog />
 </package>