Increase SSL input buffer size to accommodate large number of flows 93/5293/1
authorJason Ye <yisye@cisco.com>
Thu, 13 Feb 2014 03:07:05 +0000 (19:07 -0800)
committerJason Ye <yisye@cisco.com>
Thu, 13 Feb 2014 03:07:05 +0000 (19:07 -0800)
Change-Id: I59036ba805682ef1d4dae0d7a7d5f7f40acd94ac
Signed-off-by: Jason Ye <yisye@cisco.com>
opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/core/internal/SecureMessageReadWriteService.java

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