[tor-bugs] #6330 [Flashproxy]: Catch output and exit status of registration helpers

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jul 6 14:56:17 UTC 2012


#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


More information about the tor-bugs mailing list