[tor-bugs] #30282 [Core Tor/Stem]: bandwidth_file_headers doesn't seem to be working
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Apr 24 17:56:20 UTC 2019
#30282: bandwidth_file_headers doesn't seem to be working
-------------------------------+--------------------
Reporter: tom | Owner: atagar
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Stem | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------+--------------------
Moria http://128.31.0.34:9131/tor/status-vote/current/authority has a
value for bandwidth-file-headers
From stem master, I run the following:
{{{
import stem.descriptor.remote
authority = stem.descriptor.remote.get_authorities()['moria1']
downloader =
stem.descriptor.remote.DescriptorDownloader(fall_back_to_authority =
False, document_handler = stem.descriptor.DocumentHandler.DOCUMENT)
vote = downloader.query('/tor/status-vote/current/authority.z',
default_params = False, endpoints=[(authority.address,
authority.dir_port)]).run()[0]
vote.bandwidth_file_headers
}}}
But I don't get any data...
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30282>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list