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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 23 13:45:25 UTC 2016


#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


More information about the tor-bugs mailing list