File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/java/com/ning/http/client/providers/netty/channel Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 262
262
<configuration >
263
263
<signature >
264
264
<groupId >org.codehaus.mojo.signature</groupId >
265
- <artifactId >java16 </artifactId >
265
+ <artifactId >java17 </artifactId >
266
266
<version >1.0</version >
267
267
</signature >
268
268
</configuration >
269
269
<executions >
270
270
<execution >
271
- <id >check-java-1.6 -compat</id >
271
+ <id >check-java-1.7 -compat</id >
272
272
<phase >process-classes</phase >
273
273
<goals >
274
274
<goal >check</goal >
567
567
<surefire .redirectTestOutputToFile>true</surefire .redirectTestOutputToFile>
568
568
<netty .version>3.9.3.Final</netty .version>
569
569
<grizzly .version>2.3.16</grizzly .version>
570
- <maven .compiler.source>1.6 </maven .compiler.source>
571
- <maven .compiler.target>1.6 </maven .compiler.target>
570
+ <maven .compiler.source>1.7 </maven .compiler.source>
571
+ <maven .compiler.target>1.7 </maven .compiler.target>
572
572
<surefire .version>2.12</surefire .version>
573
573
</properties >
574
574
</project >
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public SslInitializer(ChannelManager channelManager) {
38
38
public void connectRequested (ChannelHandlerContext ctx , ChannelStateEvent e ) throws Exception {
39
39
40
40
InetSocketAddress remoteInetSocketAddress = (InetSocketAddress ) e .getValue ();
41
- String peerHost = remoteInetSocketAddress .getHostName ();
41
+ String peerHost = remoteInetSocketAddress .getHostString ();
42
42
int peerPort = remoteInetSocketAddress .getPort ();
43
43
44
44
SslHandler sslHandler = channelManager .createSslHandler (peerHost , peerPort );
You can’t perform that action at this time.
0 commit comments