[tor-bugs] #25069 [Core Tor/Tor]: Improve supported protocols unit test by exposing supported protocols in headers

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 29 14:48:02 UTC 2018


#25069: Improve supported protocols unit test by exposing supported protocols in
headers
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  easy, refactor
Actual Points:                |  Parent ID:
       Points:  1             |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Currently, we hard-code a lot of supported protocols in the supported
 protocols unit test.

 Instead, we should expose a list of supported protocols in each header,
 and check those. Or, we can expose a maximum supported protocol.

 This allows us to write unit tests like the LinkAuth tests.

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


More information about the tor-bugs mailing list