[tor-bugs] #23114 [Core Tor/Tor]: Circuit Build Timeout should apply at circuit completion
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Nov 30 09:56:18 UTC 2017
#23114: Circuit Build Timeout should apply at circuit completion
-------------------------------------------------+-------------------------
Reporter: mikeperry | Owner:
| mikeperry
Type: enhancement | Status:
| merge_ready
Priority: Medium | Milestone: Tor:
| 0.3.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: guard-discovery-prop247-controller, | Actual Points:
review-group-25, review-group-26 |
Parent ID: #23100 | Points:
Reviewer: asn | Sponsor:
-------------------------------------------------+-------------------------
Changes (by asn):
* status: needs_review => merge_ready
Comment:
Replying to [comment:18 mikeperry]:
> I added the comment and the consts in
7ecc6ebcc2d58fd49ece7a4478a5b0eee0a97c37.
>
> I don't think that bending over backwards to propagate
first_hop_succeded is an improvement. The variable is basically an alias
for the first cpath being STATE_OPENED. This serves as a clarifying
comment rather than than an optimization or abstraction. Trying to
propagate the result a long way will be both less clear and more error
prone, and doesn't save us anything that the compiler wouldn't optimize
anyway.
>
I suggested that not for optimization purposes, but because it's non-
trivial code duplication, that might bite us in the future if we change
one instance and not the other.
Anyhow, it's nothing tragic, so I'll defer to Nick. Marking this and
#23100 as `merge_ready`.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23114#comment:19>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list