Mikhail Bragin
319632ffe8
Fix concurrency on the client ( #183 )
...
* reworked peer connection establishment logic eliminating race conditions and deadlocks while running many peers
2022-01-10 18:43:13 +01:00
Mikhail Bragin
a67b9a16af
fix peer update concurrency on the client side ( #177 )
...
* fix: gRpc Signal and Management connections deadlock on IDLE state
* fix: client peer update concurrency issues
2021-12-31 18:11:33 +01:00
Mikhail Bragin
8c75ef8bef
update to go 1.17 ( #167 )
...
* chore: update to go 1.17
* fix: update workflows go version
* fix: golint errors/update grpc
2021-12-21 10:02:25 +01:00
Mikhail Bragin
d08e5efbce
fix: too many open files caused by agent not being closed ( #154 )
...
* fix: too many open files caused by agent not being closed after unsuccessful attempts to start a peer connection (happens when no network available)
* fix: minor refactor to consider signal status
2021-11-14 19:41:17 +01:00
Mikhail Bragin
ed1e4dfc51
refactor signal client sync func ( #147 )
...
* refactor: move goroutine that runs Signal Client Receive to the engine for better control
* chore: fix comments typo
* test: fix golint
* chore: comments update
* chore: consider connection state=READY in signal and management clients
* chore: fix typos
* test: fix signal ping-pong test
* chore: add wait condition to signal client
* refactor: add stream status to the Signal client
* refactor: defer mutex unlock
2021-11-06 15:00:13 +01:00
braginini
4d34fb4e64
chore: decrease backoff maxinterval to avoid long connection waiting times on the client app
2021-11-02 14:51:29 +01:00
Mikhail Bragin
d040cfed7e
fix: client app retry logic ( #144 )
...
* fix: retry logic
2021-11-01 09:34:06 +01:00
braginini
e9066b4651
chore: increase signal and management gRPC clients timeouts
2021-10-31 12:14:00 +01:00
Mikhail Bragin
bef3b3392b
fix: graceful shutdown ( #134 )
...
* fix: graceful shutdown
* fix: windows graceful shutdown
2021-10-17 22:15:38 +02:00
Mikhail Bragin
ec759bc461
Delete peer ( #114 )
...
* feature: add peer deletion
* feature: add peer deletion [CLIENT]
* fix: lint error
* test: fix sync block
* test: fix management test
* feature: add client stop after was deleted
* chore: remove permission denied cancellation
* chore: add larger signal backoff
* feature: notify deleted peer of removal
* fix: lint issue
* chore: add 2nd default key - one off
* test: fix account key check
2021-09-07 18:36:46 +02:00
Mikhail Bragin
1dfa99d07c
add wiretrustee LOGIN command ( #90 )
...
* feature: add wiretrustee LOGIN command
* chore: add management initial connection timeout
* test: add login cmd test
* test: validate generated config in login cmd
* test: add up command test
* chore: add timeout to signal client creation method
* test: close wireguard interface once test finished
2021-08-18 13:35:42 +02:00
Maycon Santos
d5af5f1878
Refactor: Move Signal server and client ( #80 )
...
* Move Signal Server
* Move Signal Client
* Cleanup duplicates and unused files
* Moved Signal client tests
2021-08-09 19:21:48 +02:00