Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add workaround for connection problems with IPv6 link-local addresses…

… and jdk < 7. See #267
  • Loading branch information...
commit 02dc9ea8c16fbed57aa5e03799a5120f36e78723 1 parent 2db3e59
@normanmaurer normanmaurer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  common/src/main/java/io/netty/util/internal/SocketUtil.java
View
2  common/src/main/java/io/netty/util/internal/SocketUtil.java
@@ -35,7 +35,7 @@
*
*/
public static InetSocketAddress stripZoneId(InetSocketAddress socketAddress) throws UnknownHostException {
- return new InetSocketAddress(socketAddress.getAddress(), socketAddress.getPort());
+ return new InetSocketAddress(stripZoneId(socketAddress.getAddress()), socketAddress.getPort());
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.