144014db34
allocations improvements and tunnel fixes ( #1248 )
...
* reduce allocations in tunnel code
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* another allocation fix
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* allocate maps with len if it known
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* allocate key for send once
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-18 16:32:52 +03:00
978659a441
client/grpc: fix panic on invalid message ( #1191 )
...
* client/grpc: fix panic on invalid message
* travis: disable lint and race for now
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-18 16:32:52 +03:00
0807802cea
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-18 16:32:52 +03:00
Asim Aslam
8c86ad526f
fix grpc json streaming by setting content sub type ( #1089 )
2020-09-18 16:32:52 +03:00
Milos Gajdos
f0fd4f90a5
Fixing dead code and go vet moaning
2020-09-18 16:32:52 +03:00
b3a60ba4f1
linting fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-18 16:32:52 +03:00
Asim Aslam
756857f1a6
Add grpc content-type
2020-09-18 16:32:52 +03:00
Joe
e2b8abd86a
grpc: using jsonpb.Marshaler to do Marshal, map to jsonpb.Unmarsh
2020-09-18 16:32:52 +03:00
e782237b41
codec grpc: fix extra allocations on message unmarshal
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-18 16:32:52 +03:00
Joe
fb97097ef6
if unmarshal target is proto.Message, using jsonpb
2020-09-18 16:32:52 +03:00
Asim Aslam
e83572b994
Add working grpc proxy config
2020-09-18 16:32:52 +03:00
Asim Aslam
76265b618b
add cruft
2020-09-18 16:32:52 +03:00
Asim Aslam
37e2bf5695
Further consolidate the libraries
2020-09-18 16:32:52 +03:00