3fd30c6e28
recv side: use unbounded channel to remove deadlock
2022-09-01 09:45:24 +02:00
2c9d595da0
Remove useless phantom and pub(crate)
2022-08-31 22:19:40 +02:00
b55f61c38b
Fix things going wrong when sending chan is closed
2022-07-26 12:11:48 +02:00
bdf7d4731d
Add stream example to fullmesh example
2022-07-26 12:01:13 +02:00
74e57016f6
Add some debugging
2022-07-25 15:04:52 +02:00
7499721a10
Cargo fmt
2022-07-25 11:07:23 +02:00
c17a5f84ff
Remove broken test
2022-07-25 11:06:51 +02:00
fed0542313
Remove blocking_send that crashes
2022-07-25 10:58:55 +02:00
ab80ade4f0
Conversion between ByteStream and AsyncRead
2022-07-22 16:42:58 +02:00
a5e5fd0408
Bump netapp version to 0.5
2022-07-22 15:23:45 +02:00
a0dac87e3b
Add Req::new
2022-07-22 15:16:50 +02:00
cbc21e40ac
Impose static lifetime on message and response
2022-07-22 14:45:28 +02:00
4825669293
Remove copy of serialized thing in encode
2022-07-22 14:38:03 +02:00
50358b944a
Cargo fmt; better adapt with_capacity_values
2022-07-22 13:48:43 +02:00
aa1b29d41a
Terminology: don't use the word "body" anymore, talk of "attached stream"
2022-07-22 13:44:48 +02:00
67ea3a48fa
Add Resp::into_parts
2022-07-22 13:40:06 +02:00
b9df442f03
Small optimization
2022-07-22 13:32:08 +02:00
50627c2060
Add comment
2022-07-22 13:27:56 +02:00
f9db9a4b69
Simplify send.rs
2022-07-22 13:23:42 +02:00
5da59ebec5
Move things around and fix error bit
2022-07-22 13:06:10 +02:00
9cb28c21b4
Use bounded channels on receive side for backpressure
2022-07-22 13:01:52 +02:00
0b71ca12f9
Clean up framing protocol
2022-07-22 12:45:38 +02:00
c358fe3c92
Hide streaming versions as much as possible
2022-07-22 10:55:37 +02:00
4934ed726d
Propose alternative API
2022-07-21 20:22:56 +02:00
7d148c7e76
One possibility, but I don't like it
2022-07-21 19:25:07 +02:00
44bbc1c00c
Rename AutoSerialize into SimpleMessage and refactor a bit
2022-07-21 19:05:51 +02:00
26989bba14
Use Bytes instead of Vec<u8>
2022-07-21 18:15:07 +02:00
9dffa812c4
Refactor send.rs
2022-07-21 17:59:15 +02:00
f35fa7d18d
Move things around
2022-07-21 17:37:52 +02:00
cdff8ae1be
add detection of premature eos
2022-07-18 15:21:13 +02:00
d3d18b8e8b
use a framing protocol instead of even/odd channel
2022-06-20 23:40:31 +02:00
0fec85b47a
start supporting sending error on stream
2022-06-19 18:42:27 +02:00
5d7541e13a
wait for any ready stream instead of the highest priority one
2022-06-19 17:47:41 +02:00
4745e7c4ba
further work on streams
...
most changes still required are related to error handling
2022-06-08 09:54:38 +02:00
fb5462ecdb
rechunk stream
2022-06-05 16:47:29 +02:00
368ba90879
initial work on associated stream
...
still require testing, and fixing a few kinks:
- sending packets > 16k truncate them
- send one more packet than it could at eos
- probably update documentation
/!\ contains breaking changes
2022-06-05 15:33:43 +02:00
648e015e3a
Update version
2022-05-09 12:01:02 +02:00
12fb3516c0
Also add addresses from incoming connections
2022-05-09 12:00:01 +02:00
677c471548
Handle the possibility of several alternative IP addresses for peers
2022-05-09 11:54:34 +02:00
faecefc7a8
Fix span kind for RPC client side
2022-04-07 10:31:37 +02:00
b1425230cc
Release 0.4.1
2022-03-15 17:05:29 +01:00
22eaa0f404
Add logic to handle ping timeouts and other failures
2022-03-15 17:03:41 +01:00
fa7cdf3747
Fix test
2022-02-21 17:11:15 +01:00
96d1f14966
Avoid logging full node IDs
2022-02-21 16:57:07 +01:00
8858c94289
Implement version tag for application as well
2022-02-21 16:43:17 +01:00
96a3cc1e1f
Implement version check & transmit more error info
2022-02-21 13:45:41 +01:00
5bf3886fa2
fix
2022-02-21 13:11:49 +01:00
8f5cf60da3
Add missing deps to drone
2022-02-21 12:20:19 +01:00
3535d15bbd
Fix imports; rust stable in CI
2022-02-21 12:17:01 +01:00
f439716500
remove unneeded dependency
2022-02-21 12:04:43 +01:00