]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
don't check for existence of portnum file and then try to open it -- instead try...
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 22 May 2007 21:06:00 +0000 (14:06 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 22 May 2007 21:06:00 +0000 (14:06 -0700)
commit921e643b93c88c2a0b560bbc21989918cde47c60
tree5e1671724e8571c31a3c5194855e990cc8fe27c7
parent98066ccaee22477e72fc330143da715412e2227f
don't check for existence of portnum file 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