[tor-bugs] #6810 [Flashproxy]: Reduce code duplication across client programs

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Sep 11 14:47:57 UTC 2012


#6810: Reduce code duplication across client programs
-------------------------+--------------------------------------------------
 Reporter:  dcf          |          Owner:  dcf
     Type:  enhancement  |         Status:  new
 Priority:  minor        |      Milestone:     
Component:  Flashproxy   |        Version:     
 Keywords:               |         Parent:     
   Points:               |   Actualpoints:     
-------------------------+--------------------------------------------------
 {{{flashproxy-client}}} and {{{flashproxy-reg-http}}} share some code,
 notable {{{parse_addr_spec}}} and {{{format_addr}}}, which is currently
 copied into both programs. The reason for this is so that someone can just
 download the Python programs and have them work, without having to also
 download module files or run {{{setup.py}}}. But it will only get worse
 with more registration helpers, so we should find a way to deal with it.

 Doing the usual {{{setup.py}}} installation is one option. That still
 keeps the ability to run from a tarball.

 {{{facilitator}}} and {{{facilitator.cgi}}} also share some code,
 currently factored into a {{{fac.py}}} module.

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


More information about the tor-bugs mailing list