Closed (fixed)
Project:
Filebrowser
Version:
6.x-2.0-rc10
Component:
Directory Listing Pages
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2009 at 18:37 UTC
Updated:
2 Aug 2009 at 12:50 UTC
Trying to download a big file fails for me as php is unable to allocate the requested memory. It appears the FileBrowser module wants to load the entire file into memory before sending it to the client. Is there any reason why it can't stream the file instead ? That would solve this issue, and also be much more efficient (most http servers support a 'sendfile()' call that entirely bypasses user-space code by asking the kernel to stream directly from storage to the http connection...)
Thanks,
Stefan
Comments
Comment #1
Yoran commentedthis is now fixed in dev release.