Move to custom stream storage

This commit is contained in:
Carl Lerche
2017-08-02 12:55:41 -07:00
parent 19e562f9e0
commit 341e15769e
6 changed files with 90 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
use {frame, Peer, ConnectionError};
use proto::*;
use super::{Config, StreamMap};
use super::{Config, Store};
use error::Reason::*;
@@ -201,7 +201,7 @@ impl<P: Peer> Recv<P> {
/// Send stream level window update
pub fn send_stream_window_update<T, B>(&mut self,
streams: &mut StreamMap,
streams: &mut Store,
dst: &mut Codec<T, B>)
-> Poll<(), ConnectionError>
where T: AsyncWrite,