mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
or_connection_t: replace real_addr with canonical_orport.
Instead of replacing connection_t.{addr,port} with a canonical
orport, and tracking the truth in real_addr, we now leave
connection_t.addr alone, and put the canonical address in
canonical_orport.
Closes #40042
Closes #33898
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
o Minor features (relay address tracking):
|
||||
- We store relay addresses for OR connections in a more logical way.
|
||||
Previously we would sometimes overwrite the actual address of a
|
||||
connection with a "canonical address", and then store the "real
|
||||
address" elsewhere to remember it. We now track the "canonical address"
|
||||
elsewhere for the cases where we need it, and leave the connection's
|
||||
address alone. Closes ticket 33898.
|
||||
Reference in New Issue
Block a user