Skip to content

Commit

Permalink
Merge pull request #14 from hjr3/issue-13
Browse files Browse the repository at this point in the history
Honor inner stream connected state
  • Loading branch information
hjr3 authored Mar 5, 2020
2 parents afc4337 + c0c5da7 commit dfd63e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@ where
S: AsyncRead + AsyncWrite + Connection + Unpin,
{
fn connected(&self) -> Connected {
Connected::new()
self.0.get_ref().connected()
}
}

0 comments on commit dfd63e2

Please sign in to comment.