add streaming body to requests and responses #3

Merged
lx merged 64 commits from stream-body into main 2022-09-13 10:56:54 +00:00
Owner
No description provided.
lx added 13 commits 2022-07-21 19:01:34 +00:00
lx added 1 commit 2022-07-22 08:55:59 +00:00
Hide streaming versions as much as possible
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
c358fe3c92
lx added 1 commit 2022-07-22 10:45:51 +00:00
Clean up framing protocol
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
0b71ca12f9
lx added 1 commit 2022-07-22 11:02:06 +00:00
Use bounded channels on receive side for backpressure
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
9cb28c21b4
lx added 1 commit 2022-07-22 11:06:21 +00:00
Move things around and fix error bit
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
5da59ebec5
lx added 1 commit 2022-07-22 11:23:50 +00:00
Simplify send.rs
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
f9db9a4b69
lx added 1 commit 2022-07-22 11:28:02 +00:00
Add comment
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
50627c2060
lx added 1 commit 2022-07-22 11:32:14 +00:00
Small optimization
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
b9df442f03
lx added 1 commit 2022-07-22 11:40:14 +00:00
Add Resp::into_parts
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
67ea3a48fa
lx added 1 commit 2022-07-22 11:45:05 +00:00
Terminology: don't use the word "body" anymore, talk of "attached stream"
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
aa1b29d41a
lx added 1 commit 2022-07-22 11:48:52 +00:00
Cargo fmt; better adapt with_capacity_values
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
50358b944a
lx added 1 commit 2022-07-22 12:38:20 +00:00
Remove copy of serialized thing in encode
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
4825669293
lx added 1 commit 2022-07-22 12:45:36 +00:00
Impose static lifetime on message and response
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
cbc21e40ac
lx added 1 commit 2022-07-22 13:17:00 +00:00
Add Req::new
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
a0dac87e3b
lx added 1 commit 2022-07-22 13:23:54 +00:00
Bump netapp version to 0.5
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
a5e5fd0408
lx added 1 commit 2022-07-22 14:43:02 +00:00
Conversion between ByteStream and AsyncRead
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
ab80ade4f0
lx added 1 commit 2022-07-25 08:59:09 +00:00
Remove blocking_send that crashes
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
fed0542313
lx added 1 commit 2022-07-25 09:06:57 +00:00
Remove broken test
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
c17a5f84ff
lx added 1 commit 2022-07-25 09:07:28 +00:00
Cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
7499721a10
lx added 1 commit 2022-07-25 13:05:03 +00:00
Add some debugging
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
74e57016f6
lx added 1 commit 2022-07-26 10:01:25 +00:00
Add stream example to fullmesh example
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
bdf7d4731d
lx added 1 commit 2022-07-26 10:12:03 +00:00
Fix things going wrong when sending chan is closed
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
b55f61c38b
lx force-pushed stream-body from 9f0474de1c to b55f61c38b 2022-08-31 17:26:37 +00:00 Compare
lx added 1 commit 2022-08-31 20:19:52 +00:00
Remove useless phantom and pub(crate)
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2c9d595da0
lx added 1 commit 2022-09-01 07:45:39 +00:00
recv side: use unbounded channel to remove deadlock
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
3fd30c6e28
lx added 1 commit 2022-09-01 08:29:46 +00:00
Refactor: create a BytesBuf utility crate (will also be usefull in Garage)
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
263db66fce
lx added 1 commit 2022-09-01 09:21:35 +00:00
Stream errors are now std::io::Error
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
7909a95d3c
lx added 1 commit 2022-09-01 09:35:04 +00:00
Also encode errorkind in stream
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
745c786184
lx added 1 commit 2022-09-01 10:16:04 +00:00
Add OrderTag to Req and Resp, refactor errors
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
cd203f5708
lx added 1 commit 2022-09-01 10:46:43 +00:00
Add actual support for order tag
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
4a59b73d7b
lx added 7 commits 2022-09-01 12:23:17 +00:00
Add dump of sending queue
Some checks reported errors
continuous-integration/drone/push Build was killed
700f783956
add debug_name in proto to differenciate messages
Some checks reported errors
continuous-integration/drone/push Build was killed
01db3c4319
Better messages in proto.rs
Some checks reported errors
continuous-integration/drone/push Build was killed
984ba65e65
Be more lenient on pings
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
7703659742
SVR -> SRV
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
d75146fb81
Merge branch 'fix-ping' into stream-body
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
22d96929d5
lx added 2 commits 2022-09-01 13:54:20 +00:00
Implement request cancellation
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
522f420e2b
lx added 1 commit 2022-09-01 14:02:00 +00:00
try debug
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
b931d0d1cf
lx force-pushed stream-body from 5b8306e789 to b82ad70dd5 2022-09-01 14:11:47 +00:00 Compare
lx added 1 commit 2022-09-01 14:13:49 +00:00
less verbosity
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
f6ad1d0fab
lx added 2 commits 2022-09-02 12:15:17 +00:00
Merge branch 'main' into fix-ping
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
c865cc9f9c
Merge branch 'fix-ping' into stream-body
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
9bf29a7a18
lx added 1 commit 2022-09-02 12:24:48 +00:00
Merge branch 'main' into stream-body
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
5af23955af
lx added 1 commit 2022-09-06 17:43:14 +00:00
Implement Least Attained First scheduling of streams
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
0f799a7768
lx added 1 commit 2022-09-12 15:19:35 +00:00
slightly change example
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
f0326607ee
lx added 1 commit 2022-09-12 15:20:53 +00:00
reword doc comment
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
8a7aca9837
lx added 1 commit 2022-09-12 15:43:18 +00:00
Add documentation
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
f022a77f97
lx added 1 commit 2022-09-13 09:31:36 +00:00
Use BytesMut instead of Vec<u8> in bytes_buf (extend is probably faster)
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2305c2cf03
lx added 1 commit 2022-09-13 09:51:13 +00:00
try make more like before
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
bf0e82047f
lx added 1 commit 2022-09-13 09:52:39 +00:00
fix comment
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
add2b54743
lx added 1 commit 2022-09-13 10:05:55 +00:00
Add comment on cancellation
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
db96af2609
lx added 1 commit 2022-09-13 10:08:44 +00:00
fill_buffer do something only if buf is empty
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
9362d26890
lx added 1 commit 2022-09-13 10:13:05 +00:00
No longer need to derive Clone on message types
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
8ab6256c3b
lx added 1 commit 2022-09-13 10:20:58 +00:00
add precision to protocol description
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
18d5abc981
lx added 1 commit 2022-09-13 10:25:44 +00:00
Uniformize flag naming
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
c00676feba
lx added 1 commit 2022-09-13 10:28:16 +00:00
Missing cleanup
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
b509e6057f
lx force-pushed stream-body from 3f4a4f59cf to 395f942fc7 2022-09-13 10:37:59 +00:00 Compare
lx added 1 commit 2022-09-13 10:49:06 +00:00
undo needless change
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
298e956a19
lx changed title from WIP: add streaming body to requests and responses to add streaming body to requests and responses 2022-09-13 10:56:46 +00:00
lx merged commit 8ac109e3a8 into main 2022-09-13 10:56:54 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lx/netapp#3
No description provided.