[Catalyst] Out of Memory - File delivery issue
craig at homeloanpartnership.com
Fri May 3 08:48:32 GMT 2013
>Why do you write:
>"I understand that Catalyst has a known issue with delivering authenticated files via the response mechanism."
>Have you written a test proving that issue?
Yes, that's why I'm here trying to find a resolve.
Try it yourself, build a large scalar string representing CSV data and pass it to the response->body() after having output the relevant headers.
The devel server will fall over with 'out of memory' and reboot itself.
I hope to find a solution today with IO::File , but so far no joy!
From: Ferruccio Zamuner [mailto:nonsolosoft at diff.org]
Sent: 03 May 2013 09:41
To: catalyst at lists.scsys.co.uk
Subject: Re: [Catalyst] Out of Memory - File delivery issue
On 05/02/13 09:54, Craig Chant wrote:
> I understand that Catalyst has a known issue with delivering
> authenticated files via the response mechanism.
> What does the Catalyst community do to work around this problem?
I've delivered authenticated large files using a Catalyst web app without trouble using X-Sendfile response header and a front-end webserver like Apache or Lighttpd.
Why do you write:
"I understand that Catalyst has a known issue with delivering authenticated files via the response mechanism."
Have you written a test proving that issue?
List: Catalyst at lists.scsys.co.uk
Searchable archive: http://email@example.com/
Dev site: http://dev.catalyst.perl.org/
This Email and any attachments contain confidential information and is intended solely for the individual to whom it is addressed. If this Email has been misdirected, please notify the author as soon as possible. If you are not the intended recipient you must not disclose, distribute, copy, print or rely on any of the information contained, and all copies must be deleted immediately. Whilst we take reasonable steps to try to identify any software viruses, any attachments to this e-mail may nevertheless contain viruses, which our anti-virus software has failed to identify. You should therefore carry out your own anti-virus checks before opening any documents. HomeLoan Partnership will not accept any liability for damage caused by computer viruses emanating from any attachment or other document supplied with this e-mail. HomeLoan Partnership reserves the right to monitor and archive all e-mail communications through its network. No representative or employee of HomeLoan Partnership has the authority to enter into any contract on behalf of HomeLoan Partnership by email. HomeLoan Partnership is a trading name of H L Partnership Limited, registered in England and Wales with Registration Number 5011722. Registered office: 26-34 Old Street, London, EC1V 9QQ. H L Partnership Limited is authorised and regulated by the Financial Conduct Authority.
More information about the Catalyst