Re: [cgiapp] Streaming Large Files using PSGI

2012-10-12 Thread Mark Stosberg
On 10/12/2012 09:06 AM, Mike Tonks wrote: > I've been doing some more testing and it seems to work really well. > Serving up big files quite happily, and fast! > > A few additional thoughts... > > The PSGI spec allows 2 useful options: > > 1) The subref callback as originally suggested > > 2) R

Re: [cgiapp] Streaming Large Files using PSGI

2012-10-12 Thread Mike Tonks
I've been doing some more testing and it seems to work really well. Serving up big files quite happily, and fast! A few additional thoughts... The PSGI spec allows 2 useful options: 1) The subref callback as originally suggested 2) Return a filehandle and the server hadles the streaming automat