[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r15129: If we change our MaxAdvertisedBandwidth and then reload torr (in tor/branches/tor-0_2_0-patches: . src/or)
Author: arma
Date: 2008-06-11 07:09:55 -0400 (Wed, 11 Jun 2008)
New Revision: 15129
Modified:
tor/branches/tor-0_2_0-patches/ChangeLog
tor/branches/tor-0_2_0-patches/src/or/config.c
Log:
If we change our MaxAdvertisedBandwidth and then reload torrc,
Tor won't realize it should publish a new relay descriptor. Fixes
bug 688, reported by mfr.
Modified: tor/branches/tor-0_2_0-patches/ChangeLog
===================================================================
--- tor/branches/tor-0_2_0-patches/ChangeLog 2008-06-11 10:59:16 UTC (rev 15128)
+++ tor/branches/tor-0_2_0-patches/ChangeLog 2008-06-11 11:09:55 UTC (rev 15129)
@@ -16,6 +16,9 @@
for every single country code in the geoip db.
- Only warn when we fail to load the geoip file if we were planning to
include geoip stats in our extrainfo document.
+ - If we change our MaxAdvertisedBandwidth and then reload torrc,
+ Tor won't realize it should publish a new relay descriptor. Fixes
+ bug 688, reported by mfr.
- Fix unit tests in 0.2.0.27-rc.
- Fix compile on Windows.
Modified: tor/branches/tor-0_2_0-patches/src/or/config.c
===================================================================
--- tor/branches/tor-0_2_0-patches/src/or/config.c 2008-06-11 10:59:16 UTC (rev 15128)
+++ tor/branches/tor-0_2_0-patches/src/or/config.c 2008-06-11 11:09:55 UTC (rev 15129)
@@ -3447,6 +3447,8 @@
new_options->_PublishServerDescriptor ||
old_options->BandwidthRate != new_options->BandwidthRate ||
old_options->BandwidthBurst != new_options->BandwidthBurst ||
+ old_options->MaxAdvertisedBandwidth !=
+ new_options->MaxAdvertisedBandwidth ||
!opt_streq(old_options->ContactInfo, new_options->ContactInfo) ||
!opt_streq(old_options->MyFamily, new_options->MyFamily) ||
!opt_streq(old_options->AccountingStart, new_options->AccountingStart) ||