Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticket40042 #2010

Closed
wants to merge 11 commits into from
Closed

Ticket40042 #2010

wants to merge 11 commits into from

Conversation

nmathewson
Copy link
Contributor

No description provided.

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
Set the address field earlier, even though we won't need it.
(assert_connection_ok() requires that address be set.)
Only set the address field if it is not already set.
@coveralls
Copy link

coveralls commented Jul 16, 2020

Pull Request Test Coverage Report for Build 9588

  • 16 of 35 (45.71%) changed or added relevant lines in 5 files are covered.
  • 4 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.0006%) to 64.369%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/core/or/dos.c 3 4 75.0%
src/lib/net/address.c 0 4 0.0%
src/core/or/channeltls.c 1 7 14.29%
src/core/or/connection_or.c 4 12 33.33%
Files with Coverage Reduction New Missed Lines %
src/core/or/channeltls.c 1 43.85%
src/core/or/connection_or.c 3 35.35%
Totals Coverage Status
Change from base Build 9579: -0.0006%
Covered Lines: 51373
Relevant Lines: 79810

💛 - Coveralls

@ghost ghost closed this May 25, 2021
@ghost ghost deleted the branch torproject:master May 25, 2021 12:57
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants