126 Commits

Author SHA1 Message Date
Sergey Cherepanov
291b8daf5f
fix blinking test 2023-06-23 17:47:29 +02:00
Sergey Cherepanov
e929d5431d
correct throttle counting 2023-06-23 17:39:13 +02:00
Sergey Cherepanov
49c3178f65
cleanup 2023-06-23 16:57:51 +02:00
Sergey Cherepanov
894f4db1ff
peer sub connections throtling + fixes 2023-06-23 16:54:55 +02:00
mcrakhman
a9889a6245
TryAdd correctly 2023-06-19 11:10:56 +02:00
mcrakhman
16be33fc96
Change Add to TryAdd 2023-06-19 10:41:16 +02:00
Sergey Cherepanov
31f0014783
add peer addr to cctx 2023-06-13 19:06:10 +02:00
Sergey Cherepanov
be58956bec
provide client version in secureservice 2023-06-13 15:39:22 +02:00
Sergey Cherepanov
c753da8def
client version to handshake 2023-06-13 15:30:14 +02:00
Sergey Cherepanov
733027d798
remove multiconn.LastUsage + fix peer gc 2023-06-13 13:40:13 +02:00
Sergey Cherepanov
05b479e5fa
yamux keep-alive config + remove write deadline for sub conns 2023-06-13 13:28:19 +02:00
Sergey Cherepanov
767f868a36
remove test test 2023-06-12 18:55:40 +02:00
Sergey Cherepanov
ab6ecaa462
write deadline + check conn for close 2023-06-12 18:42:30 +02:00
Sergey Cherepanov
89afc03218
fix HandshakeIncompatibleVersion test 2023-06-09 19:28:09 +02:00
Sergey Cherepanov
e97e6b68c6
peer: gc active sub conn 2023-06-09 19:14:23 +02:00
mcrakhman
b0c0e4b26e
Fix proto version 2023-06-09 17:10:25 +02:00
mcrakhman
35c29a4842
Add WithServer for TestPool 2023-06-08 21:07:03 +02:00
Sergey Cherepanov
15326da736
yamux: move listCtx to Init 2023-06-08 14:37:54 +02:00
Sergey Cherepanov
24ce490524
yamux: AddListener method 2023-06-08 14:36:14 +02:00
Sergey Cherepanov
85cf6b8332
debug server fixes 2023-06-08 13:38:00 +02:00
Sergey Cherepanov
f9cb0c2dbb
debug server 2023-06-08 13:27:01 +02:00
Sergey Cherepanov
33cbdd06a6
drpc conn config 2023-06-08 13:10:30 +02:00
Sergey Cherepanov
c7828d0671
move server config to drpc config 2023-06-08 12:35:29 +02:00
mcrakhman
dad76def2f
Merge branch 'new-sync-protocol-tests' into new-sync-protocol 2023-06-07 22:05:43 +02:00
mcrakhman
c8c0839a57
Add request manager tests 2023-06-07 21:48:13 +02:00
Sergey Cherepanov
5a6661eab1
cleanup net config 2023-06-07 20:52:09 +02:00
Sergey Cherepanov
065ff11983
bump proto version as 1 2023-06-07 20:50:26 +02:00
Sergey Cherepanov
6c9d1b0e84
rpctest pool 2023-06-07 20:45:32 +02:00
mcrakhman
4d1494a17a
Add mocks and some requestmanager tests 2023-06-07 19:31:15 +02:00
Sergey Cherepanov
485c9dd768
yamux default timeouts 2023-06-07 14:49:44 +02:00
Sergey Cherepanov
5a8c69e557
Merge branch 'yamux' into new-sync-protocol 2023-06-07 13:34:31 +02:00
Sergey Cherepanov
ddc900a93c
yamux fixes 2023-06-06 20:45:18 +02:00
Sergey Cherepanov
2ec42e5e1f
yamux fix test race 2023-06-06 18:50:20 +02:00
Sergey Cherepanov
5090006e2d
fix handshake race 2023-06-06 18:43:46 +02:00
Sergey Cherepanov
156f3387eb
ref: use peerId instead libp2p sec connection + quic ready interfaces 2023-06-06 18:36:09 +02:00
mcrakhman
67d535362f
Different fixes 2023-06-06 17:18:59 +02:00
mcrakhman
4c45ad3e67
Merge remote-tracking branch 'origin/yamux' into new-sync-protocol 2023-06-06 10:43:52 +02:00
mcrakhman
e96524f702
Yamux setaccepter 2023-06-06 10:43:43 +02:00
Sergey Cherepanov
0b4f08fbef
remove stream multiqueue 2023-06-05 21:34:23 +02:00
Sergey Cherepanov
af9d71d16e
peer subConn gc 2023-06-05 21:23:41 +02:00
Sergey Cherepanov
0c0a501aad
peer outgoing proto handshake + test multiconn + streampool tests 2023-06-05 20:39:09 +02:00
Sergey Cherepanov
e9f23e2dd9
peer.DoDrpc method 2023-06-02 10:39:24 +02:00
Sergey Cherepanov
1206071dd6
fix pool test 2023-06-02 10:34:49 +02:00
Sergey Cherepanov
fb007211f0
simplify drpc server + peer accept loop 2023-05-31 20:24:07 +02:00
Sergey Cherepanov
00c582e157
use net.Conn for a proto handshake 2023-05-31 19:24:23 +02:00
Sergey Cherepanov
c43ac9eb84
handshake proto + common handshake fixes 2023-05-31 16:22:49 +02:00
Sergey Cherepanov
553ed3a64b
peer drpc conn pool 2023-05-29 17:56:44 +02:00
Sergey Cherepanov
a898c6fc9c
pool.AddPeer close previous peer 2023-05-29 16:33:33 +02:00
Sergey Cherepanov
12a7dfe05a
Merge branch 'main' of github.com:anyproto/any-sync into yamux 2023-05-26 20:42:06 +02:00
Sergey Cherepanov
7958b43da6
peer service 2023-05-26 20:06:22 +02:00