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

Re: [tor-bugs] #20919 [Core Tor/Tor]: Extract prop271 state-parsing code into a generic thing



#20919: Extract prop271 state-parsing code into a generic thing
-----------------------------------+------------------------------------
 Reporter:  nickm                  |          Owner:
     Type:  defect                 |         Status:  new
 Priority:  Medium                 |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor           |        Version:
 Severity:  Normal                 |     Resolution:
 Keywords:  triage-out-030-201612  |  Actual Points:
Parent ID:  #20822                 |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+------------------------------------

Comment (by asn):

 The goal of this ticket would be to refactor
 `entry_guard_parse_from_state()` (and family) to use the config/state
 parsing API, instead of the ad-hoc string parsing approach it currently
 uses.

 As an example, see `entry_guards_parse_state_for_guard_selection()` and
 how it uses the `config_line_t` API. Is it more elegant?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20919#comment:2>
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