The UseCreateFast consensus parameter now defaults to 0.

You can still override it with FastFirstHopPK.  But that's
deprecated.

Closes ticket 21407.
This commit is contained in:
Nick Mathewson 2017-02-16 15:30:26 -05:00
parent 31be66ea5a
commit d004b9222e
2 changed files with 5 additions and 1 deletions

4
changes/bug21407 Normal file
View File

@ -0,0 +1,4 @@
o Minor features (defaults, security):
- The default value for UseCreateFast is now 0: clients which haven't yet
received a consensus document will nonetheless use a proper handshake
to talk to their directory servers (when they can). Closes ticket 21407.

View File

@ -819,7 +819,7 @@ should_use_create_fast_for_circuit(origin_circuit_t *circ)
}
if (options->FastFirstHopPK == -1) {
/* option is "auto", so look at the consensus. */
return networkstatus_get_param(NULL, "usecreatefast", 1, 0, 1);
return networkstatus_get_param(NULL, "usecreatefast", 0, 0, 1);
}
return options->FastFirstHopPK;