Removed unused stuff
This commit is contained in:
parent
2df4a7a7ce
commit
55b1461296
|
@ -92,7 +92,6 @@ impl Client {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
tracing::debug!("New TcpStream created");
|
tracing::debug!("New TcpStream created");
|
||||||
|
|
||||||
|
|
||||||
#[cfg(feature = "tls")]
|
#[cfg(feature = "tls")]
|
||||||
{
|
{
|
||||||
let connector = TlsConnector::builder().build().unwrap();
|
let connector = TlsConnector::builder().build().unwrap();
|
||||||
|
@ -200,9 +199,6 @@ impl Client {
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Slice to the number of bytes that were actually read
|
|
||||||
//let res = String::from_utf8_lossy(&buffer[..num_bytes]);
|
|
||||||
|
|
||||||
Ok(Some(buffer.into()))
|
Ok(Some(buffer.into()))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue