On Tue, Nov 27, 2012 at 12:28:31PM +0200, g...@iki.fi wrote:
> Which leaves two "bugs"
> 1. Documentation incorrectly states that new cache files can be created with 
> "exclusive open", while
> in reality without cooperative locking on part of Polipo and the process 
> creating the new file,
> there could be race conditions.

Could you give an example of such a race condition?

> 2. Documentation doesn't state how Polipo itself creates (or modifies) cache 
> files. Does it
> use locking? Does it create a temporary file and then rename it?

Looking into diskcache.c indicates that it uses "exclusive open" for disk
entries.

Best,
-- 
Gabriel

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Polipo-users mailing list
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to