mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-01 22:11:27 +03:00
Using new Stream type adapted to the update of submodules (#11581)
* [fix bug] fix all err stream type. * [update] update hbb_common. * [bug fix] Stream in other platform.
This commit is contained in:
@@ -20,10 +20,9 @@ use hbb_common::{
|
||||
rendezvous_proto::*,
|
||||
sleep,
|
||||
socket_client::{self, connect_tcp, is_ipv4},
|
||||
tcp::FramedStream,
|
||||
tokio::{self, select, sync::Mutex, time::interval},
|
||||
udp::FramedSocket,
|
||||
AddrMangle, IntoTargetAddr, ResultType, TargetAddr,
|
||||
AddrMangle, IntoTargetAddr, ResultType, Stream, TargetAddr,
|
||||
};
|
||||
|
||||
use crate::{
|
||||
@@ -706,7 +705,7 @@ async fn direct_server(server: ServerPtr) {
|
||||
|
||||
enum Sink<'a> {
|
||||
Framed(&'a mut FramedSocket, &'a TargetAddr<'a>),
|
||||
Stream(&'a mut FramedStream),
|
||||
Stream(&'a mut Stream),
|
||||
}
|
||||
|
||||
impl Sink<'_> {
|
||||
|
||||
Reference in New Issue
Block a user