Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2363] Fix tcp port handling #1144

Merged
merged 5 commits into from
Mar 20, 2019

Conversation

mbaxter
Copy link
Contributor

@mbaxter mbaxter commented Mar 20, 2019

PR description

Most peers discovered on the network only define a single UDP port and have no explicitly defined TCP port. I experimentally confirmed that at least some of these peers are listening on the TCP port matching the advertised UDP port. This PR modifies NettyP2PNetwork to attempt reaching out to all peers even if no TCP port is defined. Additionally there's some minor cleanup for some variable and function names I came across that were inaccurate.

@mbaxter mbaxter changed the title [PAN-2376] Fix tcp port handling [PAN-2363] Fix tcp port handling Mar 20, 2019
Copy link
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

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

LGTM.

@ajsutton ajsutton merged commit 58e5e86 into PegaSysEng:master Mar 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants