cvs: pear /HTTP_Download Download.php
| From: | Michael Wallner | Date: | Wed, 19 Jan 2005 10:20:36 +0000 |
| Subject: | cvs: pear /HTTP_Download Download.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-28684@lists.php.net to get a copy of this message | ||
mike Wed Jan 19 05:20:36 2005 EDT
Modified files:
/pear/HTTP_Download Download.php
Log:
* fix bug 3231 (duplicate else)
http://cvs.php.net/diff.php/pear/HTTP_Download/Download.php?r1=1.55&r2=1.56&ty=u
Index: pear/HTTP_Download/Download.php
diff -u pear/HTTP_Download/Download.php:1.55 pear/HTTP_Download/Download.php:1.56
--- pear/HTTP_Download/Download.php:1.55 Fri Jan 14 12:35:42 2005
+++ pear/HTTP_Download/Download.php Wed Jan 19 05:20:34 2005
@@ -11,7 +11,7 @@
// | Copyright (c) 2003-2004 Michael Wallner <mike@iworks.at> |
// +----------------------------------------------------------------------+
//
-// $Id: Download.php,v 1.55 2005/01/14 17:35:42 mike Exp $
+// $Id: Download.php,v 1.56 2005/01/19 10:20:34 mike Exp $
/**
* Manage HTTP Downloads.
@@ -93,7 +93,7 @@
* if you want to send already gzipped data!
*
* @access public
- * @version $Revision: 1.55 $
+ * @version $Revision: 1.56 $
*/
class HTTP_Download
{
@@ -793,8 +793,6 @@
$fst = is_resource($this->handle) ?
fstat($this->handle) : stat($this->file);
$md5 = md5($fst['mtime'] .'='. $fst['ino']
.'='. $fst['size']);
- } else {
- return 'W/"'. time() .'"';
}
$this->etag = '"' . $md5 . '-' . crc32($md5) .
'"';
}