Dmitriy Ryajov
|
0f52a6e798
|
fix: switch and tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
6f8de062bb
|
fix: multistream
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
5237fc8b12
|
test multiple streams with mplex
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
746987156d
|
reworked switch
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
0b784c5b58
|
don't pass stream handler through contructor
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
9889bd9cbf
|
return proto string from select, instead of bool
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
cc595f7947
|
allow selecting one of many protos in identify
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
a7e5fde6f7
|
check identify request against known pubkey
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
ec351cc2b0
|
misc: cleanup mplex
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
6ce2782e5c
|
add missing test
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
9b20dbc7ae
|
add mplex tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
9b485b3082
|
feat: half closed channels
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
6058a3fc69
|
split mplex
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
c2ce55a94a
|
finish basic tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
36917c5adc
|
disable switch tests temporarily
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
1611d2b1c0
|
readding missed tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
a0aaa29739
|
wip: mplex and mplex tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
f4a9b9cba9
|
test: rework remove generic protocol constructor
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
0c0184ca63
|
fix: tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
b4dced6186
|
fix: use custom constructor
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
96cd7bcf50
|
wip: mplex tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
12702e2cd2
|
adding bufferstream tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
7f0627378c
|
misc
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
fceea14aa5
|
adding bufferred stream
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
cbf0f4f186
|
move streams to own dir
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
85b0b5d1da
|
don't do pointless cast
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
ef7a0b41e4
|
add switch tests to native
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
db1aad3df0
|
adding switch e2e test
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
79129ea6d1
|
`handles` should be called on concrete transport
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
3df92e0d67
|
wip: switch
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
022a248ca3
|
reworked protocol
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
22dd8c0f6b
|
add native tests to testnative
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
e2b04fc30d
|
add gcsafe pragma
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
0f42be495b
|
remove dead code
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
ca4ccbe37f
|
don't use method as handler in protocol base
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
5eced0abee
|
rename multistream
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
aa2dfababd
|
wip: identify
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
b85d616a13
|
call the handler with the protocol context
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
8d4de6b587
|
remove reduntant test
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
002328f7e5
|
don't use conflicting ips
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
3d7f657ce8
|
rename readerwriter to stream
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
d23398f498
|
nimpretty
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
ebab744106
|
end to end tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
97788f1c49
|
end to end tests for multistream
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
77aa11f0f3
|
removing bins
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
573a568946
|
fix tests
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
64e92eb9da
|
adding `na` test/functionality
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
4dcb542ae8
|
add `ls` test
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
e13f42f9bb
|
wip: initial multistream handler implementation
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
307c76e139
|
feat: implemented select
|
2019-10-11 08:15:24 +09:00 |