Progress towards allowing large writes

This commit is contained in:
Carl Lerche
2017-08-11 16:57:51 -07:00
parent 32d4c2d5a9
commit 8a15663ed2
14 changed files with 254 additions and 108 deletions

View File

@@ -146,7 +146,7 @@ impl<B> Send<B> where B: Buf {
pub fn poll_complete<T>(&mut self,
store: &mut Store<B>,
dst: &mut Codec<T, B>)
dst: &mut Codec<T, Prioritized<B>>)
-> Poll<(), ConnectionError>
where T: AsyncWrite,
{
@@ -316,6 +316,8 @@ impl<B> Send<B> where B: Buf {
} else {
stream.unadvertised_send_window -= dec;
}
unimplemented!();
}
});
} else if val > old_val {