AlreadyReading flag not used correctly 55/32855/1
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 21:13:41 +0000 (21:13 +0000)
commita410244db84c1f42b8fd97500ffbb2f408a1435e
tree3841b845adacceb8c070b2b5033eacf6b1b49ea9
parent62c0db21eb5d45415011647427ba9f7a0dc69302
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>
(cherry picked from commit 1de9685954275657b096f2e4f325f247028cb7e8)
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/AbstractOutboundQueueManager.java