mirror of
https://github.com/Devolutions/IronRDP.git
synced 2026-11-23 08:25:56 +00:00
fix(activex): drop unused iroh dependency
ActiveX never supports the iroh P2P transport, so remove the iroh feature from its ironrdp-client dependency instead of enabling it unconditionally, and delete the now-unreachable Transport::Iroh match arms this leaves behind.
This commit is contained in:
@@ -21,7 +21,7 @@ doctest = false
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
anyhow = "1"
|
||||
base64 = "0.22"
|
||||
ironrdp-client = { path = "../ironrdp-client", version = "0.1", features = ["clipboard", "dvc-com-plugin", "gateway", "iroh", "location", "rdpdr", "rustls", "smartcard", "sound", "webauthn"] }
|
||||
ironrdp-client = { path = "../ironrdp-client", version = "0.1", features = ["clipboard", "dvc-com-plugin", "gateway", "location", "rdpdr", "rustls", "smartcard", "sound", "webauthn"] }
|
||||
ironrdp-cliprdr = { path = "../ironrdp-cliprdr", version = "0.7" }
|
||||
ironrdp-cliprdr-format = { path = "../ironrdp-cliprdr-format", version = "0.2.0" }
|
||||
ironrdp-cliprdr-native = { path = "../ironrdp-cliprdr-native", version = "0.7" }
|
||||
|
||||
@@ -3457,8 +3457,6 @@ fn active_x_transport_from_client_transport(
|
||||
Transport::RDCleanPath(rdcleanpath) => Ok(ActiveXTransport::RDCleanPath(rdcleanpath.clone())),
|
||||
// Named-pipe RDP (e.g. Windows Sandbox) is agent/desktop-client only.
|
||||
Transport::NamedPipe { .. } => Err("Windows named-pipe transport is not supported by the ActiveX host"),
|
||||
// Iroh P2P tunneling is agent/desktop-client only.
|
||||
Transport::Iroh { .. } => Err("Iroh transport is not supported by the ActiveX host"),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11245,10 +11243,6 @@ impl Control {
|
||||
Transport::NamedPipe { .. } => {
|
||||
unreachable!("NamedPipe must fail RPC connect before compatibility settings")
|
||||
}
|
||||
// Rejected by `active_x_transport_from_client_transport` before settings apply.
|
||||
Transport::Iroh { .. } => {
|
||||
unreachable!("Iroh must fail RPC connect before compatibility settings")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user