mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-08 21:41:02 +03:00
fix: carry switch_code through WebRTC relay fallbacks after rebase
The rebase onto master (switch-code feature) added an 8th request_relay parameter; pass the interface's switch code from both WebRTC->relay fallback paths so a role-swap session survives the fallback. Also drop a duplicate bindgen 0.72.1 entry the Cargo.lock merge produced. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ExUfAkYbq8UC9pQCiLy8TQ
This commit is contained in:
18
Cargo.lock
generated
18
Cargo.lock
generated
@@ -753,24 +753,6 @@ dependencies = [
|
|||||||
"syn 2.0.98",
|
"syn 2.0.98",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "bindgen"
|
|
||||||
version = "0.72.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
||||||
dependencies = [
|
|
||||||
"bitflags 2.9.1",
|
|
||||||
"cexpr",
|
|
||||||
"clang-sys",
|
|
||||||
"itertools 0.12.1",
|
|
||||||
"proc-macro2 1.0.93",
|
|
||||||
"quote 1.0.36",
|
|
||||||
"regex",
|
|
||||||
"rustc-hash 2.1.1",
|
|
||||||
"shlex",
|
|
||||||
"syn 2.0.98",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bindgen"
|
name = "bindgen"
|
||||||
version = "0.72.1"
|
version = "0.72.1"
|
||||||
|
|||||||
@@ -1070,6 +1070,7 @@ impl Client {
|
|||||||
&key,
|
&key,
|
||||||
&token,
|
&token,
|
||||||
conn_type,
|
conn_type,
|
||||||
|
&interface.get_switch_code(),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
.map_err(|relay_e| {
|
.map_err(|relay_e| {
|
||||||
@@ -1405,6 +1406,7 @@ impl Client {
|
|||||||
key,
|
key,
|
||||||
token,
|
token,
|
||||||
conn_type,
|
conn_type,
|
||||||
|
&interface.get_switch_code(),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user