Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.4

Request #13121 To play nice with stream without known size
Submitted: 2008-02-15 16:00 UTC
From: jausions Assigned: jausions
Status: Closed Package: HTTP_Download (version 1.1.3)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 20 + 18 = ?

 
 [2008-02-15 16:00 UTC] jausions (Philippe Jausions)
Description: ------------ I'm putting together a stream class to handle content generated on the fly, potentially big. I'd like to stream it into HTTP_Download. The size of the content is not known before the stream is finished being read. So a fstat($this->handle) doesn't return a 'size' index. The implications should be minimal, no Content-Length header, no Content-Range / range request support. I'll put a patch together and submit it for inclusion.

Comments

 [2009-12-14 09:07 UTC] jausions (Philippe Jausions)
-Status: Open +Status: Closed -Assigned To: +Assigned To: jausions
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.