micro/client
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
..
grpc fixes for safe conversation and avoid panics (#1213) 2020-02-18 23:05:38 +00:00
mucp fix import paths for v2 release 2020-01-30 14:44:40 +03:00
selector fix import paths for v2 release 2020-01-30 14:44:40 +03:00
service/proto fix import paths for v2 release 2020-01-30 14:44:40 +03:00
backoff_test.go format results in TestBacloff 2020-01-30 20:08:03 +03:00
backoff.go New backoff (#1153) 2020-02-02 20:32:55 +00:00
client.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
common_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
context.go switch to stdlib context 2018-03-03 11:53:52 +00:00
options_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
options.go add missing option to client.NewMessage (#1212) 2020-02-18 14:18:59 +03:00
retry.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_client_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_client.go fixes for safe conversation and avoid panics (#1213) 2020-02-18 23:05:38 +00:00
rpc_codec.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_message.go add message options 2018-05-10 17:33:54 +01:00
rpc_request_test.go rename method to endpoint 2019-01-10 21:25:31 +00:00
rpc_request.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_response.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_stream.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
wrapper.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00