[Catalyst] Progress bar

Bill Moseley moseley at hank.org
Wed Oct 17 00:16:04 GMT 2012

At one point Catalyst::Engine did this:

        # Check for definedness as you could read '0'
        while ( defined ( my $buffer =3D $self->read($c) ) ) {

Which meant that Catalyst::Plugin::UploadProgress could wrap/override

The code now does this ( in Catalyst::Request ):

        while ( defined ( my $buffer =3D $self->read() ) ) {

Which breaks that functionality.

How can I get the upload byte count into $c->cache so that my AJAX request
can get updated upload stats?


-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20121016/a93f0=

More information about the Catalyst mailing list