]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
don't test for existence of certfile and then try to open it -- instead try to open...
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 22 May 2007 21:04:16 +0000 (14:04 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 22 May 2007 21:04:16 +0000 (14:04 -0700)
commit98066ccaee22477e72fc330143da715412e2227f
treede220329bd95fa50a68ed2be2e20afa052f9a352
parenta2970cf7c18df09f24912bd339cb593f28dc5b14
don't test for existence of certfile and then try to open it -- instead try to open it and catch exception
This avoids a race condition, also known as time-of-check-to-time-of-use.
src/allmydata/node.py