diff --git a/src/main.rs b/src/main.rs index 24cf1b0..9c2b3a6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -577,8 +577,7 @@ impl TMClient { stream_config.set_use_server_name_indication(false); let stream = stream_config.connect(&host, stream).unwrap(); - stream.get_ref().set_read_timeout(Some(Duration::from_millis(100))).expect("Failed to set read timeout on socket"); - + stream.get_ref().set_read_timeout(Some(Duration::from_millis(10))).expect("Failed to set read timeout on socket"); return (TMClient{ stream,