Merge "Increase SSL input buffer size to accommodate large number of flows"
authorChi-Vien Ly <chivly@cisco.com>
Thu, 13 Feb 2014 07:17:11 +0000 (07:17 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 13 Feb 2014 07:17:11 +0000 (07:17 +0000)
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