zk1931 / jzab

ZooKeeper Atomic Broadcast in Java
http://zk1931.github.io/jzab/master/
Apache License 2.0
54 stars 23 forks source link

Netty: Close incoming connection on clear() #185

Closed ghost closed 10 years ago

ghost commented 10 years ago

Explicitly close the incoming connection in the following 2 cases to satisfy the 'single iteration' property of zab channel:

  1. Outgoing connection got closed.
  2. Application called Transport.clear().