Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #27928

Closed (moved)
(moved)
Open
Created Oct 02, 2018 by rl1987@rl1987

Refrain from listener rebinding when address families differ

In retry_listener_ports, we check if port matches exactly and one of the addresses is a wildcard address:

2795         const int may_need_rebind =
2796           port_matches_exact && bool_neq(tor_addr_is_null(&wanted->addr),
2797                                          tor_addr_is_null(&conn->addr));

We should also check if address family is the same between old and new listener. If they differ, we don't need to do rebinding. See discussion on #17873 (moved).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking