- release 1.5.0
authorMichael Wallner <mike@php.net>
Tue, 20 Feb 2007 21:42:57 +0000 (21:42 +0000)
committerMichael Wallner <mike@php.net>
Tue, 20 Feb 2007 21:42:57 +0000 (21:42 +0000)
package.xml
package2.xml
php_http.h
scripts/gen_curlinfo.php

index 9cfb466300303fbee048be0913b49641af427523..d035b5a10e314f6b3f73a7fce9070d2776e192f8 100644 (file)
@@ -23,16 +23,11 @@ support. Parallel requests are available for PHP 5 and greater.
   </maintainer>
   </maintainers>
  <release>
-  <version>1.5.0RC2</version>
-  <date>2007-02-10</date>
+  <version>1.5.0</version>
+  <date>2007-02-20</date>
   <license>BSD, revised</license>
-  <state>beta</state>
-  <notes>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)
+  <state>stable</state>
+  <notes>No changes since 1.5.0RC2
   </notes>
   <deps>
    <dep type="php" rel="ge" version="4.3"/>
index f0351e2b821d0c0f96c560022f5ba1881b857b91..dba4c0512699c4bb899fd79590a0bf3f8d44a518 100644 (file)
@@ -28,23 +28,18 @@ support. Parallel requests are available for PHP 5 and greater.
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2007-02-09</date>
+ <date>2007-02-20</date>
  <version>
-  <release>1.5.0RC2</release>
+  <release>1.5.0</release>
   <api>1.5.0</api>
  </version>
  <stability>
-  <release>beta</release>
+  <release>stable</release>
   <api>stable</api>
  </stability>
  <license>BSD, revised</license>
  <notes><![CDATA[
-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)
+No changes since 1.5.0RC2
 ]]></notes>
  <contents>
   <dir name="/">
index 8656b0b14a7af8cf9b5cd7caa9d9d628dff8a1fe..a9ebaa52b18aa0d5ef3bfa61c174350c7290253e 100644 (file)
@@ -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"
index f9d83f653128008479d4ece2febe7596fb51489a..a07af2281c2f5485497814a9754e4ff3a9459d06 100644 (file)
@@ -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);
 }