[tor-bugs] #31843 [Circumvention/Snowflake]: Make safelogger thread safe
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Sep 24 15:25:47 UTC 2019
#31843: Make safelogger thread safe
-----------------------------------------+----------------------
Reporter: cohosh | Owner: cohosh
Type: defect | Status: assigned
Priority: Medium | Milestone:
Component: Circumvention/Snowflake | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-----------------------------------------+----------------------
It would be nice to pass the output of the safe logger to libraries so
that we can log errors that occur in library functions. Right now the
safelogger is not thread safe. Multiple calls to Write from different
threads results in race conditions.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31843>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list