Changeset 3268


Ignore:
Timestamp:
May 5, 2009, 9:16:46 PM (15 years ago)
Author:
ronosman
Message:

Feature 966 : encode chunks one by one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extras/pLoader/trunk/src/Uploader/PWG/WebServices.pm

    r3230 r3268  
    290290    my ( $self, $params ) = @_;
    291291
    292     my $content = encode_base64(
    293         read_file(
    294             $params->{filepath},
    295             binmode => ':raw',
    296         )
     292    my $content = read_file(
     293        $params->{filepath},
     294        binmode => ':raw',
    297295    );
    298296
     
    314312            {
    315313                method       => 'pwg.images.addChunk',
    316                 data         => $chunk,
     314                data         => encode_base64($chunk),
    317315                original_sum => $params->{original_sum},
    318316                position     => $chunk_id,
Note: See TracChangeset for help on using the changeset viewer.