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: switch to single bind for resolve connect error with multi-addresses machine #172

Merged
merged 5 commits into from
Jul 20, 2024

Conversation

giangndm
Copy link
Contributor

This PR add config bind-addr by specific SocketAddr instead of port only. This is for resolving connect error with some machine with multiple ip addresses.

In future we should support multiple bind addresses, this is tracked with separated issue: #171

Copy link

codecov bot commented Jul 20, 2024

Codecov Report

Attention: Patch coverage is 38.66667% with 46 lines in your changes missing coverage. Please review.

Project coverage is 83.20%. Comparing base (b7f9be7) to head (ad938e9).
Report is 1 commits behind head on master.

Files Patch % Lines
...work/src/controller_plane/neighbours/connection.rs 30.76% 36 Missing ⚠️
packages/runner/src/builder.rs 60.00% 8 Missing ⚠️
bin/src/main.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #172      +/-   ##
==========================================
- Coverage   83.59%   83.20%   -0.39%     
==========================================
  Files          68       68              
  Lines        9019     9032      +13     
==========================================
- Hits         7539     7515      -24     
- Misses       1480     1517      +37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

session
);
self.switch_to_incoming(session);
State::IncomingWait { at_ms } => {

Check warning

Code scanning / clippy

unused variable: at_ms Warning

unused variable: at\_ms
}
}
}
State::OutgoingWait { requester, .. } => {

Check warning

Code scanning / clippy

unused variable: requester Warning

unused variable: requester
@giangndm giangndm merged commit e3ae359 into 8xFF:master Jul 20, 2024
4 checks passed
@github-actions github-actions bot mentioned this pull request Jul 20, 2024
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.

1 participant