On Wednesday 01 April 2009 23:07:12 saces at freenetproject.org wrote:
> Author: saces
> Date: 2009-04-01 22:07:12 +0000 (Wed, 01 Apr 2009)
> New Revision: 26326
> 
> Modified:
>    trunk/plugins/KeyExplorer/KeyExplorer.java
>    trunk/plugins/KeyExplorer/VerySimpleGet.java
>    trunk/plugins/KeyExplorer/VerySimpleGetter.java
> Log:
> fix KeyExplorer 
> 
> Modified: trunk/plugins/KeyExplorer/KeyExplorer.java
> ===================================================================
> --- trunk/plugins/KeyExplorer/KeyExplorer.java        2009-04-01 21:50:04 UTC 
> (rev 
26325)
> +++ trunk/plugins/KeyExplorer/KeyExplorer.java        2009-04-01 22:07:12 UTC 
> (rev 
26326)
...
>  
> -     private Bucket extract(ClientKeyBlock block) {
> +     private Bucket extract(ClientKeyBlock block, ClientContext context) {
>               Bucket tempdata;
>               try {
> -                     // FIXME What is the maximim size of an decompressed 
> 32K chunk?
> -                     tempdata = block.decode(getContext().bucketFactory, 
> 1024 * 1024,
> +                     // FIXME What is the maximum size of an decompressed 
> 32K chunk?
> +                     tempdata = block.decode(context.tempBucketFactory, 1024 
> * 1024,
>                                       false);


At the moment, 2GB. That is, if 2GB or more compresses to one 32K block, we 
fail the insert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20090406/129e77a2/attachment.pgp>

Reply via email to