[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #23306 [Core Tor/Tor]: hs: Use the state of a directory connection instead of the HAS_FETCHED purpose



#23306: hs: Use the state of a directory connection instead of the HAS_FETCHED
purpose
------------------------------+--------------------------------
     Reporter:  dgoulet       |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-hs, prop224
Actual Points:                |  Parent ID:  #23300
       Points:                |   Reviewer:
      Sponsor:  SponsorR-can  |
------------------------------+--------------------------------
 Hidden service client directory connection switch their purpose to
 `DIR_PURPOSE_HAS_FETCHED_RENDDESC_V2` and `DIR_PURPOSE_HAS_FETCHED_HSDESC`
 (with #17242) to indicate when the descriptor has arrived.

 Let's find another solution here, like looking at the state. Using
 purposes here seems very kludgy.

 Suggestion from nickm: Can we use the DIR_CONN_STATE_CLIENT_FINISHED
 state? If the documentation for that state is correct, it should be usable
 for what we want.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23306>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs