zigpy / bellows

A Python 3 project to implement EZSP for EmberZNet devices
GNU General Public License v3.0
179 stars 87 forks source link

Treat TCP disconnects as lost connections #515

Closed puddly closed 1 year ago

puddly commented 1 year ago

protocol.eof_received() is called when the other side closes the connection. It implicitly calls protocol.connection_lost(None), which breaks reconnection logic.