[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #6330 [Flashproxy]: Catch output and exit status of registration helpers
#6330: Catch output and exit status of registration helpers
------------------------+---------------------------------------------------
Reporter: dcf | Owner: dcf
Type: defect | Status: new
Priority: minor | Milestone:
Component: Flashproxy | Version:
Keywords: | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Registration helpers (currently only {{{flashproxy-reg-http.py}}} can
print to stdout or stderr and the output goes to the stream; rather
{{{flashproxy-client.py}}} should take that output and log it in the
normal fashion.
Similarly, we should check for a nonzero exit status and log a failure to
register. I think this can be done as easily as installing a {{{SIGCHLD}}}
handler, but {{{SIGCHLD}}} is not supported on Windows according to
http://docs.python.org/library/signal#signal.signal.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6330>
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