[tor-bugs] #21377 [Core Tor/Tor]: DirAuths should expose bwauth bandwidth files

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 3 12:58:10 UTC 2018


#21377: DirAuths should expose bwauth bandwidth files
-------------------------------------------------+-------------------------
 Reporter:  tom                                  |          Owner:  juga
     Type:  enhancement                          |         Status:
                                                 |  needs_revision
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.4.0.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-dirauth, metrics, tor-bwauth,    |  Actual Points:
  035-removed-20180711, 040-roadmap-proposed     |
Parent ID:  #25925                               |         Points:
 Reviewer:  ahf                                  |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by juga):

 Replying to [comment:36 teor]:

 > > If i call detect_compression_method, as
 test_dir_handle_get_status_vote_current_consensus_ns is doing:
 https://github.com/torproject/tor/blob/8020d6fb05d9477e77c6ca554dc1288873f6115c/src/test/test_dir_handle_get.c#L1875,
 it will say the compression method is UNKNOWN_METHOD, instead of
 ZLIB_METHOD. What i'm doing wroing?
 >
 > I don't understand what you mean here.
 > If you're calling the new code in the test, you have to add headers to
 the request.
 > Otherwise, the new code should return NO_METHOD.
 >
 > I don't understand how you are getting UNKNOWN_METHOD.
 > Please show me the code you are using, and the logs of the results.

 https://github.com/torproject/tor/commit/b03091842bc4590e11e3ac026daae8ed6d8f7554

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21377#comment:37>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list