On Sun, 27 Oct 2002, Matthew Toseland wrote: > > Somebody suggested using a 'skip the local node' flag, but from looking > > at the CVS, that only seems to be used by Fproxy's splitfile retrievel > > interface, and doesn't feature in the FCP protocol at all. > No, it just hasn't been implemented by any of the current clients. The > code is there IMHO.
freenet/message/client/ClientRequest.java:38 The correct way of doing it is 'RemoveLocalKey=True' (**FIXME** The presence of RemoveLocalKey is all it takes to do it, needs to parse a boolean) (FIXME #2, delete the whole flags section before someone else gets the bright idea to use hex-coded bitfields rather then strings *cough*COFE*cough*) I called it to 'RemoveLocalKey' because that's how you end up bypassing the local store: passing a Delete flag to the store during the fetch, so it returns DNF, and you go on to network routing. This works for inserts and requests. Yes, this means you can delete a key from your local store. No, it dosn't mean you can clean it from the internet. fcptools has (had?) the code to handle this, and was actually implemented as a flag to fcpputsite. Probably dosn't work now, since I don't think I ever explained it well to Jay and I havn't been able to work on fcptools in quite a while. --Dan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 155 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20021028/9f9726e0/attachment.pgp>
