Skip to content
Snippets Groups Projects
Commit bce18a76 authored by George Kadianakis's avatar George Kadianakis
Browse files

prop224: Refactor parse_extended_hostname() to parse v3 addrs.


We need this func so that we recognize SOCKS conns to v3 addresses.

- Also rename rend_valid_service_id() to rend_valid_v2_service_id()

- Also move parse_extended_hostname() tests to their own unittest, and
  add a v3 address to the test as well.

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 3e593f09
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment