[freenet-chat] Towards a Freenet Filesystem
David McNab
david at rebirthing.co.nz
Tue May 23 21:28:32 UTC 2006
Joel Salomon wrote:
>> > How do you report "bad key format" or "splitfile error" or any
>> > Freenet-specific error with the simple FS interface?
>>
>> That's easy.
>> return false;
>
> And how do you report *which* error it was? (Is it worth retrying the
> file, or checking for a mis-copied key, or what?)
One idea that comes to me is to allow read of /errors/read/KSK at blah
I'm intending to keep a memory cache of recent requests, keyed by URI,
such that this error info can be reliably retrieved.
Another thought is to cache some retrieved keys into the host
filesystem, with hashed filenames and encrypted contents, to speed up
performance.
Anyway, if you refer to the wiki page I put up (FreenetFS), you'll see
that the mimetype issue has been addressed.
Any further thoughts, either as replies to this thread, or hacks to the
wiki page, are most welcome.
Thanks for the input so far. Please keep it coming.
--
Kind regards
David
More information about the chat
mailing list