[tor-bugs] #2191 [Tor Client]: Send all error-level log messages to controllers
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Tue Nov 16 03:47:20 UTC 2010
#2191: Send all error-level log messages to controllers
--------------------------------+-------------------------------------------
Reporter: rransom | Type: defect
Status: new | Priority: major
Milestone: Tor: 0.2.2.x-final | Component: Tor Client
Version: | Keywords:
Parent: |
--------------------------------+-------------------------------------------
Comment(by rransom):
Replying to [comment:1 nickm]:
> We should consider some kind of fast-path for sending error logs to
controllers: we could bypass the whole buffered network IO layer and just
call send() on the log message.
Sending the pattern CRLF "." CRLF "421 " Message CRLF on the control
connection, then closing the connection, would unambiguously deliver a
message to the controller, but is likely to confuse and/or crash existing
controllers before they even read the message. I think that's the least
bad option for reporting a fatal error at the moment, but it'll need to be
explicitly requested with USEFEATURE.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2191#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list