BUG-3219: Throw away message as soon as we send it out 98/20998/1
authorRobert Varga <rovarga@cisco.com>
Thu, 21 May 2015 12:57:48 +0000 (14:57 +0200)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 22 May 2015 15:34:28 +0000 (15:34 +0000)
commit354c77b535184f0743baa30304d53bf2eea9c936
tree031328d78430d9722b2c5f15d8748650fa960d69
parentfb53aa09a2412caccf65731f5868b70915567ec2
BUG-3219: Throw away message as soon as we send it out

In order to relieve pressure on memory, do not wait until the entire
buffer is acknowledged, but clear the message as soon as we send it to
the network.

Change-Id: Ie64c1e0a011e1d1a1a0a98a21d9cc90642f81e6c
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit be5f0cac1babcfccc7209657f2541dd0818c5cb0)
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueEntry.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueImpl.java