layer4-proxy/src/upstreams
Jacob Kiers 97b4bf6bbe Solve synchronization issue
The async mutex in the previous variant would fail when used in a single
threaded mode, because block_in_place() cannot be used there.

Instead, replace the code with a Arc<RwLock> inside of the
UpstreamAddress to let that class take care of its own mutability.

Signed-off-by: Jacob Kiers <code@kiers.eu>
2024-02-23 23:31:23 +01:00
..
mod.rs Moved upstreams to their own dedicated namespace 2023-10-05 00:26:06 +02:00
proxy_to_upstream.rs Solve synchronization issue 2024-02-23 23:31:23 +01:00