Ben Toogood
ea29920afb
Add Priority to auth rules
2020-04-15 11:31:19 +01:00
268651df18
regenerate all proto based files ( #1531 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-14 16:25:09 +03:00
1063b954de
dont display t.Log/t.Logf as errors in github actions ( #1508 )
...
* fix tests and github action annotations
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-09 14:05:46 +03:00
9e6db79860
regenerate all proto ( #1440 )
...
* regenerate all proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* regenerate from proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* regenerate from proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-30 21:58:32 +01:00
7b385bf163
minimize allocations in logger and tunnel code ( #1323 )
...
* logs alloc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* tunnel allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* try to fix tunnel
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* cache cipher for send
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-11 17:55:39 +00:00
Pieter Voorwinden
7cad77bfc0
Initialize header to prevent assignment to entry in nil map error ( #1282 )
...
Co-authored-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-02 19:17:26 +03:00
5b0175c2e5
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-02-24 14:15:20 +00:00
117f56ebf7
prune util/log and user logger ( #1237 )
...
* prune util/log and user logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* plaintext logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* add newline
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-23 13:45:20 +00:00
f23638c036
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
Astone
caa1bcf9fe
named return value for error defer modify.
2019-12-09 11:08:21 +08:00
a1eaf9cc20
linting fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-12-04 00:22:02 +03:00
b8e96f45d4
add recovery in case of panics
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-12-03 02:25:40 +03:00
Asim Aslam
af94899b54
Fix rpc go routine leak
2019-11-27 17:12:07 +00:00
Asim Aslam
97cf478f71
Add tunnel fixes for quic and keepalive
2019-09-12 16:22:43 -07:00
Asim Aslam
6ec32805d0
Don't allow socket close while writing h2 headers
2019-09-10 18:26:12 -07:00
Asim Aslam
6daf4fda72
Full support for grpc server side
2019-08-26 12:33:59 +01:00
Asim Aslam
36623bfe50
Improve stream processing
2019-08-25 19:30:22 +01:00
Asim Aslam
6128d18ee0
checkpoint fixing data race to process h2 and grpc requests
2019-08-24 20:12:04 +01:00
Asim Aslam
56df10f68b
use keepalive in quic by default
2019-08-11 16:12:31 +01:00
e1709026e4
transport memory: add Send/Recv Timeout
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-08-03 15:39:44 +03:00
Asim Aslam
1db98ee0f0
move all the buffer references to util/buf
2019-07-28 19:33:24 +01:00
1217ca94b1
bunch of other ipv6 fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-07-18 08:59:53 +03:00
e688ab0a45
fix ipv6 addr parsing and using
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-07-17 12:20:29 +03:00
81d2259fac
transport memory: fix races
...
* fix race with rand.Intn for non default source
* increase random interval to avoid issues when many services
running on the host
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-07-13 23:47:57 +03:00
a72e1185da
memory transport: use write mutex lock when close
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-07-12 12:11:08 +03:00
Asim Aslam
7631463b94
fix compilation errors
2019-07-11 10:47:02 +01:00
Asim Aslam
dab0e9e9bc
Set next protos in quic
2019-07-11 09:38:20 +01:00
29fa8de98e
memory transport: fix race cond on channel close
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-07-11 01:21:03 +03:00
Asim Aslam
0bf54c122f
move transport back
2019-07-09 18:41:26 +01:00
Asim Aslam
d2d6841f02
Move transport to network/transport
2019-07-07 10:37:34 +01:00
Asim Aslam
c3611aead2
go fmt
2019-07-02 20:53:42 +01:00
Asim Aslam
372ad949ff
Rename to mucp transport
2019-07-02 00:48:15 +01:00
Asim Aslam
b4236f4430
Add network transport
2019-07-02 00:27:53 +01:00
Asim Aslam
d2857a7b16
Add web and update deps
2019-06-03 19:30:43 +01:00
Asim Aslam
44b17b7e4b
strip use of cmd
2019-06-03 19:07:09 +01:00
Asim Aslam
056e7e3c32
Merge pull request #486 from micro/quic
...
add quic transport
2019-06-03 18:50:55 +01:00
Asim Aslam
eec9a95a42
Merge pull request #485 from micro/grpc
...
Add grpc transport
2019-06-03 18:48:13 +01:00
Asim Aslam
b4874806df
Add util
2019-05-30 23:52:10 +01:00
Asim Aslam
ff1c325391
remove commented lines
2019-05-24 18:44:57 +01:00
Asim Aslam
e1578e93c7
add quic transport
2019-05-24 18:39:26 +01:00
Asim Aslam
25a0d05ac9
Add grpc transport
2019-05-24 17:15:59 +01:00
Asim Aslam
f5d37d92af
set nextprotos
2019-05-24 17:05:31 +01:00
0a8f9b0a62
fix race in http transport
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-02-15 17:20:00 +03:00
Asim Aslam
7888d3e13d
use official h2c server
2019-01-31 17:14:36 +00:00
Asim Aslam
b1a31134bd
Support micro proxy
2019-01-30 18:42:11 +00:00
Asim Aslam
39c24baca9
rename mock things to memory
2019-01-14 15:27:25 +00:00
Asim Aslam
e1bc240a14
Respond with error type
2019-01-13 12:15:35 +00:00
Asim Aslam
c086c33bb3
remove codecs
2019-01-10 09:42:02 +00:00
Asim Aslam
ce36d0156d
Merge pull request #362 from micro/codec
...
Make json/protobuf/grpc codecs
2019-01-02 18:01:34 +00:00
Asim Aslam
2761b8e0f5
Add support for http proxy
2019-01-02 15:24:17 +00:00