This commit is contained in:
parent
eef091d4e8
commit
2ffc2ad85b
@ -2374,7 +2374,7 @@ fn get_hwcodec_config() {
|
|||||||
let start = std::time::Instant::now();
|
let start = std::time::Instant::now();
|
||||||
if let Err(e) = crate::ipc::get_hwcodec_config_from_server() {
|
if let Err(e) = crate::ipc::get_hwcodec_config_from_server() {
|
||||||
log::error!(
|
log::error!(
|
||||||
"failed to get hwcodec config: {e:?}, elapsed: {:?}",
|
"Failed to get hwcodec config: {e:?}, elapsed: {:?}",
|
||||||
start.elapsed()
|
start.elapsed()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
@ -2994,7 +2994,9 @@ pub trait Interface: Send + Clone + 'static + Sized {
|
|||||||
log::error!("Connection closed: {err}({errno})");
|
log::error!("Connection closed: {err}({errno})");
|
||||||
if direct == Some(true)
|
if direct == Some(true)
|
||||||
&& ((cfg!(windows) && (errno == 10054 || err.contains("10054")))
|
&& ((cfg!(windows) && (errno == 10054 || err.contains("10054")))
|
||||||
|| (!cfg!(windows) && (errno == 104 || err.contains("104"))))
|
|| (!cfg!(windows) && (errno == 104 || err.contains("104")))
|
||||||
|
|| (!err.contains("Failed") && err.contains("deadline")))
|
||||||
|
// deadline: https://github.com/rustdesk/rustdesk-server-pro/discussions/325, most likely comes from secure tcp timeout
|
||||||
{
|
{
|
||||||
relay_hint = true;
|
relay_hint = true;
|
||||||
if !received {
|
if !received {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user