Permalink
Browse files

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

… and jdk < 7. See #267
  • Loading branch information...
1 parent 2db3e59 commit 02dc9ea8c16fbed57aa5e03799a5120f36e78723 @normanmaurer normanmaurer committed Apr 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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());
}
/**

0 comments on commit 02dc9ea

Please sign in to comment.