[cgiapp] Streaming Large Files using PSGI

2012-10-05 Thread Mike Tonks
For years I've used the handy CAP::Stream return $self-stream_file( $file ); method and this does a lovely job of chunking the data so large files are handled without memory issues. Files could be anything from 10Mb up to 800Mb ish. I'm now looking to go 'production' with a PSGI, Starman

Re: [cgiapp] Streaming Large Files using PSGI

2012-10-05 Thread Mark Stosberg
This is as far as I've got. Can anyone help / advise? Maybe patching CAP::Stream is the way to go - I suppose it should be possible to detect the running environment and 'do the right thing'. Mike, My reading of the spec is that you can return a callback instead of a body, and the Plack