> 1. When an object is first created, presumably because of a client request,
> is it private or public?
Usually public, except that unshareable objects are made private.
> 2. Is it possible that polipo holds two objects that both pointing to the
> same URL?
Yes, but then at least one must be private. That's what happens when
an object becomes superseded -- the old object is privatised, the new
one is public.
> 3. What can trigger an object's state to transit between public and private?
Public->private: superseding, expiration.
Private->public: nothing.
> 4 What happens when there is a collision to the MD5 hashed filename in the
> cache?
It doesn't happen.
If it ever did happen, then the new object would cause the old one to
expire (see validateEntry in diskcache.c).
Juliusz
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users