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

Remove support for address resolving in InetSocketTransportAddress #13020

Merged
merged 2 commits into from
Aug 20, 2015

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Aug 20, 2015

this commit removes all support for reverse host name resolving from
InetSocketTransportAddress. This class now only returns IP addresses.

Closes #13014

this commit removes all support for reverse host name resolving from
InetSocketTransportAddress. This class now only returns IP addresses.

Closes elastic#13014
}

public static final InetSocketTransportAddress PROTO = new InetSocketTransportAddress();
public static final InetSocketTransportAddress PROTO = new InetSocketTransportAddress(new InetSocketAddress("127.0.0.1", 0));
Copy link
Contributor

Choose a reason for hiding this comment

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

What uses this? And why is forbidden APIs not angry about passing in String,int here... i feel like i banned that method. I dont like it as its wired to 127.0.0.1 in non-test code.

@rmuir
Copy link
Contributor

rmuir commented Aug 20, 2015

+1 for this.

@s1monw
Copy link
Contributor Author

s1monw commented Aug 20, 2015

pushed a new commit @rmuir

s1monw added a commit that referenced this pull request Aug 20, 2015
Remove support for address resolving in InetSocketTransportAddress
@s1monw s1monw merged commit aea5962 into elastic:master Aug 20, 2015
@s1monw s1monw deleted the issues/13014 branch August 20, 2015 21:10
s1monw added a commit that referenced this pull request Aug 20, 2015
Remove support for address resolving in InetSocketTransportAddress
@brwe brwe added v2.0.0-beta1 and removed v2.0.0 labels Aug 21, 2015
@clintongormley clintongormley added the :Distributed/Network Http and internode communication implementations label Aug 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Network Http and internode communication implementations >enhancement v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants