AtherEnergy / rumqtt

Pure rust mqtt cilent
The Unlicense
202 stars 71 forks source link

Detect server disconnections immediately #97

Closed tekjar closed 5 years ago

tekjar commented 6 years ago

selecting on 2 streams will continue after the first stream ends. In our case, our network stream will end when the socket is cleanly closed by the server but the channel stream will continue. Replace select with a custom stream which throws error when network stream ends

tekjar commented 5 years ago

Implemented in #104