[Pkg-owncloud-commits] [php-sabredav] 04/23: Fix for #407.

David Prévot taffit at moszumanska.debian.org
Wed Mar 19 17:41:39 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch 1.7
in repository php-sabredav.

commit 52fb4a5f986466c3530af4d71e5c5a68e430efd7
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Sun Feb 16 20:18:39 2014 -0500

    Fix for #407.
---
 ChangeLog                   | 3 +++
 lib/Sabre/DAV/Version.php   | 2 +-
 lib/Sabre/HTTP/Response.php | 2 +-
 lib/Sabre/HTTP/Version.php  | 2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3b63166..3af96a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+1.7.11-stable (2014-??-??)
+	* Fixed: Issue #407: large downloads failed.
+
 1.7.10-stable (2014-02-09)
 	* The zip release ships with sabre/vobject 2.1.3.
 	* Fixed: Potential security vulnerability in the http client.
diff --git a/lib/Sabre/DAV/Version.php b/lib/Sabre/DAV/Version.php
index 417667f..3515000 100644
--- a/lib/Sabre/DAV/Version.php
+++ b/lib/Sabre/DAV/Version.php
@@ -14,7 +14,7 @@ class Sabre_DAV_Version {
     /**
      * Full version number
      */
-    const VERSION = '1.7.10';
+    const VERSION = '1.7.11';
 
     /**
      * Stability : alpha, beta, stable
diff --git a/lib/Sabre/HTTP/Response.php b/lib/Sabre/HTTP/Response.php
index 98654da..21c9e16 100644
--- a/lib/Sabre/HTTP/Response.php
+++ b/lib/Sabre/HTTP/Response.php
@@ -159,7 +159,7 @@ class Sabre_HTTP_Response {
 
         if (is_resource($body)) {
 
-            fpassthru($body);
+            file_put_contents('php://output', $body);
 
         } else {
 
diff --git a/lib/Sabre/HTTP/Version.php b/lib/Sabre/HTTP/Version.php
index 4fc8c64..1673149 100644
--- a/lib/Sabre/HTTP/Version.php
+++ b/lib/Sabre/HTTP/Version.php
@@ -14,7 +14,7 @@ class Sabre_HTTP_Version {
     /**
      * Full version number
      */
-    const VERSION = '1.7.10';
+    const VERSION = '1.7.11';
 
     /**
      * Stability : alpha, beta, stable

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list