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::User::*;
@@ -125,7 +125,7 @@ impl<P: Peer> Send<P> {
}
/// Get pending window updates
pub fn poll_window_update(&mut self, streams: &mut StreamMap)
pub fn poll_window_update(&mut self, streams: &mut Store)
-> Poll<WindowUpdate, ConnectionError>
{
// This biases connection window updates, which probably makes sense.