Author: toad
Date: 2006-01-25 16:55:25 +0000 (Wed, 25 Jan 2006)
New Revision: 7922
Modified:
branches/async-client/src/freenet/client/async/SingleBlockInserter.java
Log:
KSKs work.
Remaining:
- Check whether load balancing is working.
- MultiPut.
Modified:
branches/async-client/src/freenet/client/async/SingleBlockInserter.java
===================================================================
--- branches/async-client/src/freenet/client/async/SingleBlockInserter.java
2006-01-25 16:50:35 UTC (rev 7921)
+++ branches/async-client/src/freenet/client/async/SingleBlockInserter.java
2006-01-25 16:55:25 UTC (rev 7922)
@@ -73,7 +73,7 @@
Logger.error(this, "Caught "+e, e);
throw new
InserterException(InserterException.BUCKET_ERROR, e, null);
}
- } else if(uriType.equals("SSK")) {
+ } else if(uriType.equals("SSK") || uriType.equals("KSK")) {
try {
InsertableClientSSK ik =
InsertableClientSSK.create(uri);
return ik.encode(sourceData, isMetadata,
compressionCodec == -1, compressionCodec, sourceLength, ctx.random);