Commit Graph

12 Commits

Author SHA1 Message Date
Ben Toogood
f874f4cc97 Fix nil grpc server auth bug 2020-09-20 15:11:09 +03:00
f727b75b6f server/grpc: add MaxConn option to limit max inflight requests (#1247)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-20 15:11:08 +03:00
70cc7c93ef 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-09-20 15:11:08 +03:00
Asim Aslam
471d2205bd accept Listen option in grpc server (#1201) 2020-09-20 15:11:08 +03:00
6b5eb3555b fix import paths for v2 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-20 15:11:08 +03:00
Asim Aslam
b7ee22d993 Add monitor/debug packages 2020-09-20 15:11:08 +03:00
Asim Aslam
a1154590f2 Strip the verbosity of the debug handler 2020-09-20 15:11:08 +03:00
Asim Aslam
596c435086 Fix breaks and go fmt 2020-09-20 15:11:08 +03:00
Asim Aslam
b6dd5a84c7 move transport back 2020-09-20 15:11:08 +03:00
Asim Aslam
d631074eff gofmt 2020-09-20 15:11:08 +03:00
Asim Aslam
246f5c3dd5 Move transport to network/transport 2020-09-20 15:11:08 +03:00
Asim Aslam
8a3538eb77 Further consolidate the libraries 2020-09-20 15:11:08 +03:00