[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #22684 [Core Tor/Tor]: Expose we_fetch_{micro, router_}descriptors on control port



#22684: Expose we_fetch_{micro,router_}descriptors on control port
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:  nickm
     Type:  enhancement   |         Status:  accepted
 Priority:  Medium        |      Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  tor-control   |  Actual Points:
Parent ID:                |         Points:  .1
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by nickm):

 Here's the snippet, for when we decide what to name it:
 {{{
 +  } else if (!strcmp(question, "config/we-download-microdescs")) {
 +    int r = we_download_microdescriptors(get_options());
 +    tor_asprintf(answer, "%d", !!r);
 +  } else if (!strcmp(question, "config/we-download-routerdescs")) {
 +    int r = we_download_router_descriptors(get_options());
 +    tor_asprintf(answer, "%d", !!r);
    }
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22684#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs