Skip to content

Conversation

geobeau
Copy link

@geobeau geobeau commented May 9, 2022

This is necessary to implement TLS as the "service" info only report the clear service port.
It will be easy to expand the "services_name" to return peers-tls

Required for #8


#[test]
fn parse_peers_works() {
let work = "6,3000,[[12A0,aerospike.preprod.crto.in,[192.168.1.13:4333]],[11A1,aerospike.preprod.crto.in,[192.168.3.78]],[11A1,aerospike.preprod.crto.in,[localhost]]]";
Copy link
Contributor

Choose a reason for hiding this comment

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

The used Hostnames and IPs look like real ones. Maybe change that to dummy addresses?

Copy link
Author

Choose a reason for hiding this comment

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

IP were dummy but not the hostname indeed.

Changed them also corrected a bug where the tls_hostname is ommited

This is necessary to implement TLS as service only report the clear service port.
It will be easy to expand the "services_name" to return peers-tls
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.

2 participants