Skip to content

Conversation

slovdahl
Copy link
Contributor

Fixes #2525.

Comment on lines +638 to +652
/**
* @deprecated use {@link #remoteInetSocketAddress(Callable, boolean)} instead
*/
@Deprecated
Builder remoteInetSocketAddress(Callable remoteAddr);

/**
* @deprecated use {@link #localInetSocketAddress(Callable, boolean)} instead
*/
@Deprecated
Builder localInetSocketAddress(Callable localAddr);

Builder remoteInetSocketAddress(Callable<InetSocketAddress> remoteAddr, boolean disableDnsLookup);

Builder localInetSocketAddress(Callable<InetSocketAddress> localAddr, boolean disableDnsLookup);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this ok? Or can we update the signature of the existing method? It is technically a breaking change, but not sure if there are calls to these methods outside Atmosphere.

@jfarcand jfarcand merged commit 0c7214a into Atmosphere:main Oct 10, 2025
3 checks passed
@slovdahl slovdahl deleted the option-to-disable-dns-lookups branch October 13, 2025 05:19
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.

AtmosphereRequest.getRemoteHost() method call does unconditional DNS lookup

2 participants