From dd07cdeb2ed9752a82c9d052b42af2d639a785fd Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 20 Feb 2007 21:42:57 +0000 Subject: [PATCH] - release 1.5.0 --- package.xml | 13 ++++--------- package2.xml | 13 ++++--------- php_http.h | 2 +- scripts/gen_curlinfo.php | 4 +++- 4 files changed, 12 insertions(+), 20 deletions(-) diff --git a/package.xml b/package.xml index 9cfb466..d035b5a 100644 --- a/package.xml +++ b/package.xml @@ -23,16 +23,11 @@ support. Parallel requests are available for PHP 5 and greater. - 1.5.0RC2 - 2007-02-10 + 1.5.0 + 2007-02-20 BSD, revised - beta - o Improved new persistent handles functionality - - Removed --enable-http-persistent-handles - + Added http.persistent.handles.limit system INI option which controls - the maximum amount of idle persistent handles kept around (per provider); - 0 means every handle is destroyed after usage (i.e. disabled), - -1 means virtually unlimited maximum amount of idle handles (default) + stable + No changes since 1.5.0RC2 diff --git a/package2.xml b/package2.xml index f0351e2..dba4c05 100644 --- a/package2.xml +++ b/package2.xml @@ -28,23 +28,18 @@ support. Parallel requests are available for PHP 5 and greater. mike@php.net yes - 2007-02-09 + 2007-02-20 - 1.5.0RC2 + 1.5.0 1.5.0 - beta + stable stable BSD, revised diff --git a/php_http.h b/php_http.h index 8656b0b..a9ebaa5 100644 --- a/php_http.h +++ b/php_http.h @@ -15,7 +15,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define PHP_EXT_HTTP_VERSION "1.5.0RC2" +#define PHP_EXT_HTTP_VERSION "1.5.0" #ifdef HAVE_CONFIG_H # include "config.h" diff --git a/scripts/gen_curlinfo.php b/scripts/gen_curlinfo.php index f9d83f6..a07af22 100644 --- a/scripts/gen_curlinfo.php +++ b/scripts/gen_curlinfo.php @@ -4,7 +4,9 @@ error_reporting(0); function failure() { - fprintf(STDERR, "FAILURE: %s\n", error_get_last()); + // this is why error_get_last() should return a stdClass object + $error = error_get_last(); + fprintf(STDERR, "FAILURE: %s\n", $error["message"]); exit(-1); } -- 2.30.2