Merge remote-tracking branch 'public/bug21407'

This commit is contained in:
Nick Mathewson 2017-02-28 11:17:30 -05:00
commit 242f9b3ffb
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) { if (options->FastFirstHopPK == -1) {
/* option is "auto", so look at the consensus. */ /* 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; return options->FastFirstHopPK;