tokio1, windows not test yet

This commit is contained in:
rustdesk committed 2021-06-25 19:42:51 +08:00
1 parent 25a83f6b4a
commit dc3fcda2c9
23 files changed
+169 -154

No files matched your search

+2 -2
View File
@@ -2,12 +2,12 @@ use crate::client::*;
use hbb_common::{
allow_err, bail,
config::CONNECT_TIMEOUT,
futures::SinkExt,
futures::{SinkExt, StreamExt},
log,
message_proto::*,
protobuf::Message as _,
tcp, timeout,
tokio::{self, net::TcpStream, stream::StreamExt, sync::mpsc},
tokio::{self, net::TcpStream, sync::mpsc},
tokio_util::codec::{BytesCodec, Framed},
ResultType, Stream,
};