AlreadyReading flag not used correctly 44/32844/2
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 15 Jan 2016 20:50:23 +0000 (21:50 +0100)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 15 Jan 2016 20:50:23 +0000 (21:50 +0100)
commit1de9685954275657b096f2e4f325f247028cb7e8
tree227dcd6cf74e24f7313aa0bfa9d142fd98e508e3
parentcc78a55e20427986800b524be5080218eccbf8f9
AlreadyReading flag not used correctly

 - alreadyReading field is set correctly in channelRead() to signal that
   reading occurs and that any tries to flush are not needed, as a flush
   is always scheduled after the reading is done
 - alreadyReading flag was not set back to false, which
   might cause unnecessary checks for flush being scheduled

Change-Id: Icafdf282390340b176cbe4d9702c84558af8b412
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/AbstractOutboundQueueManager.java