aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dircache
AgeCommit message (Collapse)Author
2018-07-30Merge remote-tracking branch 'juga/ticket3723_03_squashed_rebased'Nick Mathewson
2018-07-18Add some missing includes and struct declarations.Nick Mathewson
2018-07-18Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-16Add keyval header, that was moved to other filejuga0
2018-07-16Ensure that bw_file_headers is not bigger than maxjuga0
2018-07-16Replace bwlist by bw_file and terminator conditionjuga0
If bandwidth file terminator is found, set end of headers flag and do not store the line. If it is not, parse a relay line and check whether it is a header line.
2018-07-16Replace bwlist by bw_filejuga0
and add bw file terminator constant
2018-07-16Check that the header is key_valuejuga0
to avoid interpreting as headers extra lines that are not key_values
2018-07-16Add the Bandwidth List file headers to votesjuga0
* add bwlist_headers argument to dirserv_read_measured_bandwidth in order to store all the headers found when parsing the file * add bwlist_headers to networkstatus_t in order to store the the headers found by the previous function * include the bandwidth headers as string in vote documents * add test to check that dirserv_read_measured_bandwidth generates the bwlist_headers
2018-07-10Explain why we use raw_free with getdelim result.Nick Mathewson
2018-07-10Use tor_getline() in dirserv.c to remove its upper line limit.Nick Mathewson
Closes ticket 26223.
2018-07-10Refactor dirserv_read_measured_bandwidths to have a single exit pointNick Mathewson
2018-07-05Whoops. Protover.[ch] belong in src/core/orNick Mathewson
2018-07-05Fix every include path changed in the previous commit (automated)Nick Mathewson
I am very glad to have written this script.
2018-07-05Move literally everything out of src/orNick Mathewson
This commit won't build yet -- it just puts everything in a slightly more logical place. The reasoning here is that "src/core" will hold the stuff that every (or nearly every) tor instance will need in order to do onion routing. Other features (including some necessary ones) will live in "src/feature". The "src/app" directory will hold the stuff needed to have Tor be an application you can actually run. This commit DOES NOT refactor the former contents of src/or into a logical set of acyclic libraries, or change any code at all. That will have to come in the future. We will continue to move things around and split them in the future, but I hope this lays a reasonable groundwork for doing so.