]> git.ipfire.org Git - thirdparty/tor.git/commit
should_disable_dir_fetches() now returns 1 if DisableNetwork==1
authorNick Mathewson <nickm@torproject.org>
Fri, 14 Mar 2014 14:42:49 +0000 (10:42 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 14 Mar 2014 14:42:49 +0000 (10:42 -0400)
commitd01cf18ecbb02bca7e4168b28f28d8b84f03da70
tree8b834125a3b2e09ed8b564181e49f3f5cb939a4c
parent102bb1c04f5cb4fb3eae7f41f80660e47c64ceb6
should_disable_dir_fetches() now returns 1 if DisableNetwork==1

This change prevents LD_BUG warnings and bootstrap failure messages
when we try to do directory fetches when starting with
DisableNetwork == 1, a consensus present, but no descriptors (or
insufficient descriptors) yet.

Fixes bug 11200 and bug 10405.  It's a bugfix on 0.2.3.9-alpha.
Thanks to mcs for walking me through the repro instructions!
changes/bug11200 [new file with mode: 0644]
src/or/networkstatus.c