Commit graph

189 commits

Author SHA1 Message Date
Jonathan Davies
d66376634f Cargo.toml: Bump tokio. 2023-05-21 20:44:45 +01:00
Jonathan Davies
dc358ebcf8 netapp.rs: Set SO_REUSEPORT_LB on FreeBSD. 2023-05-21 20:07:32 +01:00
Jonathan Davies
a1f0985638 netapp.rs: Set SO_REUSEPORT on listen_addr with TcpSocket. 2023-05-21 14:22:46 +01:00
e3b04e83d7 bump version to v0.6.1 2023-03-13 19:21:21 +01:00
6e0318ca05 Merge branch 'main' of git.deuxfleurs.fr:lx/netapp 2023-03-13 19:20:02 +01:00
e25273c138 Merge pull request 'Bumped lru to 0.10.' (#8) from jpds/netapp:lru-0.10 into main
Reviewed-on: lx/netapp#8
2023-03-13 18:19:37 +00:00
Jonathan Davies
4780c62523 Bumped lru to 0.10. 2023-03-13 18:17:02 +00:00
6a31649b98 Bump version to v0.6.0 2023-03-13 19:09:49 +01:00
80f64c5015 Merge pull request 'Bump dependent crates to latest' (#7) from jpds/netapp:cargo-updates into main
Reviewed-on: lx/netapp#7
2023-03-13 18:09:27 +00:00
Jonathan Davies
3d77b9c2a1 Cargo.lock: Ran cargo update. 2023-03-13 18:02:40 +00:00
Jonathan Davies
c034bdedfe src: Use new BinaryPropagator methods in opentelemetry_contrib/0.10. 2023-02-01 08:59:28 +00:00
Jonathan Davies
14ba9a811f basalt: Adapt to use NonZeroUsize for lru change. 2023-02-01 08:59:17 +00:00
Jonathan Davies
989193296c Cargo.toml: Version bumps:
* arc-swap: 1.1 -> 1.6
 * async-trait: 0.1.7 -> 0.1.64
 * bytes: 1.2 -> 1.3
 * hex: 0.4.2 -> 0.4.3
 * lru: 0.7 -> 0.9
 * opentelemetry: 0.17 -> 0.18.
 * pin-project: 1.0.10 -> 1.0.12
2023-02-01 00:00:10 +00:00
34aade6ce9 update .drone.yml 2023-02-01 00:09:13 +01:00
6df6411b72 fix clippy 2023-01-31 23:57:33 +01:00
e4c0be848d
Ability to configure ping timeout interval 2022-09-19 19:46:41 +02:00
1a413eef97
Add async version of parse_and_resolve_peer_addr 2022-09-14 15:45:05 +02:00
8ac109e3a8 Merge pull request 'add streaming body to requests and responses' (#3) from stream-body into main
Reviewed-on: lx/netapp#3
2022-09-13 12:56:53 +02:00
298e956a19
undo needless change 2022-09-13 12:48:54 +02:00
395f942fc7
Fix potential memory leak 2022-09-13 12:37:55 +02:00
b509e6057f
Missing cleanup 2022-09-13 12:28:01 +02:00
c00676feba
Uniformize flag naming 2022-09-13 12:25:37 +02:00
18d5abc981
add precision to protocol description 2022-09-13 12:20:49 +02:00
8ab6256c3b
No longer need to derive Clone on message types 2022-09-13 12:12:55 +02:00
9362d26890
fill_buffer do something only if buf is empty 2022-09-13 12:08:33 +02:00
db96af2609
Add comment on cancellation 2022-09-13 12:05:42 +02:00
add2b54743
fix comment 2022-09-13 11:52:35 +02:00
bf0e82047f
try make more like before 2022-09-13 11:51:03 +02:00
2305c2cf03
Use BytesMut instead of Vec<u8> in bytes_buf (extend is probably faster) 2022-09-13 11:31:19 +02:00
f022a77f97
Add documentation 2022-09-12 17:43:10 +02:00
8a7aca9837
reword doc comment 2022-09-12 17:20:45 +02:00
f0326607ee
slightly change example 2022-09-12 17:19:26 +02:00
0f799a7768
Implement Least Attained First scheduling of streams 2022-09-06 19:42:49 +02:00
5af23955af
Merge branch 'main' into stream-body 2022-09-02 14:24:45 +02:00
a82700c5a2 Merge pull request 'Fix ping timeout and interval' (#4) from fix-ping into main
Reviewed-on: lx/netapp#4
2022-09-02 14:22:57 +02:00
ca25331d73
Bump to v0.4.5 2022-09-02 14:21:42 +02:00
9bf29a7a18
Merge branch 'fix-ping' into stream-body 2022-09-02 14:15:02 +02:00
c865cc9f9c
Merge branch 'main' into fix-ping 2022-09-02 14:02:08 +02:00
8c73b27655
Update dependencies 2022-09-02 14:00:52 +02:00
f6ad1d0fab
less verbosity 2022-09-01 16:13:43 +02:00
b82ad70dd5
Correctly defuse cancellation on simple requests 2022-09-01 16:11:42 +02:00
b931d0d1cf
try debug 2022-09-01 16:01:56 +02:00
522f420e2b
Implement request cancellation 2022-09-01 15:54:11 +02:00
3292566738
fix trace message 2022-09-01 14:43:27 +02:00
22d96929d5
Merge branch 'fix-ping' into stream-body 2022-09-01 14:23:10 +02:00
4a59b73d7b
Add actual support for order tag 2022-09-01 12:46:33 +02:00
cd203f5708
Add OrderTag to Req and Resp, refactor errors 2022-09-01 12:15:50 +02:00
745c786184
Also encode errorkind in stream 2022-09-01 11:34:53 +02:00
7909a95d3c
Stream errors are now std::io::Error 2022-09-01 11:21:24 +02:00
263db66fce
Refactor: create a BytesBuf utility crate (will also be usefull in Garage) 2022-09-01 10:29:26 +02:00