Bug#574634: Race condition in kerberos

2011-11-14 Thread Dara Adib
This patch seems to work for me with maxconnections=3: http://lists.alioth.debian.org/pipermail/offlineimap-project/2011-June/002134.html Dara -- OCF: all-volunteer, student-run service group providing free printing, web hosting, disk space, email, and Unix shell accounts -- To UNSUBSCRIBE,

Bug#574634: Race condition in kerberos

2011-03-13 Thread Michael Stapelberg
Hi, Excerpts from Sebastian Spaeth's message of 2011-03-09 12:08:21 +0100: > Can you please test if the attached patch on top of the current 'next' > branch fixes things for you? You could either get the current next > branch and apply this patch > https://github.com/nicolas33/offlineimap/tarball/

Bug#574634: Race condition in kerberos

2011-03-09 Thread Sebastian Spaeth
Hi Michael, I cannot test kerberos auth myself, but you are right that there is a race condition that can play havoc with those state variables. I fixed this by simply wrapping the code in question in a lock. This should have minimal performance implications and makes the code safe to use. Can you