[tor-bugs] #7944 [Flashproxy]: Standalone flash proxy

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 21 22:41:11 UTC 2013


#7944: Standalone flash proxy
-------------------------+--------------------------------------------------
 Reporter:  akrey        |          Owner:  dcf         
     Type:  enhancement  |         Status:  needs_review
 Priority:  normal       |      Milestone:              
Component:  Flashproxy   |        Version:              
 Keywords:               |         Parent:              
   Points:               |   Actualpoints:              
-------------------------+--------------------------------------------------

Comment(by arlolra):

 > Can you explain this code?

 Node.js doesn't have the equivalent of Rhino's `load()`, where code gets
 included in the calling script. It does have `require()` but that follows
 the CommonJS pattern of explicitly exporting a module.

 Rather than make any changes to flashproxy.js, we just read the file and
 evaluate it.

 > What gets modified otherwise?

 All the above environment variables in flashproxy-node.js could be
 conditionally defined in flashproxy.js at the top, but I thought it
 cleaner to separate the code.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7944#comment:27>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list