Skip to content

Commit

Permalink
Merge pull request #479 from lutovich/1.6-upgrade-netty
Browse files Browse the repository at this point in the history
Upgrade Netty from 4.1.16.Final to 4.1.22.Final
  • Loading branch information
ali-ince authored Apr 3, 2018
2 parents bee069a + 9cc883a commit e2b98bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,7 @@ public void operationComplete( ChannelFuture future )
ChannelPipeline pipeline = channel.pipeline();
pipeline.addLast( new HandshakeHandler( pipelineBuilder, handshakeCompletedPromise, logging ) );
log.debug( "C: [Bolt Handshake] %s", handshakeString() );
ChannelFuture handshakeFuture = channel.writeAndFlush( handshakeBuf() );

handshakeFuture.addListener( channelFuture ->
{
if ( !channelFuture.isSuccess() )
{
handshakeCompletedPromise.setFailure( channelFuture.cause() );
}
} );
channel.writeAndFlush( handshakeBuf(), channel.voidPromise() );
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
<version>4.1.16.Final</version>
<version>4.1.22.Final</version>
</dependency>
<dependency>
<groupId>org.hdrhistogram</groupId>
Expand Down

0 comments on commit e2b98bf

Please sign in to comment.