Opened 3 weeks ago

Last modified 3 weeks ago

#25069 new enhancement

Improve supported protocols unit test by exposing supported protocols in headers

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: 0.3.5.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: easy, refactor
Cc: Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (1)

comment:1 Changed 3 weeks ago by teor

This is a follow-up to #25070.

Note: See TracTickets for help on using tickets.