cvs: pear /HTTP_Download Download.php package.xml
| From: | Michael Wallner | Date: | Fri, 05 Oct 2007 07:02:03 +0000 |
| Subject: | cvs: pear /HTTP_Download Download.php package.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-48748@lists.php.net to get a copy of this message | ||
mike Fri Oct 5 07:02:03 2007 UTC
Modified files:
/pear/HTTP_Download Download.php package.xml
Log:
-fix bug #12174 (ob_flush in sendHeaders causes error message)
http://cvs.php.net/viewvc.cgi/pear/HTTP_Download/Download.php?r1=1.78&r2=1.79&diff_format=u
Index: pear/HTTP_Download/Download.php
diff -u pear/HTTP_Download/Download.php:1.78 pear/HTTP_Download/Download.php:1.79
--- pear/HTTP_Download/Download.php:1.78 Wed May 2 19:29:15 2007
+++ pear/HTTP_Download/Download.php Fri Oct 5 07:02:03 2007
@@ -11,7 +11,7 @@
* @author Michael Wallner <mike@php.net>
* @copyright 2003-2005 Michael Wallner
* @license BSD, revised
- * @version CVS: $Id: Download.php,v 1.78 2007/05/02 19:29:15 mike Exp $
+ * @version CVS: $Id: Download.php,v 1.79 2007/10/05 07:02:03 mike Exp $
* @link http://pear.php.net/package/HTTP_Download
*/
@@ -86,7 +86,7 @@
* if you want to send already gzipped data!
*
* @access public
- * @version $Revision: 1.78 $
+ * @version $Revision: 1.79 $
*/
class HTTP_Download
{
@@ -993,7 +993,9 @@
$this->HTTP->sendHeaders();
/* NSAPI won't output anything if we did this */
if (strncasecmp(PHP_SAPI, 'nsapi', 5)) {
- ob_flush();
+ if (ob_get_level()) {
+ ob_flush();
+ }
flush();
}
}
http://cvs.php.net/viewvc.cgi/pear/HTTP_Download/package.xml?r1=1.53&r2=1.54&diff_format=u
Index: pear/HTTP_Download/package.xml
diff -u pear/HTTP_Download/package.xml:1.53 pear/HTTP_Download/package.xml:1.54
--- pear/HTTP_Download/package.xml:1.53 Wed May 2 19:35:57 2007
+++ pear/HTTP_Download/package.xml Fri Oct 5 07:02:03 2007
@@ -26,10 +26,10 @@
<email>mike@php.net</email>
<active>yes</active>
</lead>
- <date>2007-05-02</date>
+ <date>2007-10-05</date>
<time>21:33:16</time>
<version>
- <release>1.1.2</release>
+ <release>1.1.3</release>
<api>1.1.0</api>
</version>
<stability>
@@ -38,8 +38,7 @@
</stability>
<license>BSD, revised</license>
<notes><![CDATA[
-* Fixed bug #9670 Notice: ob_end_clean(): failed to delete buffer
-* Fixed bug #10497 resuming downloads don't send Length
+* Fixed bug #12174 (ob_flush in sendHeaders causes error message)
]]>
</notes>
<contents>