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 |
Dmitriy Ryajov
|
5d07145a0a
|
feat: added stream abstraction and chronos wrapper
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
5f8e633c0f
|
feat: use error pragma to signal abstract methods
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
a91c15c47a
|
feat: adding dial/listen test with transports on both ends
|
2019-10-11 08:15:24 +09:00 |
Dmitriy Ryajov
|
c15a9bdd67
|
feat: adding dial tests
|
2019-10-11 08:15:24 +09:00 |