Aster fork of iroh-util — mirrored from github.com/aster-rpc/iroh-util so releases do not depend on anonymous GitHub access
- Rust 100%
Three additions to the cpfix battery:
- the deterministic 300-request gated-connect burst that deadlocked the
0.6.0 pool permanently (both bounded queues saturated before the
connect fails); every caller must resolve.
- pool-drop termination: with an abandoned connect attempt still held
open, dropping the last handle must close a handed-out connection. A
live get_or_connect waiter necessarily keeps the pool alive (its
future borrows a handle), so waiters-get-Shutdown is not reachable
through the public API; the shutdown drain covers abandoned waiters.
- three simultaneous slow-peer backlogs of 150 requests each must not
delay an unrelated live peer, and releasing the holds must resolve
every queued caller.
(cherry picked from commit
|
||
|---|---|---|
| .cargo | ||
| .github/workflows | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| cliff.toml | ||
| deny.toml | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||
| Makefile.toml | ||
| README.md | ||
iroh-util
Utilities for iroh.
About
This crate contains various utilities for iroh.
License
Copyright 2026 N0, INC.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.