GitHub user geek101 opened a pull request:
https://github.com/apache/zookeeper/pull/199
ZOOKEEPER-2184: Resolve address only on demand.
Wrap hostname and port into a new ServerCfg class and fix
all the places to use it instead of InetSocketAddress.
This class can be used in the future to encapsulate other
nice config information for example certificate
fingerprint associated with the host etc.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/geek101/zookeeper
branch-3.5-hostname-resolve-always
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/199.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #199
----
commit ec219a4f40fe46a9743ad13ff910f9be9f383f3c
Author: Powell Molleti <[email protected]>
Date: 2017-03-17T07:59:23Z
Resolve address only on demand.
Wrap hostname and port into a new ServerCfg class and fix
all the places to use it instead of InetSocketAddress.
This class can be used in the future to encapsulate other
nice config information for example certificate
fingerprint associated with the host etc.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---