mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-07 21:11:05 +03:00
port forward: the legacy comment names re-adding the mapping only
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EZ49AbZJYfm8NTp5yDPMab
This commit is contained in:
@@ -146,9 +146,9 @@ pub async fn listen(
|
||||
}
|
||||
// A `Legacy` listener stays legacy until it closes: every accept
|
||||
// logs in on its own, asks for no tunnel, and takes the raw pipe
|
||||
// whatever the peer reports. Re-adding the mapping, or reopening
|
||||
// the window, is how a user picks up an upgraded peer; nothing
|
||||
// switches modes underneath live connections.
|
||||
// whatever the peer reports. Re-adding the mapping is how a user
|
||||
// picks up an upgraded peer; nothing switches modes underneath
|
||||
// live connections.
|
||||
Claim::Legacy => {
|
||||
let interface = interface.with_port_forward(login_target(&remote_host, remote_port, false));
|
||||
let mut forward = Framed::new(forward, BytesCodec::new());
|
||||
|
||||
Reference in New Issue
Block a user