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

[PAN-2605] Add getPeer method to PeerConnection #1383

Merged

Conversation

mbaxter
Copy link
Contributor

@mbaxter mbaxter commented May 1, 2019

PR description

Add method PeerConnection.getPeer() to make it easier to consolidate API's around the Peer representation. This PR also adds a check to make sure that the peer we attempt to connect to matches the peer info we receive once the connection is established.

mbaxter added 2 commits May 1, 2019 12:46
Disconnect if connecting peer does not match our expectations.
@mbaxter mbaxter marked this pull request as ready for review May 1, 2019 19:07
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.

@mbaxter mbaxter merged commit c770e37 into PegaSysEng:master May 1, 2019
notlesh pushed a commit to notlesh/pantheon that referenced this pull request May 4, 2019
notlesh pushed a commit to notlesh/pantheon that referenced this pull request May 14, 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