-
Notifications
You must be signed in to change notification settings - Fork 38.7k
net, refactor: Kill proxy globals #26590
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
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
ad3a745 to
8df0c4c
Compare
| script/sign.cpp \ | ||
| script/signingprovider.cpp \ | ||
| script/standard.cpp \ | ||
| socks5.cpp \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same ;)
|
🐙 This pull request conflicts with the target branch and needs rebase. |
|
I guess it could still make sense to do a move-only build system change to move proxy/socks out of the bins that don't need it (wallet, util, cli, ...)? |
+1 |
|
I did that in fa02d16, but I am not sure how useful it is. Maybe it would make more sense to create a separate net_utils library? |
This PR moves the proxy info globals into their own component
ProxyManagerwhichCConnmanis made to hold an instance of.The alternative here would be to move the proxy info data directly into
CConnmanbut it seems a little nicer for testing to have this be a self contained component.