[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #4834 [Vidalia]: Tor's log lines to stdout don't flush in time for Vidalia to see them?
#4834: Tor's log lines to stdout don't flush in time for Vidalia to see them?
---------------------+------------------------------------------------------
Reporter: arma | Owner: chiiph
Type: defect | Status: new
Priority: normal | Milestone:
Component: Vidalia | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
Comment(by rtoepfer):
Vidalia closes reading of stdout at vidalia/MainWindow.cpp
MainWindow::authenticated around line 1485.
The TorProcess::closeStdOut in TorProcess.cpp function does not wait long
enough for remaining messages after Vidalia receives Tor's ack for the
register events message in the MainWindow::authenticated function. I
suggest implementing a preset wait in this function, then moving the
closeReadChannel function to occur after this wait. A 250 millisecond
wait should be more than adequate. A QTimer wait would also work.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4834#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs