Remove testing code

This commit is contained in:
Vurich
2017-12-15 12:13:49 +01:00
parent af1d2acd5c
commit 2d56f0eb42

View File

@@ -208,8 +208,7 @@ pub fn read_stream<'a, O: Into<Option<(u32, &'a mut [u8])>>, T: AsyncRead>(
let is_open = lock.open_streams
.get(&substream_id)
.map(SubstreamMetadata::open)
.unwrap_or(false);
//.unwrap_or_else(|| lock.to_open.contains_key(&substream_id));
.unwrap_or_else(|| lock.to_open.contains_key(&substream_id));
if is_open {
Some(MultiplexReadState::ParsingMessageBody {