BUG-813 Double the SSL input packet buffer size 04/6404/1
authorMoiz Raja <moraja@cisco.com>
Thu, 30 Jan 2014 06:14:39 +0000 (22:14 -0800)
committerMoiz Raja <moraja@cisco.com>
Fri, 25 Apr 2014 21:33:27 +0000 (14:33 -0700)
Change-Id: I078890b5f383388372e099ad3b08ef2c2ca37e8c
Signed-off-by: Jason Ye <yisye@cisco.com>
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/SecureMessageReadWriteService.java

index 90b47cf26421e6ff6a05c0e6ef21451c52173ac9..d60bcab8b32fdf299d68505c348fe5b4fc5ec831 100644 (file)
@@ -407,9 +407,9 @@ public class SecureMessageReadWriteService implements IMessageReadWrite {
         this.myAppData = ByteBuffer
                 .allocate(session.getApplicationBufferSize());
         this.peerAppData = ByteBuffer.allocate(session
-                .getApplicationBufferSize());
+                .getApplicationBufferSize() * 2);
         this.myNetData = ByteBuffer.allocate(session.getPacketBufferSize());
-        this.peerNetData = ByteBuffer.allocate(session.getPacketBufferSize());
+        this.peerNetData = ByteBuffer.allocate(session.getPacketBufferSize() * 2);
     }
 
     @Override