You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2016/10/11 14:18:09 UTC

qpid-jms git commit: QPIDJMS-213: update to Netty 4.1.5

Repository: qpid-jms
Updated Branches:
  refs/heads/master 1d95f6d56 -> bd03decdd


QPIDJMS-213: update to Netty 4.1.5


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/bd03decd
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/bd03decd
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/bd03decd

Branch: refs/heads/master
Commit: bd03decdd9200b5185df7c2a6818e72b8ca03188
Parents: 1d95f6d
Author: Robert Gemmell <ro...@apache.org>
Authored: Tue Oct 11 15:17:07 2016 +0100
Committer: Robert Gemmell <ro...@apache.org>
Committed: Tue Oct 11 15:17:07 2016 +0100

----------------------------------------------------------------------
 pom.xml                                                         | 2 +-
 .../jms/transports/netty/PartialPooledByteBufAllocator.java     | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/bd03decd/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d006d0b..2ce270e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,7 +44,7 @@
 
     <!-- Dependency Versions for this Project -->
     <proton-version>0.14.0</proton-version>
-    <netty-version>4.0.41.Final</netty-version>
+    <netty-version>4.1.5.Final</netty-version>
     <slf4j-version>1.7.21</slf4j-version>
     <!-- <geronimo-jms-1-1-spec-version>1.1.1</geronimo-jms-1-1-spec-version> -->
     <geronimo.jms.2.spec.version>1.0-alpha-2</geronimo.jms.2.spec.version>

http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/bd03decd/qpid-jms-client/src/main/java/org/apache/qpid/jms/transports/netty/PartialPooledByteBufAllocator.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/transports/netty/PartialPooledByteBufAllocator.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/transports/netty/PartialPooledByteBufAllocator.java
index 4ed5267..64ad733 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/transports/netty/PartialPooledByteBufAllocator.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/transports/netty/PartialPooledByteBufAllocator.java
@@ -153,4 +153,9 @@ public class PartialPooledByteBufAllocator implements ByteBufAllocator
    {
       return true;
    }
+
+   @Override
+   public int calculateNewCapacity(int minNewCapacity, int maxCapacity) {
+      return POOLED.calculateNewCapacity(minNewCapacity, maxCapacity);
+   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org