[tor-bugs] #18515 [Tor]: Refactoring routerparse.c/.h, hidden services parser in a seperate file
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Mar 10 12:59:29 UTC 2016
#18515: Refactoring routerparse.c/.h, hidden services parser in a seperate file
-------------------------+------------------------------------
Reporter: malekbr | Owner: malekbr
Type: enhancement | Status: needs_information
Priority: Very Low | Milestone: Tor: 0.2.9.x-final
Component: Tor | Version:
Severity: Trivial | Resolution:
Keywords: tor-hs | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------+------------------------------------
Changes (by dgoulet):
* keywords: => tor-hs
* status: needs_review => needs_information
Comment:
Food for thoughts. So I like this move in general. Although, I think we
could do better. Those parsing functions are for the HS descriptor so how
about we create a `renddesc.{c|h}` file and move parsing + encoding
functions there (and maybe all related functions to descriptor)?
I fear that rendparse.c (name) doesn't have the extra indication that this
is for descriptor. We are not parsing HS cells in there for instance.
(This is the approach we took for next generation hidden service that is
have `hs_descriptor.{c|h}` for all descriptor related API/ABI.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18515#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list