-
Notifications
You must be signed in to change notification settings - Fork 215
Closed
Description
On some devices (original Moto G, Galaxy S4) the reverse DNS lookup that takes place in TcpSockets.onConnect is exceedingly slow, taking about 10 seconds. Can this be changed to skip the reverse DNS lookup and always return an IP address?
Unless there is some reason that it needs to return the host name, the following change should handle the issue.
addressParams.putString("address", address.getHostName());
to
addressParams.putString("address", address.getHostString());
Metadata
Metadata
Assignees
Labels
No labels