You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the ZitiConnectionSocketFactory class as part of the ziti-springboot-client, the connectSocket method creates an InetSocketAddress from the provided host parameter's hostName and port attributes. This causes a potential delay while the InetSocketAddress class attempts to resolve the provided name and port to a resolved address.
This is unnecessary since Ziti only uses the hostName and port when resolving the service for the connection.
Instead, the ZitiConnectionSocketFactory should use the InetSocketAddress.createUnresolved method to avoid the lookup delay.
The text was updated successfully, but these errors were encountered:
ahazeltonNF
added a commit
to ahazeltonNF/ziti-sdk-jvm
that referenced
this issue
Mar 12, 2024
In the
ZitiConnectionSocketFactory
class as part of the ziti-springboot-client, theconnectSocket
method creates an InetSocketAddress from the providedhost
parameter'shostName
andport
attributes. This causes a potential delay while theInetSocketAddress
class attempts to resolve the provided name and port to a resolved address.This is unnecessary since Ziti only uses the hostName and port when resolving the service for the connection.
Instead, the
ZitiConnectionSocketFactory
should use theInetSocketAddress.createUnresolved
method to avoid the lookup delay.The text was updated successfully, but these errors were encountered: