On Wednesday 01 April 2009 23:07:12 [email protected] 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.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to