AlreadyReading flag not used correctly 94/32694/3
authorMichal Polkorab <michal.polkorab@pantheon.sk>
Sat, 16 Jan 2016 21:55:33 +0000 (22:55 +0100)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Sat, 16 Jan 2016 21:55:33 +0000 (22:55 +0100)
commit861b8da48425288e5769ca837d9dd4f86fe958fb
tree8dbc91a4fda7005dc6447c934c0d72d8b4c66979
parentc2e3a0d22602b63a1664baa49f466a64396e0583
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