From af89101537efd3a5439953a71dc5aef9f2b3daf0 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 19 Oct 2005 09:10:22 +0000 Subject: [PATCH] - release 0.16 --- KnownIssues.txt | 3 ++- docs/functions.html | 19 ++++++++++++++----- package.xml | 23 ++++++++--------------- package2.xml | 1 + php_http.h | 2 +- 5 files changed, 26 insertions(+), 22 deletions(-) diff --git a/KnownIssues.txt b/KnownIssues.txt index db3b288..d0dc686 100644 --- a/KnownIssues.txt +++ b/KnownIssues.txt @@ -7,7 +7,8 @@ HttpResponse class is only available for PHP >= 5.1 Not all places where files are handled check for open_basedir and/or safe_mode. Throttling with the FastCGI SAPI may behave unexpected, because libfcgi seems -to really write on flush only and every ~20kb. +not to practically flush its buffers when calling sapi_flush(). +See also http://bugs.php.net/bug.php?id=34429 If you keep getting "SSL connect error" when trying to issue requests on Windows, try another (newer) libeay32.dll/ssleay32.dll pair. diff --git a/docs/functions.html b/docs/functions.html index f785fd0..69a7e63 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -179,7 +179,7 @@ a "304 Not Modified" status code is issued.

string ob_etaghandler(string data, int mode)

For use with ob_start(). Output buffer handler generating an ETag with
the hash algorythm specified with the INI setting "http.etag_mode".

-

void http_throttle(double sec[, int bytes = 2097152])

+

void http_throttle(double sec[, int bytes = 40960])

Sets the throttle delay and send buffer size for use with http_send() API.
Provides a basic throttling mechanism, which will yield the current process
resp. thread until the entity has been completely sent, though.

@@ -270,7 +270,7 @@ array where the following keys will be recognized:

 - redirect:
  - compress:         bool, whether to allow gzip/deflate content encoding
(defaults to true)
- port: int, use another port as specified in the url
- - referer: string, the referer to sends
+ - referer: string, the referer to send
- useragent: string, the user agent to send
(defaults to PECL::HTTP/version (PHP/version)))
- headers: array, list of custom headers as associative array
@@ -374,7 +374,7 @@ compression ratio.

Check for feature that require external libraries.

Accpepts an optional in parameter specifying which feature to probe for.
If the parameter is 0 or omitted, the return value contains a bitmask of
-all supported featuers that depend on external libraries.

+all supported features that depend on external libraries.

Available features to probe for are:

@@ -1152,7 +1161,7 @@ http.cache_log is set.

-

Generated at: Tue, 11 Oct 2005 11:33:16 +0000

+

Generated at: Wed, 19 Oct 2005 10:45:25 +0200

diff --git a/package.xml b/package.xml index 25ba7a6..f787a85 100644 --- a/package.xml +++ b/package.xml @@ -23,22 +23,12 @@ - 0.15.0 - 2005-10-11 + 0.16.0 + 2005-10-19 PHP License beta - + Updated documentation (a lot) -+ Added optional third parameter to HttpRequest::__construct() accepting an array with options -+ Added compression functions gzencode/gzdecode, deflate/inflate, compress/uncompress -+ Added http_support() for probing features that depend on external libraries - -- Renamed http_absolute_uri() to http_build_uri() (complements with http_build_query()) -- Changed the signature of the negotiator to fill the second parameter with the results array - -* Fixed several ETag issues -* Fixed HttpRequestPools detach() and attach() methods when the iterator is active -* Fixed parsing messages with Content-Range headers -* Fixed parsing messages with another Transfer-Encoding header value than chunked + + Added ext/zlib independant GZIP support ++ Added HttpRequestPool::getAttachedRequests() and getFinishedRequests() @@ -93,6 +83,7 @@ + @@ -103,7 +94,9 @@ - + + + diff --git a/package2.xml b/package2.xml index 155f847..b374d64 100644 --- a/package2.xml +++ b/package2.xml @@ -139,6 +139,7 @@ + diff --git a/php_http.h b/php_http.h index 9394129..356b78a 100644 --- a/php_http.h +++ b/php_http.h @@ -18,7 +18,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define HTTP_PEXT_VERSION "0.16.0dev" +#define HTTP_PEXT_VERSION "0.16.0" /* make compile on Win32 */ #ifdef HTTP_HAVE_CURL -- 2.30.2