Search before asking
We’re very glad to have the chance to use the latest client pools feature in coro_rpc. While using it, we’ve encountered a couple of issues:
-
When using coro_io::client_pools, if a new server address appears, the pools will automatically create a new client pool. However, there’s currently no interface to remove an existing client pool. If the addresses keep changing and are always different from the previous ones, this can potentially lead to a resource leak.
-
When creating a new client pool using the at interface of pools, there is no return value indicating whether the connection was successful. Currently, our workaround is to create a dedicated API on the remote server to test connectivity. Having a native way to check whether the connection succeeds would be more user-friendly.
What happened + What you expected to happen
Reproduction way
Anything else
Are you willing to submit a PR?