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

fix: call update_connection_history for proxified connections #6075

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Oct 20, 2024

Closes #6074

@link2xt link2xt self-assigned this Oct 20, 2024
@link2xt link2xt force-pushed the link2xt/proxy-update_connection_history branch from 7ac39ba to 6d3fb44 Compare October 20, 2024 15:39
/// `addr` is the string representation of IP address.
/// If connection is made over a proxy which does
/// its own DNS resolution,
/// `addr` should be the same as `host`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe still better an empty string? That would be shorter codewise. Why does this matter at all?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not really matter, just has to be consistent so we don't get multiple entries, some for "", some for the host, some for "proxy" etc.

@link2xt link2xt merged commit 94c6d1d into main Oct 20, 2024
37 checks passed
@link2xt link2xt deleted the link2xt/proxy-update_connection_history branch October 20, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update_connection_history is not used when proxy is enabled
3 participants