Fix non-tls case.
This commit is contained in:
@@ -135,6 +135,7 @@ impl Stream {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(tls)]
|
||||||
fn from_tls_stream(t: StreamOwned<ClientSession, TcpStream>) -> Stream {
|
fn from_tls_stream(t: StreamOwned<ClientSession, TcpStream>) -> Stream {
|
||||||
Stream {
|
Stream {
|
||||||
inner: BufReader::new(Inner::Https(t)),
|
inner: BufReader::new(Inner::Https(t)),
|
||||||
|
|||||||
Reference in New Issue
Block a user