We accidentally duplicate a lot of our configuration parsing logic for our hs_config.c stuff. We should use our confmgt code instead, to detect duplicate options, malformed options, and so on.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
I've got hs_options_modernize working, and it makes the hs config functions far less loop-driven. I'll want to rebase it on #33460 (moved) once that is merged, however, so that there isn't a usability regression.
hs_options_modernize is now updated and rebased, with a pull request at https://github.com/torproject/tor/pull/1775 . I think it makes the code a bit neater. What do you think?