feat(plugins): hand SOCKS5 transport proxy routes to connections

This commit is contained in:
Jinpy authored and GitHub committed 2026-09-19 09:47:15 +08:00
1 parent 8518a5bd25
commit 2b15327de3
13 files changed
+330 -46

No files matched your search

@@ -90,7 +90,10 @@ pub async fn start_transport_layers_with_final_ssh_local_port(
.await
}
#[cfg(feature = "mq-admin")]
/// Starts the layer chain with the final SSH hop exposing a dynamic SOCKS5
/// endpoint (ssh -D) instead of a static forward, so callers can route many
/// remote endpoints through one tunnel (RocketMQ name servers/brokers, plugin
/// providers with `proxy_route`, ...).
pub async fn start_transport_layers_with_final_ssh_socks5(
connection_id: &str,
layers: &[TransportLayerConfig],