[tor-bugs] #27801 [Core Tor/Tor]: tor_api: CreateConnection() interface

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 12 12:42:29 UTC 2019


#27801: tor_api: CreateConnection() interface
---------------------------------+----------------------------------
 Reporter:  sysrqb               |          Owner:  (none)
     Type:  enhancement          |         Status:  new
 Priority:  Medium               |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor         |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:  040-deferred-201915  |  Actual Points:
Parent ID:  #25510               |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+----------------------------------

Comment (by nickm):

 The API proposed above should get tweaked some: we don't want to have it
 take a tor_main_configuration_t object, since that is only used for
 setting up the main() function. Instead it should take some kind of token
 or handle to a running Tor instance.

 We'd need to extent the current API to return such a token or handle in a
 way that another thread could use.

 Remember that new APIs need to be implemented both by embedded Tor and
 libtorrunner.

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


More information about the tor-bugs mailing list