Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #13447

Closed (moved)
Open
Opened Oct 17, 2014 by Trac@tracbot

Don't build introduction circuits until we know we can build circuits

When the network is disabled and re-enabled via DisableNetwork, Tor will try to build new introduction circuits as soon as the network is re-enabled. The circuits will fail and Tor will wait for five minutes (INTRO_CIRC_RETRY_PERIOD) before trying again.

This patch sets can_complete_circuit to 0 when the network is disabled, and doesn't try to build intro circuits while can_complete_circuit is 0, so when the network is re-enabled Tor will wait for a circuit to be successfully built before trying to build intro circuits.

This should improve the performance of hidden services that use DisableNetwork to respond to connectivity changes, such as services running on mobile devices.

Trac:
Username: akwizgran

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.6.x-final
Milestone
Tor: 0.2.6.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#13447