Skip to content

Commit

Permalink
Update Netty version to 4.1.41.Final
Browse files Browse the repository at this point in the history
Adapt to a change in Netty connection pool
netty/netty#9542
  • Loading branch information
violetagg authored and smaldini committed Oct 24, 2019
1 parent 27956e2 commit 4f6c954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ext {
assertJVersion = '3.6.1'

// Libraries
nettyVersion = '4.1.39.Final'
nettyVersion = '4.1.41.Final'
jacksonDatabindVersion = '2.5.1'

// Testing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ void registerClose(Channel c, Pool pool) {
}
c.closeFuture()
.addListener(ff -> {
if (AttributeKey.exists("channelPool")) {
if (AttributeKey.exists("channelPool." + System.identityHashCode(pool.pool))) {
pool.release(c);
}
pool.inactiveConnections.decrementAndGet();
Expand Down

0 comments on commit 4f6c954

Please sign in to comment.