[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #33677 [Core Tor/Chutney]: Stop waiting a set time for onion service descriptors
#33677: Stop waiting a set time for onion service descriptors
-------------------------+-------------------------------------------------
Reporter: teor | Owner: (none)
Type: | Status: new
enhancement |
Priority: Medium | Milestone:
Component: Core | Version:
Tor/Chutney |
Severity: Normal | Keywords: ipv6, prop311, outreachy-ipv6, easy
Actual Points: | Parent ID: #33609
Points: 0.5 | Reviewer:
Sponsor: |
Sponsor55-can |
-------------------------+-------------------------------------------------
When we make chutney check for onion service descriptors, we can stop
waiting a set time for onion service descriptors to download.
First, set HS_WAIT_FOR_UNCHECKED_DIR_INFO to 0:
https://github.com/torproject/chutney/blob/master/lib/chutney/TorNet.py#L953
Then check that `make test-network-all` still passes on:
* Tor master,
* Tor maint-0.3.5
Then check that chutney's CI still passes.
If all those tests pass, we can remove all the code that uses
HS_WAIT_FOR_UNCHECKED_DIR_INFO:
* remove HS_WAIT_FOR_UNCHECKED_DIR_INFO
* remove getUncheckedDirInfoWaitTime()
* remove all the variables, code, and comments that depend on
getUncheckedDirInfoWaitTime()
*
https://github.com/torproject/chutney/blob/master/lib/chutney/TorNet.py#L2226
*
https://github.com/torproject/chutney/blob/master/lib/chutney/TorNet.py#L2266
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33677>
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