SIDN / spin

SPIN Core Software
https://spin.sidnlabs.nl
GNU General Public License v2.0
77 stars 9 forks source link

core2pubsub.c: more robust error handling in wf_mosquitto() #58

Closed cschutijser closed 5 years ago

cschutijser commented 5 years ago

This one may be a bit more controversial than #57. We may not want to terminate if an error occurs here but try to recover instead (e.g. by reconnecting on failure). But this is better than just carrying on. I only compile-tested this.

cschutijser commented 5 years ago

Let's not address this problem by shutting down the SPIN daemon. I'll close this pull request.