Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
4bbdebff
Commit
4bbdebff
authored
Oct 03, 2016
by
Nick Mathewson
🎨
Browse files
Merge remote-tracking branch 'arma/bug20277'
parents
a49fb1e2
9228db5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/directory.c
View file @
4bbdebff
...
...
@@ -495,9 +495,6 @@ MOCK_IMPL(void, directory_get_from_dirserver, (
* sort of dir fetch we'll be doing, so it won't return a bridge
* that can't answer our question.
*/
/* XXX+++++ Not all bridges handle conditional consensus downloading,
* so, for now, never assume the server supports that. -PP
* Is that assumption still so in 2016? -NM */
const
node_t
*
node
=
choose_random_dirguard
(
type
);
if
(
node
&&
node
->
ri
)
{
/* every bridge has a routerinfo. */
...
...
@@ -1305,9 +1302,9 @@ compare_strs_(const void **a, const void **b)
/** Return the URL we should use for a consensus download.
*
*
This url depends on whether or not the server we go to
*
is sufficiently new to support conditional consensus downloading,
*
i.e.
GET .../consensus/<b>fpr</b>+<b>fpr</b>+<b>fpr</b>
*
Use the "conditional consensus downloading" feature described in
*
dir-spec.txt, i.e.
* GET .../consensus/<b>fpr</b>+<b>fpr</b>+<b>fpr</b>
*
* If 'resource' is provided, it is the name of a consensus flavor to request.
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment