Add workaround for connection problems with IPv6 link-local addresses and jdk < 7. See #267
This commit is contained in:
parent
2db3e59a6c
commit
02dc9ea8c1
@ -35,7 +35,7 @@ public final class SocketUtil {
|
||||
*
|
||||
*/
|
||||
public static InetSocketAddress stripZoneId(InetSocketAddress socketAddress) throws UnknownHostException {
|
||||
return new InetSocketAddress(socketAddress.getAddress(), socketAddress.getPort());
|
||||
return new InetSocketAddress(stripZoneId(socketAddress.getAddress()), socketAddress.getPort());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user