Oskar Sandberg wrote: > Is this reproducible? because what it looks like is simply the connection > being closed in the middle of the transfer. What i find strangest is that > ConnectionHandler #1 is not being closed properly.
I've just fixed this (I think =). The problem is that at the time the DataCB callback is called, the output file has not yet been closed, so it thinks the file is incomplete (name.length() == 0) and gives: > > Apr 15, 2000 3:24:11 AM:Data.java:Debug:Read attempted from bad file > > Apr 15, 2000 3:24:11 AM:DataSend.java:Normal:Not caching data for > > a36a3cb1304423cb, bad data stream You can see this more clearly by just inserting with -htl 1 -- the data never makes it into your local datastore. Probably under Linux name.length() returns the true length of the file even if it hasn't yet been closed. I'll check this in when I get cvs access again (network is down). not sure about the connectionhandler, though. theo _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
