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

Improve TurnClient connection #308

Merged
merged 2 commits into from
Jun 27, 2019

Conversation

longfin
Copy link
Member

@longfin longfin commented Jun 27, 2019

This PR adds improves connectivity of TurnClient._control by adding TurnClient.EnsureConnection to ensure _control connection before processing.

@longfin longfin requested review from dahlia and earlbread June 27, 2019 06:26
@longfin longfin force-pushed the feature/ensure-turn-connection branch 2 times, most recently from cb5a2a7 to b272c40 Compare June 27, 2019 06:30
@longfin longfin marked this pull request as ready for review June 27, 2019 06:30
Copy link
Contributor

@earlbread earlbread left a comment

Choose a reason for hiding this comment

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

It seems to need to rebase.

CHANGES.md Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jun 27, 2019

Codecov Report

Merging #308 into master will decrease coverage by 0.15%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #308      +/-   ##
==========================================
- Coverage    87.6%   87.45%   -0.16%     
==========================================
  Files         187      187              
  Lines       12677    12690      +13     
==========================================
- Hits        11106    11098       -8     
- Misses       1322     1343      +21     
  Partials      249      249
Impacted Files Coverage Δ
Libplanet/Net/IceServer.cs 0% <0%> (ø) ⬆️
Libplanet.Stun/Stun/TurnClient.cs 0% <0%> (ø) ⬆️
Libplanet.Tests/Net/SwarmTest.cs 92.55% <0%> (-1.13%) ⬇️

@longfin longfin force-pushed the feature/ensure-turn-connection branch 2 times, most recently from 7f40945 to d777c2c Compare June 27, 2019 06:41
@longfin longfin force-pushed the feature/ensure-turn-connection branch from d777c2c to c176346 Compare June 27, 2019 06:44
@longfin longfin requested review from dahlia and earlbread June 27, 2019 06:44
earlbread
earlbread previously approved these changes Jun 27, 2019
dahlia
dahlia previously approved these changes Jun 27, 2019
@longfin longfin dismissed stale reviews from dahlia and earlbread via 1c914ed June 27, 2019 07:27
@longfin
Copy link
Member Author

longfin commented Jun 27, 2019

I've added 1c914ed to avoid ArgumentException on IceServer.CreateTurnClient().

@longfin longfin requested review from dahlia and earlbread June 27, 2019 08:02
Libplanet/Net/IceServer.cs Outdated Show resolved Hide resolved
@longfin longfin force-pushed the feature/ensure-turn-connection branch from 1c914ed to f7362fa Compare June 27, 2019 08:08
@longfin longfin requested a review from dahlia June 27, 2019 08:09
@longfin longfin merged commit 07beabf into planetarium:master Jun 27, 2019
limebell pushed a commit to limebell/libplanet that referenced this pull request Jul 7, 2021
Merge branch `rc-v100032` into main
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.

3 participants