micro/server
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
mock fix import paths for v2 release 2020-01-30 14:44:40 +03:00
mucp fix import paths for v2 release 2020-01-30 14:44:40 +03:00
proto fix import paths for v2 release 2020-01-30 14:44:40 +03:00
context.go Wait() option now accept *sync.WaitGroup 2019-05-27 21:17:57 +08:00
extractor_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
extractor.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
handler.go add AutoAck support for Server 2019-05-24 20:06:27 +08:00
options.go Fix Micro Proxy nil Transport Bug (#1208) 2020-02-17 12:28:48 +03:00
rpc_codec_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_codec.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_event.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_handler.go fix import paths for v2 release 2020-01-30 14:44:40 +03: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_router.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_server.go various fixes for broker and messaging in server (#1187) 2020-02-11 18:41:23 +00:00
rpc_stream_test.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
rpc_util.go Fix rpc go routine leak 2019-11-27 17:12:07 +00:00
server.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
subscriber.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
wrapper.go move wrapper files 2018-04-14 19:24:17 +01:00