Vasiliy Tolstov 58598d0fe0
fixes for safe conversation and avoid panics (#1213)
* fixes for safe convertation

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* fix client publish panic

If broker connect returns error we dont check it status and use
it later to publish message, mostly this is unexpected because
broker connection failed and we cant use it.
Also proposed solution have benefit - we flag connection status
only when we have succeseful broker connection

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* api/handler/broker: fix possible broker publish panic

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-18 23:05:38 +00:00
..
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00
2020-01-30 20:08:03 +03:00
2020-02-02 20:32:55 +00:00
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00
2018-03-03 11:53:52 +00:00
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00
2018-05-10 17:33:54 +01:00
2019-01-10 21:25:31 +00:00
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00