[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #18809 [Tor]: Handle linked connections better during bootstrap
#18809: Handle linked connections better during bootstrap
------------------------+------------------------------------
Reporter: teor | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.2.8.x-final
Component: Tor | Version: Tor: 0.2.8.1-alpha
Severity: Normal | Keywords: must-fix-before-028-rc
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------+------------------------------------
begindir connections advance directly to the CLIENT_SENDING state, even
before their TLS connection is created.
So we need to modify the logic from #4483 that checks for consensuses that
are downloading:
* is it a direct connection in state after connecting, or
* a linked connection that's attached, or
* a linked connection that's in a state after sending
And then do the standard "extra consensus download check" when we're about
to link a directory connection to a TLS connection.
Or arma may have a better idea.
I am not sure whether we should fix this in 0.2.8, because the current
code works, but it's not optimal when too many TLS connections hang.
Tagging it just in case.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18809>
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