At one point Catalyst::Engine did this:

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

Which meant that Catalyst::Plugin::UploadProgress could wrap/override
$c->prepare_body_chunk.

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


        while ( defined ( my $buffer = $self->read() ) ) {
            $self->prepare_body_chunk($buffer);
        }

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?

 Thanks,


-- 
Bill Moseley
mose...@hank.org
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to