Ticket #1485127 (closed Bugs: fixed)

Opened 6 months ago

Last modified 3 months ago

Downloading large attachment

Reported by: sibra Owned by:
Priority: 1 - Highest Milestone: 0.2-beta
Component: PHP backend Version: 0.1.1
Severity: normal Keywords:
Cc:

Description

Hello, if i receive a mail with an attachment larger than >5mb i am not able to download it properly. the file starts to download with highest speed and in the end it slows down to about 30kb/s the webserver at this time has a workload of about 100%. after 3mb the filedownload stops.

the error log of roundcube says, that the max execution time of 60seconds is exceeded. if i increase the value to 120 it works but in my opinion this can't be a solution. wouldn't it be better to create a temporary file out of the attachment and save it on the disk instead of streaming it to the client?

Change History

Changed 3 months ago by alec

  • status changed from new to closed
  • resolution set to fixed
  • component changed from MIME parsing to PHP backend
  • milestone changed from later to 0.2-beta

Fixed by set_time_limit(0) when downloading attachments.

Note: See TracTickets for help on using tickets.