[Catalyst] Catalyst::Plugin::UploadProgress

Ash Berlin ash_cpan at firemirror.com
Wed Oct 1 10:30:38 BST 2008


On 1 Oct 2008, at 08:41, Stephan Jennewein wrote:

> On Wednesday 01 October 2008 03:25:42 am Tomas Doran wrote:
>> On 1 Oct 2008, at 01:44, Stephan Jennewein wrote:
>>> On Wednesday 01 October 2008 12:39:08 am Andy Grundman wrote:
>>>> What Catalyst engine are you using?  What you described sounds like
>>>> the behavior with the default HTTP engine.  If that's what you're
>>>> using, try enabling fork mode with -f.
>>>
>>> I'm trying fastcgi with lighttpd. Does it work with
>>> fastcgi, do I have to use one thread (at the moment i'm using 5)?
>>
>> No, the issue is that it doesn't work _unless_ you're using multiple
>> threads.
>>
>> Can you replicate this behavior with myapp_server.pl -f, or does this
>> only happen for you with lighty?
>>
>
> Ups, my first mail didn't arrive,  myapp_server.pl --fork works  
> fine. With
> lighty the javascript stuff appears after pressing the button, but the
> filesize is -1 and so you don't see any progressbar.
>
> Stephan

Hmmm I wonder if thats because lightly is processing the upload to a  
temp file itself? I've seen references to a similar upload progress  
thing built into lighttpd, but that might only be in svn/1.5 versions...

-ash



More information about the Catalyst mailing list