[tor-bugs] #21978 [Core Tor/Tor]: hs: Decouple adding and validating a service
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Apr 25 13:09:31 UTC 2017
#21978: hs: Decouple adding and validating a service
-----------------------------+------------------------------------
Reporter: dgoulet | Owner: dgoulet
Type: enhancement | Status: needs_review
Priority: Medium | Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-hs, prop224 | Actual Points:
Parent ID: #21888 | Points: 0.2
Reviewer: asn | Sponsor: SponsorR-must
-----------------------------+------------------------------------
Comment (by dgoulet):
Replying to [comment:6 asn]:
> OK this last branch made the changes slightly clearer.
>
> Changes LGTM.
>
> One thing I did not understand is why the validation function is not
called by `rend_service_check_dir_and_add()`, and instead we have to call
both functions in a row.
This changes heavily in prop224 refactoring (#21979) so it's not in that
function... Would you prefer having it there and then modified in the
refactoring?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21978#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list