From 0783cd4e630749e23e0cff3ec2453036412bba67 Mon Sep 17 00:00:00 2001
From: Michael Wallner
Date: Sun, 28 May 2006 15:48:00 +0000
Subject: [PATCH] - release RC5
---
KnownIssues.txt | 20 +++-----------------
docs/functions.html | 8 ++++----
package.xml | 31 ++++++++++++++-----------------
package2.xml | 5 +++--
php_http.h | 2 +-
5 files changed, 25 insertions(+), 41 deletions(-)
diff --git a/KnownIssues.txt b/KnownIssues.txt
index d54a683..ea870ec 100644
--- a/KnownIssues.txt
+++ b/KnownIssues.txt
@@ -11,26 +11,12 @@ Windows:
requests, try another (newer) libeay32.dll/ssleay32.dll pair.
Deflate/Inflate:
- http_inflate() resp. the HttpInflateStream should be able to inflate
-any compressed data (gzip, deflate AKA zlib and raw deflate). However,
-inflating raw deflated data causes a re-initialization of the inflate
-stream where the corresponding window bits are modified to tell libz
-to not check for zlib header bytes. This is not preventable AFAICS.
- http_deflate() resp. the HttpDeflateStream should be able to
-generate any compressed data (gzip, deflate AKA zlib and raw deflate);
-just use the flag for the data format you want to generate:
-HTTP_DEFLATE_TYPE_GZIP, HTTP_DEFLATE_TYPE_ZLIB or HTTP_DEFLATE_TYPE_RAW.
+ Inflating raw deflated data causes a re-initialization of the inflate
+stream where the corresponding window bits are modified to tell libz to
+not check for zlib header bytes. This is not preventable AFAICS.
Using an encoding stream filter on a stream you read from, will
not work as expected in a PHP version lower than 5.1.3.
Internals:
- - there's a memleak with sizeof(zval) for each thrown exception,
- which ends up in HttpRequestPoolExcepiont::$exceptionStack, in
- HttpRequestPool::__construct(); it doesn't happen with wrapped
- exceptions in HttpRequestPool::send().
-
- our http_urlencode_hash() only handles arrays and does not
differentiate between prefixes for numeric or string keys.
-
- - check all places where hash table entries are created if
- the keys are properly NUL terminated (prior 1.0!)
diff --git a/docs/functions.html b/docs/functions.html
index b27ed07..4c6aeed 100644
--- a/docs/functions.html
+++ b/docs/functions.html
@@ -201,7 +201,7 @@ the Last-Modified header is updated and the actual body will be sent.
http.cache_log is set and the cache attempt was successful.
bool http_cache_etag([string etag])
Attempts to cache the sent entity by its ETag, either supplied or generated
-by the hash algorithm specified by the INI setting "http.etag_mode".
+by the hash algorithm specified by the INI setting "http.etag.mode".
If the clients "If-None-Match" header matches the supplied/calculated
ETag, the body is considered cached on the clients side and
a "304 Not Modified" status code is issued.
@@ -210,7 +210,7 @@ a "304 Not Modified" status code is issued.
"http.cache_log" is set and the cache attempt was successful.
string ob_etaghandler(string data, int mode)
For use with ob_start(). Output buffer handler generating an ETag with
-the hash algorithm specified with the INI setting "http.etag_mode".
+the hash algorithm specified with the INI setting "http.etag.mode".
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
@@ -284,7 +284,7 @@ several consecutive HTTP messages.
<?php
print_r(http_parse_cookie("foo=bar; bar=baz; path=/; domain=example.com; comment=; secure", 0, array("comment")));
stdClass Object
(
[cookies] => Array
(
[foo] => bar
[bar] => baz
)
[extras] => Array
(
[comment] =>
)
[flags] => 16
[expires] => 0
[path] => /
[domain] => example.com
)
?>
-object http_parse_params(string param)
+object http_parse_params(string param[, int flags = HTTP_PARAMS_DEFAULT])
Parse parameter list.
Get a list of incoming HTTP headers.
@@ -1434,7 +1434,7 @@ http.cache_log is set.
- Generated at: Thu, 25 May 2006 10:46:03 +0200
+ Generated at: Sun, 28 May 2006 17:34:52 +0200