Use thread-safe types to store the LOG_PROTOCOL_WARN severity

Fixes a race condition; resolves 23954.
This commit is contained in:
Nick Mathewson
2018-01-24 12:02:44 -05:00
parent 37f26aa470
commit da778f2921
6 changed files with 50 additions and 8 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (logging, race conditions):
- Fix a (mostly harmless) race condition when invoking
LOG_PROTOCOL_WARN message from a subthread while the options are
changing. Fixes bug 23954; bugfix on 0.1.1.9-alpha.