[tor-bugs] #12087 [Pluggable transport]: goptlib could provide IsClient()/IsServer().
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed May 21 18:35:54 UTC 2014
#12087: goptlib could provide IsClient()/IsServer().
---------------------------------+---------------------
Reporter: yawning | Owner: asn
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Pluggable transport | Version:
Keywords: goptlib, library | Actual Points:
Parent ID: | Points:
---------------------------------+---------------------
Currently goptlib only provides ClientSetup()/ServerSetup() that will
break the pt config protocol if the desired mode happens to not be a
client or server.
This makes it somewhat annoying to write obfsproxy style apps with goptlib
as the application must peek at `TOR_PT_[CLIENT,SERVER]_TRANSPORTS`
themselves.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12087>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list