fortanix / rust-sgx

The Fortanix Rust Enclave Development Platform
https://edp.fortanix.com
Mozilla Public License 2.0
422 stars 99 forks source link

[Async I/O] Limit size of call queue #550

Open raoulstrackx opened 6 months ago

raoulstrackx commented 6 months ago

The SequentialMap structure in the async-usercalls crate searches for available ids by potentially checking 2^32 values and possibly panicking. We want to have a way of controlling this. For example, by limiting the size of the call queue. See this discussion.