Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.3
-
Fix Version/s: 1.8.4
-
Component/s: Zend_Gdata
-
Labels:None
Description
The MIME streaming support in Zend_Gdata is currently very broken. It sometimes works, but uploads fail under certain conditions (which are not fully understood).
For example, when uploading very small videos, the video may be included twice within the HTTP request.
Fixed in trunk by r16229.
commit 5aa2e3fe8acae2c676e1b782b77d408e56e0e7d4 Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba> Date: Mon Jun 22 03:48:59 2009 +0000 Patch to fix several bugs in Zend_Gdata_YouTube and Zend_Gdata multipart MIME support. ZF-7075: Update Zend_Gdata URL constants to include 'api' projection. ZF-7076: User specified URLs are now preferred over edit links when working with Zend_Gdata media entries. ZF-7077: Rewrite Zend_Gdata MIME streaming support to correct erratic behavior. git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16229 44c647ce-9c0f-0410-b52a-842ac1e357ba library/Zend/Gdata/App.php | 2 +- library/Zend/Gdata/HttpAdapterStreamingSocket.php | 7 +- library/Zend/Gdata/MediaMimeStream.php | 424 +++------------------ library/Zend/Gdata/MimeBodyString.php | 91 +++++ library/Zend/Gdata/MimeFile.php | 65 ++++ library/Zend/Gdata/YouTube.php | 8 +- 6 files changed, 216 insertions(+), 381 deletions(-)commit 5aa2e3fe8acae2c676e1b782b77d408e56e0e7d4 Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba> Date: Mon Jun 22 03:48:59 2009 +0000 Patch to fix several bugs in Zend_Gdata_YouTube and Zend_Gdata multipart MIME support. ZF-7075: Update Zend_Gdata URL constants to include 'api' projection. ZF-7076: User specified URLs are now preferred over edit links when working with Zend_Gdata media entries. ZF-7077: Rewrite Zend_Gdata MIME streaming support to correct erratic behavior. git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16229 44c647ce-9c0f-0410-b52a-842ac1e357ba library/Zend/Gdata/App.php | 2 +- library/Zend/Gdata/HttpAdapterStreamingSocket.php | 7 +- library/Zend/Gdata/MediaMimeStream.php | 424 +++------------------ library/Zend/Gdata/MimeBodyString.php | 91 +++++ library/Zend/Gdata/MimeFile.php | 65 ++++ library/Zend/Gdata/YouTube.php | 8 +- 6 files changed, 216 insertions(+), 381 deletions(-)